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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF264" name="CS SSF 4, LymphNodes, NodesPos, ColoRectal (CS)" tag="N1059" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Lymph_Nodes,CS_Site-Specific_Factor_25,CS_Site-Specific_Factor_4,Histologic_Type_ICD-O-3,Primary_Site,Regional_Nodes_Positive">
            <expression><![CDATA[if (line.csSiteSpecificFactor4 == null || line.csLymphNodes == null || line.regionalNodesPositive == 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 (((line.csSiteSpecificFactor4 >= '001' && line.csSiteSpecificFactor4 <= '081') || line.csSiteSpecificFactor4 == '990') && line.regionalNodesPositive >= '01' && line.regionalNodesPositive <= '97' && line.csLymphNodes == '050')
        return false
    if (line.csLymphNodes == '050' && line.csSiteSpecificFactor4 == '000')
        return false
}

return true]]></expression>
            <message>CS SSF4, CS Lymph nodes, Reg Pos Nodes conflict for ColoAppRectal</message>
            <description><![CDATA[This edit verifies that for cases coded using the Colon or Rectum
    schemas, the following Table Note from CS Lymph Nodes is enforced:  "If there
    are tumor deposits and node involvement, code the information on node
    involvement. That is, do not use code 050."

    This edit is skipped if any of the following conditions are true:
    1. CS Site-Specific Factor 4 is blank
    2. CS Lymph Nodes is blank
    3. Regional Nodes Positive is blank
    4. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline)

    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 using the Colon or Rectum schemas:

    If CS Site-Specific Factor 4 (tumor deposits) = 001-081, 990 (tumor deposits are
    present) and Regional Nodes Positive = 01 - 97 (nodes are removed and are
    positive), then CS Lymph Nodes must not = 050 (tumor deposits without regional
    metastasis).

    If CS Site-Specific Factor 4 (tumor deposits) = 000 (no tumor deposits), then CS
    Lymph Nodes must not = 050 (tumor deposits without regional metastasis).

    If CS Lymph Nodes = 050 (tumor deposits without regional metastasis), then CS
    Site-Specific Factor 4 must not = 000 (no tumor deposits).]]></description>
            <history>
                <event version="SE12-002-01" user="murphyr" date="2010-02-03">Edit created.</event>
                <event version="SE12-004-01" user="murphyr" date="2011-02-11">Removed check for Appendix.</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