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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF213" name="CS Lymph Nodes Eval, Lymph Nodes, Breast Schema (CS)" tag="N1025" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Lymph_Nodes,CS_Reg_Node_Eval,Histologic_Type_ICD-O-3,Primary_Site">
            <expression><![CDATA[if (line.csLymphNodesEval == null || line.csLymphNodes == null || line.behaviorCodeIcdO3 == '0' ||
    line.behaviorCodeIcdO3 == '1')
   return true

if (line._csSchemaId == 'breast') {
   if (Functions.matches(line.csLymphNodes, /^25[57]|510|610|735|810$/))
      return Functions.matches(line.csLymphNodesEval, /^[0159]$/)
   if (Functions.matches(line.csLymphNodes, /^050|130|15[05]|25[08]|520|620|7[123]0|815$/))
      return Functions.matches(line.csLymphNodesEval, /^[2368]$/)
}

return true]]></expression>
            <message>CS Lymph Nodes Eval, Lymph Nodes and Breast Schema conflict</message>
            <description><![CDATA[The purpose of this edit is to verify that, for cases coded using the
Breast schema, that CS Lymph Nodes and CS Lymph Nodes Eval are coded
consistently per Note 6 under CS Lymph Nodes:

"Note 6: For the breast schema, the choice of the N category is dependent
on the CS Lymph Nodes Eval field. There are certain CS Lymph Nodes codes
that can only be used if the nodes are evaluated clinically (CS Lymph
Nodes Eval is coded 0, 1, 5, or 9), which will be designated as "Evaluated
clinically:" at the beginning of the code description. Similarly, there
are certain CS Lymph Nodes codes that can only be used if the nodes are
evaluated pathologically (CS Lymph Nodes Eval is coded 2, 3, 6, or 8), and
these will be designated as "Evaluated pathologically:". All other codes
can be used for clinical or pathologic evaluation"

This edit is skipped if any of the following conditions are true:
1.  CS Lymph Nodes is empty.
2.  CS Lymph Nodes Eval is empty.
3.  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 Breast Schema:

1. If CS Lymph Nodes = 255, 257, 510, 610, 735, or 810, then CS Lymph
   Nodes Eval must =  0, 1, 5, or 9.
2. If CS Lymph Nodes = 050, 130, 150, 155, 250, 258, 520, 620, 710, 720,
   730, or 815, then CS Lymph Nodes Eval must = 2, 3, 6, or 8]]></description>
            <history>
                <event version="SE11-001-23" user="greend" date="2009-01-07">This edit was created.</event>
                <event version="SE12-002-01" user="murphyr" date="2010-02-03">Extension and Lymph Node codes changed to 3 digits.  Added Lymph Node code 255.  Now using schema name.</event>
                <event version="SE12-004-01" user="murphyr" date="2011-01-21">Updated to match Note 6 which replaced note 5 in CSv2.03.02</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="SE16-016-08" user="depryf" date="2017-11-22" ref="67674">Edit syntax updated to allow pre-compilation optimization; no change in behavior.</event>
                <event version="SE18-018-02" user="schadega" date="2018-05-17" ref="67760">Name change.</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