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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN3954" name="Ipsilateral Adrenal Gland Involvement, Kidney, EOD Tumor, Mets (SEER)" tag="N3954" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.schemaId != '00600')
    return true

String ipsilateral = line.ipsilateralAdrenalGlandInvolve
if (ipsilateral == null || ipsilateral == '8')
    return true

if (ipsilateral == '1')
    return Functions.matches(line.eodPrimaryTumor, /^6\d\d|700|999$/)
else if (ipsilateral == '2' || ipsilateral == '3')
    return line.eodMets == '70'

return true]]></expression>
            <message>Ipsilateral Adrenal Gland Involvement conflicts with EOD Primary Tumor</message>
            <description><![CDATA[This edit verifies that the Ipsilateral Adrenal Gland Involvement SSDI is coded
consistently with EOD Primary Tumor and EOD Mets.

1. The edit is skipped for the following conditions:
    a. Date of Diagnosis before 2019, blank (unknown), or invalid.
    b. Schema ID is not 00600.
    c. Ipsilateral Adrenal Gland Involvement is blank or 8 (not applicable).

3. If Ipsilateral Adrenal Gland Involvement = 1 (contiguous involvement),
   then EOD Primary Tumor must = 600-700 (ipsilateral adrenal gland involvement
   or higher) or 999 (unknown extension)

4. If Ipsilateral Adrenal Gland Involvement = 2 or 3 (discontiguous
   involvement),
   then EOD Mets must = 70 (noncontiguous involvement).]]></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>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy