edits.seer.internal.rules.IF168_P3.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="IF168_P3" name="CS Reg Nodes Ex, Pos, Site, Hist ICDO3, Report (CS)" tag="N1321" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,Histologic_Type_ICD-O-3,Primary_Site,Regional_Nodes_Examined,Regional_Nodes_Positive,Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear < '2004' || line.dateOfDiagnosisYear > '2017' || line.dateOfDiagnosisYear == null || line.regionalNodesExamined == null || line.regionalNodesPositive == null || line._csSchemaId == null || ((line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1') && !['brain','cns_other','intracranial_gland'].contains(line._csSchemaId))) return true if (['heme_retic','lymphoma','brain','cns_other','ill_defined_other','placenta','intracranial_gland'].contains(line._csSchemaId)) return line.regionalNodesExamined == '99' && line.regionalNodesPositive == '99' else if (line._csSchemaId == 'myeloma_plasma_cell_disorder' && line.histologicTypeIcdO3 != '9734') return line.regionalNodesExamined == '99' && line.regionalNodesPositive == '99' return true]]></expression> <message>CS Reg Nodes Pos and Examined must both be 99 for this site/histology</message> <description><![CDATA[This edit is skipped if any of the following conditions are true: 1) Regional Nodes Examined[830] or Regional Nodes Positive[820] are blank. 2) Year of Diagnosis[390] < 2004, Year of Diagnosis[390] > 2017, or Year of Diagnosis[390] is blank or invalid. 3) Behavior Code ICD-O-3 [523] = 0 (benign) or 1 (borderline) and CS Schema Name is not Brain, CNSOther, or IntracranialGland. For the following CS Schemas, Regional Nodes Positive [820] and Regional Nodes Examined [830] must both be coded '99': 1. HemeRetic 2. Lymphoma 3. Brain 4. CNSOther 5. IllDefinedOther 6. Placenta 7. IntracranialGland 8. MyelomaPlasmaCellDisorder except for histology 9734 (Extraosseous plasmacytomas)]]></description> <history> <event version="SE11-001-22" user="greend" date="2007-12-15">Edit is skipped if Behavior Code ICD-O-3 [523] = 0 (benign) or 1 (borderline) and Primary Site [400] is not C700-729 (Brain and Other CNS) or C751-C753 (Intracranial Endocrine).</event> <event version="SE12-002-01" user="greend" date="2010-03-24">Using CS Schema names instead of site and histologies.</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-004-01" user="murphyr" date="2011-01-27">Edit updated for CSv2 version 02.03.02.</event> <event version="SE12-007-01" user="murphyr" date="2012-03-14" ref="66688">Now using CS Version Input Current instead of CS Version Input Original for pre-2010 cases.</event> <event version="SE15-013-01" user="kirbyk" date="2015-01-09" ref="67128">Added exception for MyelomaPlasmaCellDisorder with histology 9734.</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-018-02" user="schadega" date="2018-05-25" ref="67760">Edit name change.</event> <event version="SE18-019-05" user="beverung" date="2019-10-11" ref="68259">Update year of diagnosis skip condition to include > 2017, blank and invalid.</event> <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> <event version="SE18-020-05" user="kirbyk" date="2020-08-18" ref="68506">Updated description.</event> <event version="SE21-021-03" user="kirbyk" date="2021-03-09" ref="68568">Edit name changed.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy