edits.seer.internal.rules.IFN4011.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of validation-edits-seer Show documentation
Show all versions of validation-edits-seer Show documentation
Java implemenation of the SEER edits.
<rule id="IFN4011" name="SSDI for Lymphoma, Blank for Other Schemas (NAACCR)" tag="N4011" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.schemaId == null) return true if (line.schemaId != '00790' && line.schemaId != '00795' && (line.bSymptoms != null || line.hivStatus != null || line.nccnInternationalPrognosticIndex != null)) return false if (line.schemaId != '00795' && (line.adenopathy != null || line.anemia != null || line.derivedRaiStage != null || line.lymphocytosis != null || line.organomegaly != null || line.thrombocytopenia != null)) return false return true]]></expression> <message>Conflict between schema and coded SSDI items for Lymphoma</message> <description><![CDATA[This edit verifies that Site-Specific Data Items that are defined for Lymphoma (Schema ID 00790) and Lymphoma CLL/SLL (Schema ID 00795) are blank (not coded) for all other schemas. This edit is skipped for any of the following conditions: a.Date of Diagnosis is before 2018, blank, invalid. b.Schema ID is blank. If Schema ID is not 00790 (Lymphoma) and 00795 (Lymphoma, CLL/SLL), the following Site-Specific Data Items must be blank: B Symptoms HIV Status NCCN International Prognostic Index (IPI) If Schema ID is not 00795 (Lymphoma,CLL/SLL), the following Site-Specific Data Items must be blank: Adenopathy Anemia Derived Rai Stage Lymphocytosis Organomegaly Thrombocytopenia]]></description> <history> <event version="SE18-018-04" user="kirbyk" date="2018-08-01" ref="67828">Edit Created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> <event version="SE22-022-01" user="secristc" date="2022-01-21" ref="68863">Added logic for Derived Rai Stage.</event> </history> </rule>