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

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

The newest version!
        <rule id="IF134" name="CS SSF 4, RX Summ--Surg, Testis Schema (CS)" tag="N0707" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Site-Specific_Factor_4,Histologic_Type_ICD-O-3,Primary_Site,RX_Summ--Surg_Prim_Site,Type_of_Reporting_Source">
            <expression><![CDATA[if (line.csSiteSpecificFactor4 == null || line.csSiteSpecificFactor4 == '988' || line.rxSummSurgPrimSite == null || line.typeOfReportingSource == '7' || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1')
    return true

if (line._csSchemaId == 'testis') {
    if (line.rxSummSurgPrimSite == '80' || line.rxSummSurgPrimSite == '90' || line.rxSummSurgPrimSite == '99')
        return line.csSiteSpecificFactor4 == '000' || line.csSiteSpecificFactor4 == '999'
    if (line.rxSummSurgPrimSite != '40')
        return line.csSiteSpecificFactor4 == '000'
    if (line.csSiteSpecificFactor4 == '000')
        return line.rxSummSurgPrimSite != '40'
}

return true]]></expression>
            <message>Conflict among Site, Hist ICD-O-3, RX Summ--Surg Prim Site and CS SSF4</message>
            <description><![CDATA[This edit is skipped if any of the following conditions are true:
1. Type of Reporting Source[500] = 7 (Death Certificate Only)
2. Behavior Code ICD-O-3 [523] = 0 (benign) or 1 (borderline)
3. CS Site-Specific Factor 4[2910] is blank or 988.
4. RX Summ-Surg Prim Site is blank
5. CS schema is invalid
For cases using the CS Testis schema, if there is no radical orchiectomy
coded in the surgery field, CS Site-Specific Factor 4 must also show no
radical orchiectomy done, and vice versa.

This edit first determines the correct 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 coded using the Testis schema:
    If RX Summ--Surg Prim Site = 80 (orchiectomy, NOS), 90, or 99,
    then CS Site-Specific Factor 4 must = 000 (radical orchiectomy not
    performed) or 999 (unknown if radical orchiectomy performed).

    Otherwise, if there was no radical orchiectomy (RX Summ--Surg Prim
    Site [1290] not = 40), then CS Site-Specific Factor 4 [2910] must =
    000.

    If CS Site-Specific Factor 4 [2910] = 000, then
    RX Summ--Surg Prim Site [1290] must not = 40.]]></description>
            <history>
                <event version="SE11-001-20" user="greend" date="2006-06-06">The following logic was added to the edit:
              If RX Summ--Surg Prim Site = 80 (orchiectomy, NOS),
              then CS Site-Specific Factor 4 must = 000 (radical
              orchiectomy not performed) or 999 (unknown if radical
              orchiectomy performed).</event>
                <event version="SE11-001-21" user="greend" date="2007-02-01">Edit is skipped for death certificate only cases.</event>
                <event version="SE11-001-22" user="greend" date="2007-12-15">Edit is skipped if Behavior Code ICD-O-3 [523] = 0 (benign) or 1 (borderline).</event>
                <event version="SE12-002-01" user="murphyr" date="2010-03-03">Edit is skipped if CS Site-specific Factor 4 is blank.</event>
                <event version="SE12-002-01" user="murphyr" date="2010-03-09">Edit now uses CS Schema name.</event>
                <event version="SE14-011-01" user="murphyr" date="2013-10-25" ref="67022">Added skip condition for blank RX Summ--Surg Prim Site.</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>
                <event version="SE22-022-11" user="secristc" date="2022-09-13" ref="69034">Added skip condition for CS site-specific factor 4 = 988.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy