edits.seer.internal.rules.IF493.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="IF493" name="CS SSF 1, Lymph Nodes, CorpusAdenosarcoma (CS)" tag="N1896" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Lymph_Nodes,CS_Site-Specific_Factor_1,CS_Version_Input_Original"> <expression><![CDATA[if (Functions.asInt(line.csVersionInputOriginal) < 20500 || line.csLymphNodes == null || line.csSiteSpecificFactor1 == null || line.csSiteSpecificFactor1 == '988' || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1') return true if (line._csSchemaId == 'corpus_adenosarcoma' && line.csLymphNodes != '000' && line.csLymphNodes != '999') return !(['100','120','130','140','200','210','220','310','320'].contains(line.csSiteSpecificFactor1)) return true]]></expression> <message>Conflict among CorpusAdenoSarcoma Schema, CS Lymph Nodes, and CS SSF1</message> <description><![CDATA[The purpose of this edit is to verify that the CS Site-Specific Factor 1 (FIGO Stage) and CS Lymph Nodes are coded consistently for CorpusAdenoSarcoma cases when there is no lymph node involvement. This edit applies only to cases 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 CorpusAdenoSarcoma 3. CS Site-Specific Factor 1 is blank or 988 4. CS Lymph Nodes is blank 5. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline) If schema is CorpusAdenoSarcoma: If CS Lymph Nodes not = 000 (no regional lymph nodes involvement) or 999 (unknown) then CS Site-Specific Factor 1 must not = 100, 120, 130, 140, 200, 210, 220, 310, 320 (codes indicating FIGO Stage I, II, IIIA, IIIB)]]></description> <history> <event version="SE14-011-01" user="murphyr" date="2013-10-22" ref="66986">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>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy