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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN6107" name="Extranodal Extension Head and Neck Path, Head/Neck, Reg Nodes Positive (NAACCR)" tag="N6107" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.extranodalExtensionHeadNeckPath == 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

if (line.regionalNodesPositive == null || line.typeOfReportingSource == '7')
    return true

if (Functions.matches(line.extranodalExtensionHeadNeckPath, /^\d\.\d|X\.[1-4]$/) && (line.regionalNodesPositive == '00' || line.regionalNodesPositive == '98'))
    return false

if (line.regionalNodesPositive == '00' && line.extranodalExtensionHeadNeckPath != 'X.7' && line.extranodalExtensionHeadNeckPath != 'X.9')
    return false
    
if (line.regionalNodesPositive == '98' && line.extranodalExtensionHeadNeckPath != 'X.9')
    return false

return true]]></expression>
            <message>Extranodal Extension Head and Neck Pathological conflicts with Regional Nodes Positive.</message>
            <description><![CDATA[This edit verifies consistent coding between Extranodal Extension Head and Neck
Pathological and Regional Nodes Positive.

1. The edit is skipped for any of the following conditions:
   a. Date of Diagnosis is pre-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. Extranodal Extension Head and Neck Pathological is blank
   d. Regional Nodes Positive is blank
   e. Type of Reporting Source = 7 (Death Certificate Only)

2. If Extranodal Extension Head and Neck Pathological = 0.0, 0.1-9.9, X.1-X.4
   (positive nodal involvement), Regional Nodes Positive must not = 00 or 98.

3. If Regional Nodes Positive = 00, Extranodal Extension Head and Neck
   Pathological must = X.7 (surgically resected regional lymph nodes negative
   for cancer) or X.9 (no surgical resection of lymph nodes) .

4. If Regional Nodes Positive = 98, Extranodal  Extension Head and Neck Pathological
   must = X.9 (no surgical resection of regional lymph nodes)]]></description>
            <history>
                <event version="SE18-019-01" user="kirbyk" date="2019-03-29" ref="68158">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="68318">Removed schema 00140 from skip conditions.</event>
                <event version="SE18-020-05" user="beverung" date="2020-07-24" ref="68390">Add schemaId 00140 to description and logic.</event>
                <event version="SE22-022-01" user="beverung" date="2022-01-20" ref="68897">Update edit name to match new NAACCR translated edit.</event>
                <event version="SE22-022-01" user="secristc" date="2022-02-18" ref="68874">Removed logic for Regional Nodes Examined, added skip condition.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy