edits.seer.internal.rules.IFN3082.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.
The newest version!
<rule id="IFN3082" name="Grade, Lymphoma Ocular Adnexa, Histologic Type ICD-O-3 (NAACCR)" tag="N3082" java-path="lines.line" category="inter-field" depends="Histologic_Type_ICD-O-3,Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.schemaId != '00710' || line.histologicTypeIcdO3 == null) return true if (line.gradeClinical == null && line.gradePathological == null) return true boolean gradeClinicalBlankOr9 = line.gradeClinical == null || line.gradeClinical == '9' boolean gradePathologicalBlankOr9 = line.gradePathological == null || line.gradePathological == '9' return Functions.matches(line.histologicTypeIcdO3, /^969[0158]$/) || (gradeClinicalBlankOr9 && gradePathologicalBlankOr9)]]></expression> <message>Grade Clinical or Grade Pathological value not valid for this Histologic Type</message> <description><![CDATA[This edit verifies that Grade Clinical and Grade Pathological are coded consistently with Histologic Type ICD-O-3. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2018, blank (unknown), or invalid. b. Schema ID is not 00710. c. Grade Clinical and Grade Pathological are both blank. d. Histologic Type ICD-O-3 is blank 2. The edit verifies that if Histologic Type ICD-O-3 does not = 9690, 9691, 9695, or 9698 (follicular histologies), Grade Clinical if not empty and Grade Pathological if not empty must = "9" (not a follicular histology).]]></description> <history> <event version="SE18-018-03" user="schadega" date="2018-07-09" ref="67926">Edit created.</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="beverung" date="2020-07-28" ref="68401">Remove Grade Post Therapy and change step 2 logic.</event> <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed some edit dependencies.</event> </history> </rule>