edits.seer.internal.rules.IFN3998.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="IFN3998" name="SSDI for Lung & Pleura, Blank for Other Schemas (NAACCR)" tag="N3998" 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 boolean ssdisAreBlank = line.separateTumorNodules == null && line.visceralParietalPleuralInvasion == null && line.alkRearrangement == null && line.egfrMutationalAnalysis == null if (line.schemaId != '00360' && !ssdisAreBlank) return false if (line.schemaId != '00370' && line.pleuralEffusion != null) return false return true]]></expression> <message>Conflict between schema and coded SSDI items for Lung & Pluera</message> <description><![CDATA[This edit verifies that Site-Specific Data Items that are defined for Lung (Schema ID 00360) and Pleural Mesothelioma (Schema ID 00370) 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 00360 (Lung), the following Site-Specific Data Items must be blank: ALK Rearrangement EGFR Mutational Analysis Separate Tumor Nodules Visceral and Parietal Pleural Invasion If Schema ID is not 00370 (Pleural Mesothelioma), the following Site-Specific Data Item must be blank: Pleural Effusion]]></description> <history> <event version="SE18-018-04" user="kirbyk" date="2018-08-01" ref="67856">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> <event version="SE18-020-05" user="kirbyk" date="2020-08-05" ref="68466">Added new SSDIs from NAACCR 21.</event> </history> </rule>