edits.seer.internal.rules.IFN4010.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="IFN4010" name="SSDI for Brain, CNS, Blank for Other Schemas (NAACCR)" tag="N4010" 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 (!['00721','09721','00722','09722','09724'].contains(line.schemaId)) return line.brainPrimaryTumorLocation == null && line.brainMolecularMarkers == null && line.chromosome1pLossHeterozygosity == null && line.chromosome19qLossHeterozygosity == null && line.methylationOfO6MGMT == null if (!['00721','09721','00722','09722'].contains(line.schemaId)) return line.brainPrimaryTumorLocation == null && line.chromosome1pLossHeterozygosity == null && line.chromosome19qLossHeterozygosity == null && line.methylationOfO6MGMT == null if (line.schemaId != '09721') return line.brainPrimaryTumorLocation == null return true]]></expression> <message>Conflict between schema and coded SSDI items for Brain, CNS</message> <description><![CDATA[This edit verifies that Site-Specific Data Items that are defined for Brain (Schema ID 00721) and CNS Other (Schema ID 00722) 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 00721, 09721 (Brain), 00722, 09722 (CNS Other), or 09724 (Medulloblastoma), the following Site-Specific Data Item must be blank: Brain Molecular Markers If Schema ID is not 00721, 09721 (Brain), or 00722, 09722 (CNS Other), the following Site-Specific Data Item must be blank: Chromosome 1p: Loss of Heterozygosity (LOH) Chromosome 19q: Loss of Heterozygosity (LOH) Methylation of O6-Methylguanine-Methyltransferase If Schema ID is not 09721, the following Site-Specific Data Item must be blank: Brain Primary Tumor Location]]></description> <history> <event version="SE18-018-02" user="kirbyk" date="2018-06-13" ref="67810">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="SE21-021-03" user="kirbyk" date="2021-03-09" ref="68568">Edit name changed.</event> <event version="SE23-023-01" user="cooki" date="2023-02-21" ref="69149">Updated logic for new Schema IDs 09721, 09722, and 09724.</event> <event version="SE24-024-03" user="cooki" date="2024-03-15" ref="69419">Added Brain Primary Tumor Location condition.</event> </history> </rule>