edits.seer.internal.rules.IFN6152.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="IFN6152" name="EOD Primary Tumor, Appendix, Histology ICDO3 (SEER)" tag="N6152" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.eodPrimaryTumor == null) return true if (line.typeOfReportingSource == '7' || line.schemaId == null || (line.schemaId != '00190' && line.schemaId != '09190') || line.histologicTypeIcdO3 == null) return true return line.eodPrimaryTumor != '600' || ['8480','8481','8490'].contains(line.histologicTypeIcdO3)]]></expression> <message>EOD Primary Tumor/Histology conflict for Appendix</message> <description><![CDATA[This edit verifies that EOD Primary Tumor is coded consistently with Histologic Type ICD-O-3 codes for mucinous adenocarcinoma for Schema ID 00190, Appendix. 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 00190 or 09190 d. EOD Primary Tumor is blank e. Histologic Type ICD-O-3 is blank f. Type of Reporting Source is 7 (Death Certificate Only) 2. If EOD Primary Tumor = 600 (for mucinous tumor only) then Histologic Type ICD-O-3 must = 8480 (mucinous adenocarcinoma), 8481 (mucin-producing adenocarcinoma), or 8490 (signet ring cell carcinoma)]]></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> <event version="SE23-023-01" user="cooki" date="2023-02-06" ref="69139">Added skip condition for new schema.</event> </history> </rule>