edits.seer.internal.rules.IFN7093.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="IFN7093" name="Grade, Lymphoma, Brain/CNS (NAACCR)" tag="N7093" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2024' || line.histologicTypeIcdO3 == null) return true if (!['09721', '09722', '09723'].contains(line.schemaId)) return true if (line.gradeClinical == null && line.gradePathological == null && line.gradePostTherapyClin == null && line.gradePostTherapy == null) return true if (Functions.between(line.histologicTypeIcdO3, '9590', '9993')) return (line.gradeClinical == null || line.gradeClinical == '9') && (line.gradePathological == null || line.gradePathological == '9') && (line.gradePostTherapyClin == null || line.gradePostTherapyClin == '9') && (line.gradePostTherapy == null || line.gradePostTherapy == '9') return true]]></expression> <message>Grade must = 9 for Lymphoma of Brain/CNS</message> <description><![CDATA[This edit verifies that WHO grade is not assigned for lymphoma of Brain/CNS. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2024, blank (unknown), or invalid. b. Schema ID is not 09721, 09722, 09723. c. All grade fields are blank d. Histologic Type ICD-O-3 is blank 2. The edit verifies that if Histologic Type ICD-O-3 = 9590-9993 (Lymphoma), Grade Clinical, Grade Pathological, Grade Post Therapy Clin (yc), and Grade Post Therapy Path (yp) are coded 9 (unknown) if not empty ]]></description> <history> <event version="SE24-024-06" user="shearerw" date="2024-07-11" ref="69501">Edit Created.</event> </history> </rule>