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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN6162" name="EOD Primary Tumor, Lung, Primary Site (SEER)" tag="N6162" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.eodPrimaryTumor == null)
    return true
if (line.typeOfReportingSource == '7' || line.schemaId == null || line.schemaId != '00360' || line.primarySite == null)
    return true

return line.eodPrimaryTumor != '600' || ['C340','C348','C349'].contains(line.primarySite)]]></expression>
            <message>EOD Primary Tumor conflicts with Primary Site</message>
            <description><![CDATA[This edit verifies that EOD Primary Tumor is coded consistently with Primary
Site of carina for Schema ID 00360, Lung.

1. The edit is skipped for the following conditions:
    a. Date of Diagnosis before 2021, blank (unknown), or invalid.
    b. Schema ID is blank or not 00360
    d. EOD Primary Tumor is blank
    e. Primary Site is blank
    f. Type of Reporting Source is 7 (Death Certificate Only)


2. If EOD Primary Tumor = 600 (Tumor limited to carina),
   then Primary Site must = C340, C348, or C349]]></description>
            <history>
                <event version="SE21-021-04" user="beverung" date="2021-03-25" ref="68606">Edit created.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy