edits.seer.internal.rules.IFN6315.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="IFN6315" name="EOD Primary Tumor, HemeRetic, Histology (SEER)" tag="N6315" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.eodPrimaryTumor == null || line.histologicTypeIcdO3 == null) return true if (line.schemaId == null || line.schemaId != '00830') return true if (Functions.matches(line.histologicTypeIcdO3, /^9(7(4[09]|5[15-9])|9(30|71))$/)) { if (line.typeOfReportingSource == '7') return line.eodPrimaryTumor == '999' else return ['100','700','999'].contains(line.eodPrimaryTumor) } else { if (line.typeOfReportingSource == '7') return ['700','999'].contains(line.eodPrimaryTumor) else return line.eodPrimaryTumor == '700' }]]></expression> <message>EOD Primary Tumor/Histology conflict for HemeRetic</message> <description><![CDATA[This edit verifies that EOD Primary Tumor is coded consistently with histologies allowing localized disease and histologies requiring systemic disease for Schema ID 00830, HemeRetic 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2021, blank (unknown), or invalid. b. Schema ID is blank or not 00830 c. EOD Primary Tumor is blank d. Histologic Type ICD-O-3 is blank 2. If Histologic Type ICD-O-3 is in the following list, a. If Type of Reporting Source = 7 (Death Certificate only) EOD Primary Tumor must = 999. b. If Type of Reporting Source not = 7, EOD Primary Tumor must = 100 (Localized disease), 700 (Systemic Disease), or 999 (unknown). 9740 Mast cell sarcoma 9749 Erdheim-Chester disease (2021+) 9751 Langerhans cell histiocytosis, disseminated 9755 Histiocytic sarcoma 9756 Langerhans cell sarcoma 9757 Interdigitating dendritic cell sarcoma 9758 Follicular dendritic cell sarcoma 9759 Fibroblastic reticular cell tumor 9930 Myeloid sarcoma 9971 Polymorphic PTLD (2018-2020, non-reportable 2021+) 3. For all other histologies, a. If Type of Reporting Source = 7 (Death Certificate Only), EOD Primary Tumor must = 700 or 999. b. If Type of Reporting Source not = 7, EOD Primary Tumor must = 700.]]></description> <history> <event version="SE21-021-04" user="beverung" date="2021-03-25" ref="68606">Edit created.</event> <event version="SE22-022-08" user="secristc" date="2022-06-23" ref="69011">Updated error message.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy