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

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

The newest version!
        <rule id="IFN3052" name="Major Vein Involvement, Kidney, EOD Primary Tumor (SEER)" tag="N3052" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.schemaId != '00600' || line.eodPrimaryTumor == null)
    return true

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

if (majorVeinInvolvement == '1' || majorVeinInvolvement == '3' || majorVeinInvolvement == '4')
    return Functions.matches(line.eodPrimaryTumor, /^[2-6]\d\d|700|999$/)
else if (majorVeinInvolvement == '2')
    return Functions.matches(line.eodPrimaryTumor, /^[3-6]\d\d|700|999$/)

return true]]></expression>
            <message>Major Vein Involvement conflicts with EOD Primary Tumor.</message>
            <description><![CDATA[Purpose: This edit verifies that Major Vein Involvement SSDI is coded
consistently with EOD Primary Tumor.

1. This edit is skipped if any of the following conditions is true:

   a. Year of Date of Diagnosis is less than 2019, blank (unknown), or invalid
   b. Schema ID is not 00600
   c. Major Vein Involvement is blank or 8 (not applicable)
   d. EOD Primary Tumor is blank

2. If Major Vein Involvement = 1 (Involvement of renal vein only), 3 (Major
     vein invasion NOS), or 4 (Any combination of codes 1-3)
    then EOD Primary Tumor must = 200-700 (involvement of major blood vessels or
     higher) or 999 (unknown extension)

3. If Major Vein Involvement = 2 (Involvement of Inferior vena cava (Involvement
     of IVC)
    then EOD Primary Tumor must = 300-700 (Tumor extends into vena cava below
   diaphragm or higher) or 999 (unknown extension)]]></description>
            <history>
                <event version="SE18-019-02" user="kirbyk" date="2019-05-13" ref="68147">Edit created.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy