edits.seer.internal.rules.IFN2811.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="IFN2811" name="CoC Accredited Flag, Date DX, Type Report Source (NAACCR)" tag="N2811" java-path="lines.line" category="inter-field"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018') return true if (line.typeOfReportingSource != '7') return line.cocAccreditedFlag != null return line.cocAccreditedFlag == null]]></expression> <message>CoC Accredited Flag cannot be blank for non-DCO cases diagnosed 2018+, DCO cases must be blank.</message> <description><![CDATA[1. This edit is skipped for Date of diagnosis before 2018, blank (unknown), or invalid. 2. This data item must not be blank for 2018+ date of diagnosis if Type of Reporting Source not = 7. 3. CoC Accredited Flag must be blank for DCO cases, Type of Reporting Source = 7.]]></description> <history> <event version="SE18-019-02" user="kirbyk" date="2019-05-06" ref="68156">Edit created.</event> <event version="SE18-019-05" user="kirbyk" date="2019-09-27" ref="68256">Edit now runs on cases diagnosed 2018+.</event> <event version="SE18-019-06" user="kirbyk" date="2019-10-22" ref="68264">Fixed year in error message to match previous change.</event> <event version="SE18-020-04" user="beverung" date="2020-06-18" ref="68359">Updated error message.</event> </history> </rule>