All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edits.seer.internal.rules.IFN4010.xml Maven / Gradle / Ivy

        <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'].contains(line.schemaId)) {
    if (line.schemaId != '09724')
        return line.brainMolecularMarkers == null && line.chromosome1pLossHeterozygosity == null && line.chromosome19qLossHeterozygosity == null && line.methylationOfO6MGMT == null
    else
        return line.chromosome1pLossHeterozygosity == null && line.chromosome19qLossHeterozygosity == null && line.methylationOfO6MGMT == 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]]></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>
            </history>
        </rule>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy