edits.seer.internal.rules.IFN4904.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="IFN4904" name="Derived EOD 2018, Date of DX (SEER)" tag="N4904" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear > '2017') return true return line.derivedEod2018T == null && line.derivedEod2018N == null && line.derivedEod2018M == null && line.derivedEod2018StageGroup == null]]></expression> <message>Derived EOD T, N, M, Stage Group fields must be blank for cases diagnosed before 2018.</message> <description><![CDATA[The purpose of this edit is to verify that Derived EOD 2018 T, N, M, and Stage Group required by SEER are blank for cases diagnosed before 2018. This edit is skipped if year of Date of Diagnosis is blank or invalid. If year of Date of Diagnosis is pre-2018, then Derived EOD 2018 T, Derived EOD 2018 N, Derived EOD 2018 M, and Derived EOD 2018 Stage Group must be blank.]]></description> <history> <event version="SE18-018-03" user="kirbyk" date="2018-07-12" ref="67935">Edit created.</event> </history> </rule>