edits.seer.internal.rules.IFN6077.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="IFN6077" name="SSDIs, Benign Brain and CNS (NAACCR)" tag="N6077" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || !['00721','00722','09721','09722'].contains(line.schemaId) || line.behaviorCodeIcdO3 == null) return true String behav = line.behaviorCodeIcdO3 String chrom1p = line.chromosome1pLossHeterozygosity String chrom19q = line.chromosome19qLossHeterozygosity String methylation = line.methylationOfO6MGMT if (chrom1p == '6' && behav != '0' && behav != '1') return false if (chrom19q == '6' && behav != '0' && behav != '1') return false if (methylation == '6' && behav != '0' && behav != '1') return false if (behav == '0' || behav == '1') { if (chrom1p != '6' && chrom1p != '8' && chrom1p != null) return false if (chrom19q != '6' && chrom19q!= '8' && chrom19q != null) return false if (methylation != '6' && methylation!= '8' && methylation != null) return false } return true]]></expression> <message>Chromosome 1p: Loss of Heterozygosity (LOH) conflicts with Behavior Code ICD-O-3</message> <description><![CDATA[This edit verifies that SSDIs for Brain and CNS are coded consistently with Behavior ICD-O-3 codes 0 and 1 (benign and borderline). 1. The edit is skipped for the following conditions: a. Diagnosis date is less than 2019, blank (unknown), or invalid. b. Behavior Code ICD-O-3 is blank. c. Schema ID not = 00721, 00722, 09721, 09722 3. If Chromosome 1p: Loss of Heterozygosity (LOH) is coded 6 (Benign or borderline tumor), Behavior Code ICD-O-3 must = 0 (benign) or 1 (borderline). 4. If Chromosome 19q: Loss of Heterozygosity (LOH) is coded 6 (Benign or borderline tumor), Behavior Code ICD-O-3 must = 0 (benign) or 1 (borderline). 5. If Methylation of O6-Methylguanine-Methyltransferase is coded 6 (Benign or borderline tumor), Behavior Code ICD-O-3 must = 0 (benign) or 1 (borderline). 6. If Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline), Chromosome 1p: Loss of Heterozygosity (LOH) must be coded 6 (benign or borderline) or 8 (not applicable), or blank 7. If Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline), Chromosome 19q: Loss of Heterozygosity (LOH) must be coded 6 (benign or borderline) or 8 (not applicable), or blank 8. If Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline), Methylation of O6-Methylguanine-Methyltransferase must be coded 6 (benign or borderline) or 8 (not applicable), or blank]]></description> <history> <event version="SE18-019-02" user="kirbyk" date="2019-05-09" ref="68160">Edit created.</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="SE23-023-01" user="cooki" date="2023-02-21" ref="69150">Added skip conditions for Schema IDs 09721 and 09722.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy