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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF597" name="TNM T, SSF 6 Breast (COC)" tag="N2285" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Site-Specific_Factor_6,Histologic_Type_ICD-O-3,Primary_Site,TNM_Path_T,Type_of_Reporting_Source,Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2016' || line.typeOfReportingSource == '7' ||
    line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1')
    return true

//Skip conditions 5, 6
if (line.tnmPathT == null || line.tnmPathT == '88' || line.csSiteSpecificFactor6 == null || line.csSiteSpecificFactor6 == '988')
    return true

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

//Edit is skipped if Site/Histology group is not Breast (skip condition 4)
String hist = line.histologicTypeIcdO3
if (!(Functions.matches(line.primarySite, /^C50\d$/)) || !((hist >= '8000' && hist <= '8576') || (hist >= '8940' && hist <= '8950') || hist == '8980' || hist == '8981' || hist == '9020'))
    return true

if (line.csSiteSpecificFactor6 == '010')
    return line.tnmPathT == 'pIS'
if (line.tnmPathT == 'pIS')
    return line.csSiteSpecificFactor6 == '010'

return true]]></expression>
            <message>TNM T and SSF 6 conflict for Breast</message>
            <description><![CDATA[Purpose:  This edit checks for Primary Site of Breast that pathologic TNM T is consistent with CS SSF 6 (Size of Tumor-Invasive Component).

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. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline)
4. Site/histology group is not 032, Breast.
5. TNM Path T is blank or 88
6. CS Site-Specific Factor 6 is blank or 988
7. TNM Edition Number not = 07, U7
8. TNM Path Descriptor = 4 or 6


For Breast:

A. If CS SSF 6 = 010 (Entire tumor reported as in situ),
then TNM Path T must = pIS.

B. If TNM Path T = pIS
then CS SSF 6 must = 010]]></description>
            <history>
                <event version="SE16-015-01" user="kirbyk" date="2016-05-27" ref="67426">Edit created.</event>
                <event version="SE16-016-01" user="kirbyk" date="2017-01-18" ref="67627">Added skip conditions; removed checks for TNM Clin T.</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="kirbyk" date="2018-05-31" ref="67808">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