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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN3090" name="Extranodal Extension Head and Neck Clin/Path, EOD Regional Nodes (SEER)" tag="N3090" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.eodRegionalNodes == null)
    return true

if (!Functions.matches(line.schemaId, /^00(0[689]0|07[1-7]|100|1[12][12]|13[0-3]|140)$/))
    return true

String clin = line.extranodalExtensionHeadNeckClin
String path = line.extranodalExtensionHeadNeckPath
if (clin == null || clin == '8' || path == null || path == 'X.8')
    return true

if (clin == '7' && path == 'X.7')
    return line.eodRegionalNodes == '000'
if ((clin == '0' || clin == '7') && path == '0.0' && !['00090','00100','00140'].contains(line.schemaId))
    return ['100', '200', '250', '300', '400', '800'].contains(line.eodRegionalNodes)
if (['1', '2', '4'].contains(clin) && path == 'X.7' && !['00090','00100','00140'].contains(line.schemaId))
    return line.eodRegionalNodes == '450'

return true]]></expression>
            <message>Extranodal Extension Head and Neck Clinical and Extranodal Extension Head and Neck Pathological conflict with EOD Regional Nodes.</message>
            <description><![CDATA[This edit verifies that the extranodal extension SSDIs are coded consistently
with EOD Regional Nodes for head and neck sites.

1. The edit is skipped for the following conditions:
    a. Date of Diagnosis before 2019, blank (unknown), or invalid.
    b. Schema ID is not 00060, 00071, 00072, 00073, 00074, 00075, 00076, 00077,
        00080, 00090, 00100, 00111, 00112, 00121, 00122, 00130, 00131, 00132,
        00133, 00140
    c. Either Extranodal Extension Head and Neck Clinical or Extranodal Extension
       Head and Pathological is blank or not applicable
    d. EOD Regional Nodes is blank.

2. If Extranodal Extension Head and Neck Clinical = 7 (cN0) and Extranodal
     Extension Head and Neck Pathological = X.7 (pN0),
      EOD Regional Nodes must = 000.

3.  If Extranodal Extension Head and Neck Clinical = 0 (regional nodes involved,
      ENE not present) or 7 (no nodes involved), and Extranodal Extension Head
      and Neck Pathological = 0.0 (regional nodes involved, ENE not present),
   EOD Regional Nodes must = 100, 200, 250, 300, 400 (clinical or
      pathological nodal involvement, ENE not present or unknown), or 800
      (regional nodal involvement NOS) (excluding
      Schema IDs 00090 Nasopharynx, 00100 Oropharynx p16+, 00140 Melanoma Head
      and Neck).

4. If Extranodal Extension Head and Neck Clinical = 1, 2, or 4 (clinical nodal
      involvement, ENE present), and Extranodal Extension Head and Neck
      Pathological = X.7 (no nodal involvement),
      EOD Regional Nodes must = 450 (clinical nodal involvement, overt ENE)
      (excluding Schema IDs 00090 Nasopharynx, 00100 Oropharynx p16+, 00140 Melanoma
      Head and Neck).]]></description>
            <history>
                <event version="SE18-019-02" user="kirbyk" date="2019-05-14" ref="68146">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>
                <event version="SE18-020-02" user="beverung" date="2020-03-27" ref="68317">Removed 00130 from exclusion list in step 4.</event>
                <event version="SE18-020-05" user="beverung" date="2020-07-24" ref="68387">Add code 4.</event>
                <event version="SE22-022-03" user="beverung" date="2022-04-27" ref="68947">Update edit name and remove CoC Accredited Flag.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy