edits.seer.internal.rules.IFN6824.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="IFN6824" name="EOD Primary Tumor, NET Adrenal, Histology (SEER)" tag="N6824" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear < '2018' || line.dateOfDiagnosisYear == null || line.schemaId != '00770' || line.schemaId == null || line.eodPrimaryTumor == null || line.histologicTypeIcdO3 == null || line.typeOfReportingSource == '7') return true if (line.eodPrimaryTumor == '100') return line.histologicTypeIcdO3 == '8700' if (line.eodPrimaryTumor == '200') return ['8680','8690','8692','8693'].contains(line.histologicTypeIcdO3) return true]]></expression> <message>Conflict between Histologic Type ICD-O-3 and EOD Primary Tumor</message> <description><![CDATA[This edit verifies that EOD Primary Tumor code 100 is coded consistently with Histology for Schema ID 00770 NET Adrenal. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2018, blank (unknown), or invalid. b. Schema ID is blank or not 00770 c. Histologic Type ICD-O-3 is blank d. EOD Primary Tumor is blank e. Type of Reporting Source is 7 (Death Certificate Only) 2. If EOD Primary Tumor = 100 (any size Pheochromocytoma) Histologic Type ICD-O-3 must = 8700 3. If EOD Primary Tumor = 200 (any size Paraganglioma) Histologic Type ICD-O-3 must = 8680, 8690, 8692, or 8693]]></description> <history> <event version="SE23-023-04" user="cooki" date="2023-06-13" ref="69230">Edit created.</event> </history> </rule>