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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF265" name="CS SSF 5, RX Summ--Surg, ColoRectal (CS)" tag="N1118" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Site-Specific_Factor_25,CS_Site-Specific_Factor_5,Histologic_Type_ICD-O-3,Primary_Site,RX_Summ--Surg_Prim_Site">
            <expression><![CDATA[if (line.csSiteSpecificFactor5 == null || line.csSiteSpecificFactor5 == '988' || line.rxSummSurgPrimSite == null || line.histologicTypeIcdO3 == null || line.primarySite == null)
    return true
if (line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1')
    return true

if (line._csSchemaId == 'colon' || line._csSchemaId == 'rectum') {
    if (['000','010','020','030'].contains(line.csSiteSpecificFactor5) && (line.rxSummSurgPrimSite == '00' || line.rxSummSurgPrimSite == '99'))
        return false
}

return true]]></expression>
            <message>CS SSF5 and RX Summ--surg prim site conflict for ColoRectal</message>
            <description><![CDATA[This edit verifies that for cases coded using the Colon or Rectum schemas, CS Site-Specific Factor 5 (Tumor Regression Grade) and RX Summ--Surg Prim Site are coded consistently.

This edit is skipped if any of the following conditions are true:
1. CS Site-Specific Factor 5 is blank or = 988
2. RX Summ--Surgery Prim Site is blank
3. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline)
4. CS schema is invalid

This edit first determines the CS schema by doing a function call to the CS Dynamic Link Library (dll). The function call passes Primary Site, Histologic Type ICD-O-3, and CS Site-Specific Factor25 (schema discriminator) to the dll and the CS schema name is returned.

For cases using the Colon or Rectum schemas:
If CS Site-specific Factor 5 = 000, 010, 020, or 030 (statement about tumor regression grade), RX Summ--Surg Prim Site must not = 00 or 99 (no surgery of primary site or unknown if surgery performed).]]></description>
            <history>
                <event version="SE12-002-01" user="murphyr" date="2010-02-03">Edit created.</event>
                <event version="SE14-011-01" user="murphyr" date="2013-11-26" ref="67054">Fixed cases using the Colong or Rectum schemas which was checking for SSF5 value of 101 instead of 010.</event>
                <event version="SE16-015-01" user="kirbyk" date="2016-05-04" ref="67370">Changed edit to use schema IDs instead of schema names</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