edits.seer.internal.rules.IFN3094.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="IFN3094" name="Grade, Date of Diagnosis (COC)" tag="N3094" 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.grade != null else return line.grade == null]]></expression> <message>Grade and Date DX conflict</message> <description><![CDATA[This edit is skipped if Date of Diagnosis is invalid. Grade must not be blank before 2018. Grade must be blank after 2018.]]></description> <history> <event version="SE18-018-03" user="kirbyk" date="2018-07-11" ref="67930">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> </history> </rule>