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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF607" name="TNM Clin T, SSF 3 Soft Tissue (COC)" tag="N2236" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Site-Specific_Factor_3,Histologic_Type_ICD-O-3,Primary_Site,TNM_Clin_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 condition 4, 5
if (line.tnmClinT == null || line.tnmClinT == '88' || line.csSiteSpecificFactor3 == null || line.csSiteSpecificFactor3 == '988')
    return true

//Skip condition 6
if (line.tnmEditionNumber != '07' && line.tnmEditionNumber != 'U7')
    return true

String siteGroup = (String)((Closure)Context.AJCC7CodeLookup16).call(line)
if (siteGroup != '028')
    return true

if (line.csSiteSpecificFactor3 == '010')
    return line.tnmClinT != 'c1A' && line.tnmClinT != 'c2A'

return true]]></expression>
            <message>TNM Clin T, SSF 3 conflict for Soft Tissue Sarcoma</message>
            <description><![CDATA[Purpose: This edit verifies that TNM Clin T is coded consistently with CS SSF 3 for Soft Tissue Sarcoma (Bone Invasion).

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
3. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline)
4. TNM Clin T is blank or 88
5. CS SSF 3 is blank or 988.
6. TNM Edition Number is not = 07, U7

For soft tissue sarcoma (028):
  If CS SSF 3 = 010 (Bone invasion present/identified on imaging), TNM Clin T must not = c1A or c2A (superficial tumor).]]></description>
            <history>
                <event version="SE16-015-01" user="kirbyk" date="2016-06-06" ref="67440">Edit created.</event>
                <event version="SE16-016-01" user="kirbyk" date="2017-01-17" ref="67591">Added skip condition for TNM Edition Number.</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>
                <event version="SE18-020-02" user="beverung" date="2020-03-27" ref="68311">Updated logic to require TNM Clin T not equal c1A/c2A.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy