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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF129" name="CS Lymph Nodes, SSF 4, 5, Breast Schema (CS)" tag="N0704" 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,CS_Site-Specific_Factor_5,Histologic_Type_ICD-O-3,Primary_Site">
            <expression><![CDATA[if (line.csLymphNodes == null || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1')
   return true

if (line._csSchemaId != 'breast')
    return true

if (line.csLymphNodes == '000' && (line.csSiteSpecificFactor4 == '987' || line.csSiteSpecificFactor5 == '987'))
   return false

if (line.csLymphNodes != '000')
    return ((line.csSiteSpecificFactor4 == null || line.csSiteSpecificFactor4 == '987' || line.csSiteSpecificFactor4 == '988') &&
            (line.csSiteSpecificFactor5 == null || line.csSiteSpecificFactor5 == '987' || line.csSiteSpecificFactor5 == '988'))

return true]]></expression>
            <message>Conflict among Site, CS Lymph Nodes, and CS Site-Specific Factors</message>
            <description><![CDATA[This edit is skipped if any of the following conditions are true:
    1. CS Lymph Nodes is empty
    2. 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.

    If CS schema is Breast:

    If CS Lymph Nodes = 000, then both CS Site-Specific Factor 4 and
    CS Site-Specific Factor 5 must not = 987 (not applicable; CS Lymph
    Nodes not coded 000)

    If CS Lymph Nodes not = 000, then both CS Site-Specific Factor 4
    and CS Site-Specific Factor 5, IF NOT BLANK, must = 987 or 988
    (not applicable: information not collected for this case)]]></description>
            <history>
                <event version="SE11-001-18" user="greend" date="2004-07-29">The statement &quot;If CS Lymph Nodes[2830]=25,26,28,50,60,71,72,73, then CS Site-Specific Factor 3[2900] must = 001-997&quot; was removed.</event>
                <event version="SE11-001-18" user="greend" date="2004-09-15">Removed &apos;05&apos; as a condition from the first statement.  Added the following logic: If CS Lymph Nodes[2830] not = 00, then CS Site Specific Facter 4[2910] and CS Site Specific Factor 5[2920] must both equal 888.</event>
                <event version="SE11-001-19" user="greend" date="2005-05-11">Edit modified to not force 888 if CS Site-Specific Factor 4 or 5 is blank.</event>
                <event version="SE11-001-22" user="greend" date="2007-12-15">This edit is now skipped if Behavior Code ICD-O-3 [523] = 0 (benign) or 1 (borderline).</event>
                <event version="SE12-002-01" user="murphyr" date="2010-01-07">Histology range changed, added a zero to every lymph node number.</event>
                <event version="SE12-002-01" user="murphyr" date="2010-02-02">Edit now uses a schema name from the CS dll instead of using site.</event>
                <event version="SE12-002-04" user="murphyr" date="2010-09-07">Added code &apos;050&apos; to 3rd condition.</event>
                <event version="SE12-004-01" user="murphyr" date="2011-01-21">Changed edit name.  Removed &apos;if SSF3 = 001-097,then lymph nodes must not = 000,740,or 770&apos;.  Chnaged &apos;if lymph nodes does not equal 000 and does not equal 050...&apos; statement to &apos;if lymph nodes does not = 000, then both SSF4 and SSF5 must = 987 or 988&apos;.</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