edits.seer.internal.rules.IF201.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of validation-edits-seer Show documentation
Show all versions of validation-edits-seer Show documentation
Java implemenation of the SEER edits.
<rule id="IF201" name="CS Lymph Nodes Eval, Nodes Ex (CS)" tag="N1950" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Reg_Node_Eval,Histologic_Type_ICD-O-3,Primary_Site,Regional_Nodes_Examined"> <expression><![CDATA[if (line.csLymphNodesEval == null || line.regionalNodesExamined == null || line._csSchemaId == null || ((line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1') && !['brain','cns_other','intracranial_gland'].contains(line._csSchemaId))) return true if(['appendix','carcinoid_appendix','colon','gist_appendix','gist_colon', 'gist_rectum','lymphoma_ocular_adnexa','melanoma_skin','merkel_cell_skin', 'merkel_cell_penis','merkel_cell_vulva','merkel_cell_scrotum','net_colon','net_rectum','rectum','retinoblastoma'].contains(line._csSchemaId)) return true if ((line.csLymphNodesEval == '3' || line.csLymphNodesEval == '5' || line.csLymphNodesEval == '6') && line.regionalNodesExamined == '00') return false return true]]></expression> <message>CS Reg Nodes Eval, RX Summ--Scope Reg LN Sur, and Regional Nodes Examined conflict</message> <description><![CDATA[This edit is skipped if any of the following conditions are true: 1. CS Lymph Nodes Eval is blank 2. Regional Nodes Examined is blank 3. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline) and schema is not Brain, CNSOther, or IntracranialGland. 4. CS schema is invalid 5. CS schema is Appendix, CarcinoidAppendix, Colon, GISTAppendix, GISTColon, GISTRectum, LymphomaOcularAdnexa, MelanomaSkin, MerkelCellSkin, MerkelCellPenis, MerkelCellVulva, MerkelCellScrotum, NetColon, NETRectum,Rectum, Retinoblastoma If CS Lymph Nodes Eval = 3, 5, or 6, then Regional Nodes Examined must not = 00 (No nodes were examined). Note: CS Lymph Nodes Eval code 3 = Regional lymph nodes removed for examination (removal of at least 1 lymph node) WITHOUT pre-surgical systemic treatment or radiation OR lymph nodes removed for examination, unknown if pre-surgical systemic treatment or radiation performed. CS Lymph Nodes Eval code 5 = Regional lymph nodes removed for examination WITH pre-surgical systemic treatment or radiation, BUT lymph node evaluation based on clinical evidence. CS Lymph Nodes Eval code 6 = Regional lymph nodes removed for examination WITH pre-surgical systemic treatment or radiation, and lymph node evaluation based on pathologic evidence.]]></description> <history> <event version="SE11-001-22" user="greend" date="2008-07-30">This edit is skipped if Histologic Type ICD-O-3 is 9140,9590-9699, 9702-9729,9731-9989.</event> <event version="SE12-002-01" user="murphyr" date="2010-03-24">Edit now using CS Schema name</event> <event version="SE12-002-04" user="murphyr" date="2010-07-29">Edit now passes if CS schema is not found.</event> <event version="SE12-005-02" user="murphyr" date="2011-09-13" ref="66514">Fixed misspelling of schema LymphomaOcularAdnexa</event> <event version="SE14-012-02" user="depryf" date="2014-07-23" ref="67088">Removed references to RX Summ Scope Reg Ln Sur</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>