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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN6673" name="Esophagus and EGJ Tumor Epicenter, Esophagus, Primary Site (NAACCR)" tag="N6673" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.schemaId == null || line.schemaId != '00161')
    return true
if (line.esophagusAndEgjTumorEpicenter == null || line.typeOfReportingSource == '7')
    return true

return line.primarySite != 'C159' || line.esophagusAndEgjTumorEpicenter == '9'
]]></expression>
            <message>Site and Esophagus and EGJ Tumor Epicenter conflict for Esophagus Squamous</message>
            <description><![CDATA[This edit verifies that the Esophagus and EGJ Tumor Epicenter SSDI is coded
consistently with Primary Site C159 for Schema ID 00161, Esophagus Squamous.

1. The edit is skipped for the following conditions:
    a. Date of Diagnosis before 2018, blank (unknown), or invalid.
    b. Schema ID is blank or not 00161
    c. Esophagus and EGJ Tumor Epicenter is blank
    d. Type of Reporting Source is 7 (Death Certificate Only)



2. If Primary Site = C159 (Esophagus NOS),
    then Esophagus and EGJ Tumor Epicenter must = 9 (Esophagus NOS, Specific
    location of Esophagus and EGJ Tumor Epicenter not documented)]]></description>
            <history>
                <event version="SE22-022-03" user="beverung" date="2022-04-12" ref="68935">Add edit.</event>
                <event version="SE22-022-08" user="secristc" date="2022-06-23" ref="69011">Updated error message.</event>
                <event version="SE23-023-01" user="cooki" date="2023-02-22" ref="69163">Changed skip condition to pre-2018.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy