edits.seer.internal.rules.IF211.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="IF211" name="CS TS/Ext Eval, Surgery, Bladder Schema (CS)" tag="N1027" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Extension,CS_Tumor_Size_Ext_Eval,Histologic_Type_ICD-O-3,Primary_Site,RX_Summ--Surg_Prim_Site"> <expression><![CDATA[if (line.csTumorSizeExtEval == null || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1' || line._csSchemaId != 'bladder' || !(Functions.matches(line.rxSummSurgPrimSite, /^(1\d|2[0-7])$/))) return true if (Functions.matches(line.csExtension, /^(7\d\d|80[012345])$/)) return !(Functions.matches(line.csTumorSizeExtEval, /^[568]$/)) return !(Functions.matches(line.csTumorSizeExtEval, /^[3568]$/))]]></expression> <message>CS TS/Ext Eval, Surgery and Bladder Schema conflict</message> <description><![CDATA[The purpose of this edit is to verify that, for cases coded using the CS Bladder schema, the CS Tumor Size/Ext Eval code is correct for surgeries which do not meet the pathologic staging criteria. This edit is skipped if any of the following conditions are true: 1. CS Tumor Size/Ext Eval is empty. 2. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline). For cases using the CS Bladder schema: If RX Summ-Surg Prim Site = 10-27 and CS Extension = 700-805, then the CS Tumor Size/Ext Eval must not = 5, 6, or 8. If RX Summ-Surg Prim Site = 10-27 and CS Extension not = 700-805, then CS Tumor Size/Ext Eval must not = 3, 5, 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-03-10">This edit now uses CS Schema name.</event> <event version="SE12-007-01" user="murphyr" date="2012-03-13" ref="66692">Added CS Extension check</event> <event version="SE13-009-01" user="murphyr" date="2012-12-21" ref="66789">Added logic: If RX Summ-Surg Prim Site = 10-27 and CS Extension not = 700-805, then CS Tumor Size/Ext Eval must not = 3, 5, 6 or 8.</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-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> </history> </rule>