edits.seer.internal.rules.IF373.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="IF373" name="CS SSF 21, TS/Ext Eval, LN Eval, Breast (CS)" tag="N1561" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Reg_Node_Eval,CS_Site-Specific_Factor_21,CS_Site-Specific_Factor_25,CS_Tumor_Size_Ext_Eval,Histologic_Type_ICD-O-3,Primary_Site"> <expression><![CDATA[if (line.csSiteSpecificFactor21 == null || line.csSiteSpecificFactor21 == '988' || line.csTumorSizeExtEval == null || line.csLymphNodesEval == null || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1' || line._csSchemaId == null) return true if (line._csSchemaId == 'breast') { if (Functions.matches(line.csSiteSpecificFactor21, /^(0[123]0)$/)) return line.csTumorSizeExtEval == '5' || line.csTumorSizeExtEval == '6' || line.csLymphNodesEval == '5' || line.csLymphNodesEval == '6' if (line.csSiteSpecificFactor21 == '987') return line.csTumorSizeExtEval != '5' && line.csTumorSizeExtEval != '6' && line.csLymphNodesEval != '5' && line.csLymphNodesEval != '6' } return true]]></expression> <message>CS SSF21, TS/Ext Eval and LN eval conflict for Breast</message> <description><![CDATA[This edit applies only to cases coded using the Breast schema. If SSF 21 (Response to Neoadjuvant Therapy) indicates the patient received neoadjuvant therapy, then either Tumor Size/Ext Eval or Lymph Nodes Eval must indicate the patient received neoadjuvant therapy. If SSF 21 indicates the patient did not receive neoadjuvant therapy, then both Tumor Size/Ext Eval and Lymph Nodes Eval must also indicate no neoadjuvant therapy. This edit is skipped if any of the following conditions are true: 1. CS Site-Specific Factor21 is blank or 988 2. CS TS/Ext Eval is blank 3. CS Lymph Nodes Eval is blank 3. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline) 4. CS schema is invalid 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: 1. If CS Site-Specific Factor21 = 010, 020, or 030 (received neoadjuvant therapy), then either CS Tumor Size/Ext Eval or CS Lymph Nodes Eval must = 5 or 6 indicating patient received neoadjuvant therapy. 2. If CS Site-Specific Factor21 = 987 (neoadjuvant therapy not given), then CS Tumor Size/Ext Eval and CS Lymph Nodes Eval must not = 5 or 6.]]></description> <history> <event version="SE12-005-01" user="murphyr" date="2011-08-03" ref="66487">Edit created.</event> <event version="SE12-008-04" user="depryf" date="2012-10-23" ref="66763">Disabled this edit. The edit is being reviewed by the Edits Committee. It will be re-activated after changes are made to the logic.</event> <event version="SE13-009-01" user="murphyr" date="2013-01-25" ref="66826">Edit name changed.</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-015-01" user="kirbyk" date="2016-06-14" ref="67469">Enabled edit.</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>