edits.seer.internal.rules.IF498.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="IF498" name="CS SSF 2, Lymph Nodes, PeritoneumFemaleGen (CS)" tag="N1901" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Lymph_Nodes,CS_Site-Specific_Factor_2,CS_Version_Input_Original"> <expression><![CDATA[if (Functions.asInt(line.csVersionInputOriginal) < 20500 || line.csLymphNodes == null || line.csSiteSpecificFactor2 == null || line.csSiteSpecificFactor2 == '988' || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1') return true if (line._csSchemaId == 'peritoneum_female_gen' && line.csLymphNodes != '000' && line.csLymphNodes != '999') return !(['100','110','120','130','200','210','220','230','310','320'].contains(line.csSiteSpecificFactor2)) return true]]></expression> <message>Conflict among PeritoneumFemaleGen Schema, CS Lymph Nodes, and CS SSF2</message> <description><![CDATA[The purpose of this edit is to verify that the CS Site-Specific Factor 2 (FIGO Stage) and CS Lymph Nodes are coded consistently for PeritoneumFemaleGen cases that are originally coded using CSv02.05 or higher. This edit is skipped if any of the following conditions are true: 1. CS Version Input Original is less than 020500 2. CS schema is not PeritoneumFemaleGen 3. CS Site-Specific Factor 2 is blank or 988 4. CS Lymph Nodes is blank 5. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline) If schema is PeritoneumFemaleGen: If CS Lymph Nodes not = 000 (no regional lymph nodes involvement) or 999 (unknown) then CS Site-Specific Factor 2 must not = 100, 110, 120, 130, 200, 210, 220, 230, 310, or 320 (codes indicating FIGO Stage I, II, IIIA, IIIB)]]></description> <history> <event version="SE14-011-01" user="murphyr" date="2013-10-22" ref="66991">Edit created.</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>