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

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

The newest version!
        <rule id="IF456" name="CS Lymph Nodes, Lymph Nodes Eval, RNP (CS)" tag="N1803" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Lymph_Nodes,CS_Reg_Node_Eval">
            <expression><![CDATA[if (line.csLymphNodes == null || line.csLymphNodesEval == null || line.regionalNodesPositive == null ||
    line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1' || Functions.asInt(line.dateOfDiagnosisYear) < 2010)
    return true

if (line._csSchemaId == 'lymphoma_ocular_adnexa' || line._csSchemaId == 'retinoblastoma' ||
    line._csSchemaId == 'melanoma_skin' || line._csSchemaId == 'merkel_cell_penis' ||
    line._csSchemaId == 'merkel_cell_scrotum' || line._csSchemaId == 'merkel_cell_skin' ||
    line._csSchemaId == 'merkel_cell_vulva')
    return true

if (line._csSchemaId == 'breast' && line.csLymphNodes == '050')
    return true

if (line._csSchemaId == 'esophagus_gejunction' && line.csLymphNodes == '100')
    return true

if (line._csSchemaId == 'stomach' && (line.csLymphNodes == '100' || line.csLymphNodes == '110'))
    return true

if (line._csSchemaId == 'colon' && line.csLymphNodes == '050')
    return true

if (line._csSchemaId == 'rectum' && line.csLymphNodes == '050')
    return true

if ((line._csSchemaId == 'net_stomach' || line._csSchemaId == 'net_colon' || line._csSchemaId == 'net_rectum') && (line.csLymphNodes == '050' || line.csLymphNodes == '100'))
    return true

if ((line._csSchemaId == 'gist_appendix' || line._csSchemaId == 'gist_stomach') && (line.csLymphNodes == '050' || line.csLymphNodes == '100'))
    return true

if ((line._csSchemaId == 'gist_colon' || line._csSchemaId == 'gist_rectum') && (line.csLymphNodes == '050' || line.csLymphNodes == '100'))
    return true

if (line.csLymphNodes != '000' && line.csLymphNodes != '999' &&
    (line.csLymphNodesEval == '3' || line.csLymphNodesEval == '6'))
    return line.regionalNodesPositive != '00' && line.regionalNodesPositive != '98'

return true]]></expression>
            <message>CS Lymph Nodes and Lymph Nodes Eval conflict</message>
            <description><![CDATA[This edit is skipped if any of the following conditions are true:
1. Year of Date of Diagnosis is less than 2010
2. CS Lymph Nodes is blank
3. CS Lymph Nodes Eval is blank
4. Regional Nodes Positive is blank
5. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline)
6. CS schema is invalid

This edit is skipped for the following schemas where something other than regional nodes is also coded in CS Lymph Nodes:
  LymphomaOcularAdnexa - distant nodes also coded in CS Lymph Nodes
  Retinoblastoma - distant nodes also coded in CS Lymph Nodes
  MelanomaSkin - satellite nodules also coded in CS Lymph Nodes
  MerkelCellPenis - satellite nodules also coded in CS Lymph Nodes
  MerkelCellScrotum - satellite nodules also coded in CS Lymph Nodes
  MerkelCellSkin - satellite nodules also coded in CS Lymph Nodes
  MerkelCellVulva - satellite nodules also coded in CS Lymph Nodes

This edit is also skipped for the following schemas for certain CS Lymph Nodes codes that indicate something other than regional nodes is coded in CS Lymph Nodes:
  Breast and CS Lymph Nodes = 050 (individual tumor cells coded in CS Lymph Nodes)
  EsophagusGEJunction and CS Lymph Nodes = 100 (tumor deposits coded in CS Lymph Nodes)
  Stomach and CS Lymph Nodes = 100 or 110 (tumor deposits coded in CS Lymph Nodes)
  Colon and CS Lymph Nodes = 050 (tumor deposits coded in CS Lymph Nodes)
  Rectum and CS Lymph Nodes = 050 (tumor deposits coded in CS Lymph Nodes)
  NETStomach and CS Lymph Nodes = 050 or 100 (nodules in perigastric fat coded in CS Lymph Nodes)
  NETColon and CS Lymph Nodes = 050 or 100 (nodules in pericolic fat coded in CS Lymph Nodes)
  NETRectum and CS Lymph Nodes = 050 or 100 (nodules in perirectal fat coded in CS Lymph Nodes)
  GISTAppendix and CS Lymph Nodes = 050 or 100 (nodules in pericolic fat coded in CS Lymph Nodes)
  GISTStomach and CS Lymph Nodes = 050 or 100 (nodules in perigastric fat coded in CS Lymph Nodes)
  GISTColon and CS Lymph Nodes = 050 or 100 (nodules in pericolic fat coded in CS Lymph Nodes)
  GISTRectum and CS Lymph Nodes = 050 or 100 (nodules in perirectal fat coded in CS Lymph Nodes)

If CS Lymph Nodes is not = 000 (no regional lymph node involvement)
     or 999 (unknown)
AND CS Lymph Nodes Eval = 3 or 6 (codes indicating pathologic eval)
THEN
    Regional Nodes Positive must not = 00 (all nodes examined negative) or
     98 (no nodes examined)

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.]]></description>
            <history>
                <event version="SE13-010-01" user="murphyr" date="2013-05-09" ref="66880">Edit created.</event>
                <event version="SE13-010-03" user="murphyr" date="2013-08-05" ref="66916">Disabled edit for now.</event>
                <event version="SE14-011-01" user="murphyr" date="2013-10-24" ref="66992">Re-enabled edit.  Added skip condition for cases diagnosed before 2010.</event>
                <event version="SE15-013-01" user="kirbyk" date="2015-01-16" ref="67190">Added NetStomach, NetColon, NetRectum, GISTAppendix, GISTStomach, GISTColon, GISTRectum schemas to skip for CS Lymph Node codes 050 and 100.</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