edits.seer.internal.rules.IFN2802.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="IFN2802" name="Grade Clin,Path,PostTX, Date of Diagnosis (NAACCR)" tag="N2802" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null) return true if (line.dateOfDiagnosisYear < '2018') return line.gradeClinical == null && line.gradePathological == null && line.gradePostTherapy == null return line.gradeClinical != null && line.gradePathological != null]]></expression> <message>Grade Clin,Path,PostTX is not valid for Date DX</message> <description><![CDATA[This edit is skipped if date of diagnosis = blank (unknown) or invalid. 1. Grade Clinical, Grade Pathological, and Grade Post Therapy must be blank if diagnosis date pre-2018. 2. Grade Clinical must not be blank if diagnosis date 2018+. 3. Grade Pathological must not be blank if diagnosis date 2018+. 4. Grade Post Therapy may be blank if diagnosis date 2018+.]]></description> <history> <event version="SE18-018-03" user="schadega" date="2018-07-09" ref="67926">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> </history> </rule>