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

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

The newest version!
        <rule id="IFN2987" name="EOD2018, Date of Diagnosis (SEER)" tag="N2987" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || (line.dateOfDiagnosisYear == '2018' && line.registryId == '0000001563'))
    return true
if ('0000001565' == line.registryId && line.dateOfDiagnosisYear > '2017' && line.dateOfDiagnosisYear < '2023')
    return true
if ('0000001566' == line.registryId && line.dateOfDiagnosisYear > '2017' && line.dateOfDiagnosisYear < '2022')
    return true
if (line.dateOfDiagnosisYear < '2018')
    return line.eodPrimaryTumor == null && line.eodRegionalNodes == null && line.eodMets == null
else
    return line.eodPrimaryTumor != null && line.eodRegionalNodes != null && line.eodMets != null

return true]]></expression>
            <message>EOD Primary Tumor, EOD Regional Nodes, and EOD Mets conflict with Date DX</message>
            <description><![CDATA[This edit is skipped if Date of Diagnosis is blank (unknown) or invalid.
This edit is also skipped for Massachusetts (0000001563) for Date of Diagnosis Year = 2018.
This edit is also skipped if Date of Diagnosis is 2018-2022 and Registry ID = 0000001565 (Illinois)
This edit is also skipped if Date of Diagnosis is 2018-2021 and Registry ID = 0000001566 (Texas)

The edit checks that EOD Primary Tumor, EOD Regional Nodes, and EOD Mets are
blank for pre-2018 diagnoses and are coded for 2018 and later diagnoses.

Another edit, Primary Site, Histology, Behavior, Schema ID (NAACCR), checks that
the Schema ID is assigned correctly by primary site, histology, and behavior for
2018+ diagnoses.]]></description>
            <history>
                <event version="SE18-018-03" user="kirbyk" date="2018-07-12" ref="67929">Edit created.</event>
                <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event>
                <event version="SE18-020-05" user="kirbyk" date="2020-08-19" ref="68511">Edit is now skipped for MA for DX year = 2018.</event>
                <event version="SE21-021-07" user="kirbyk" date="2021-07-20" ref="68692">Added skip condition for IL and TX cases diagnosed 2018-2020.</event>
                <event version="SE22-022-04" user="secristc" date="2022-05-03" ref="68987">Updated skip condition for IL cases diagnosed 2018-2022, for TX cases diagnosed 2018-2021.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy