edits.seer.internal.rules.IF143.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="IF143" name="CS Extension, Hematopoietic (CS)" tag="N0760" java-path="lines.line" category="inter-field" depends="CS_Extension,CS_Site-Specific_Factor_25,Histologic_Type_ICD-O-3,Primary_Site,Type_of_Reporting_Source"> <expression><![CDATA[if (line.csExtension == null || line.typeOfReportingSource == '7') return true if (line._csSchemaId != 'heme_retic') return true if ((line.csExtension == '100' || line.csExtension == '999') && ! ['9740','9750','9751','9755','9756','9757','9758','9930'].contains(line.histologicTypeIcdO3)) return false return true]]></expression> <message>Hist ICD-O-3 and CS Extension conflict</message> <description><![CDATA[This edit is skipped if any of the following conditions are true: 1) CS Extension[2810] is blank 2) Type of Reporting Source [500] = 7 (Death certificate only) 3) Schema is not HemeRetic The CS Extension[2810] value of 100 (localized disease) and 999 (unknown) are allowed only for Histologic Type ICD-O-3[522] codes 9740, 9750, 9751, 9755-9758, and 9930 in the Hematopoietic schema. This is because these particular histologies may be coded to either 10 (localized) or 80 (systemic) and it is possible that it might be unknown (99) whether the disease is localized or systemic. (Except for death certificate only cases, all other hematopoietic histologies must be coded to 80. This is edited by the CS algorithm program.)]]></description> <history> <event version="SE11-001-22" user="greend" date="2007-12-15">Edit is skipped if Histologic Type ICD-O-3 = 9823 or 9827 and Primary Site is not C420, C421, or C424.</event> <event version="SE12-002-01" user="murphyr" date="2010-02-02">Skips conditions changed. Now skips for any schema not HemeRetic. Extension codes changed to 3 digits.</event> <event version="SE12-002-01" user="murphyr" date="2010-03-24">Added histology 9751.</event> <event version="SE12-004-01" user="murphyr" date="2011-01-20">Remove 9731 and 9734 from list of histologies that can be coded to 100.</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>