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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF581" name="TNM Path N, Reg Nodes Pos,Ex, Breast - Ed 7 (COC)" tag="N2258" java-path="lines.line" category="inter-field" depends="Histologic_Type_ICD-O-3,Primary_Site,Regional_Nodes_Examined,Regional_Nodes_Positive,TNM_Path_N,Type_of_Reporting_Source,Year_of_Diagnosis">
            <expression><![CDATA[//Skip conditions 1, 2
if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2016' || line.typeOfReportingSource == '7')
    return true

//Skip conditions 4, 5, 6
if (line.tnmPathN == null || line.tnmPathN == '88' || line.regionalNodesExamined == null || line.regionalNodesPositive == null)
    return true

//Skip conditions 7, 8
if ((line.tnmEditionNumber != '07' && line.tnmEditionNumber != 'U7') || line.tnmPathDescriptor == '4' || line.tnmPathDescriptor == '6')
    return true

//Skip condition 3
String hist = line.histologicTypeIcdO3
if (!(Functions.matches(line.primarySite, /^C50[0-689]$/)) || !((hist >= '8000' && hist <= '8576') || (hist >= '8940' && hist <= '8950') || hist == '8980' || hist == '8981' || hist == '9020'))
    return true

if (Functions.matches(line.tnmPathN, /^p0[IM][+\-]$/))
    return line.regionalNodesExamined != '00' && line.regionalNodesExamined != '99' && line.regionalNodesPositive == '00'

return true]]></expression>
            <message>TNM Path N, Reg Nodes Pos/Exam conflict for Breast</message>
            <description><![CDATA[This edit verifies that nodes are examined for "0I-", "0I+", "0M-", and "0M+ categories, and that ITCs are not considered positive nodes for breast.

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

1. Year of Date of Diagnosis is less than 2016, blank (unknown), or invalid
2. Type of Reporting Source = 7 (Death Certificate Only)
3. Site/histology group is not 032 (Breast)
4. TNM Path N is blank or 88
5. Regional Nodes Positive is blank
6. Regional Nodes Examined is blank
7. TNM Edition Number is not = 07, U7
8. TNM Path Descriptor = 4,6

For Breast (Site:C500-C506,C508-C509 Histology:8000-8576,8940-8950,8980-8981,9020)

If TNM Path N = p0I+, p0I-, p0M+, p0M-
    then Regional Nodes Examined must not = 00, 99 (no nodes examined or unknown if nodes examined)
    Regional Nodes Positive must = 00 (all nodes examined are negative)]]></description>
            <history>
                <event version="SE16-015-01" user="kirbyk" date="2016-05-19" ref="67405">Edit created.</event>
                <event version="SE16-016-01" user="kirbyk" date="2017-01-17" ref="67604">Added skip conditions for TNM Edition Number and TNM Path Descriptor.</event>
                <event version="SE16-016-08" user="depryf" date="2017-11-22" ref="67674">Edit syntax updated to allow pre-compilation optimization; no change in behavior.</event>
                <event version="SE18-018-02" user="schadega" date="2018-05-18" ref="67743">Name change.</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