edits.seer.internal.rules.IF395.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.
<rule id="IF395" name="Sequence number and year of diagnosis conflict (IF395)" tag="S006" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[return line.dateOfDiagnosisYear == null || (!(Functions.matches(line.sequenceNumberCentral, /(^6\d|7\d|8[0-8]$)/) && line.dateOfDiagnosisYear < '2003'))]]></expression> <message>Sequence number and year of diagnosis conflict.</message> <description><![CDATA[This edit is skipped if Year of Diagnosis is empty. Sequence Number-Central codes of 60-88 are only valid for cases diagnosed 2003+.]]></description> <history> <event version="SE12-008-01" user="murphyr" date="2012-08-09" ref="66679">Edit created.</event> <event version="SE13-009-01" user="murphyr" date="2012-12-20" ref="66776">Edited name to include edit id.</event> <event version="SE14-011-03" user="depryf" date="2014-03-24" ref="67075">Edit is now skipped when DX year is missing.</event> <event version="SE16-016-08" user="depryf" date="2017-11-22" ref="67674">Edit syntax updated to allow pre-compilation optimization; no change in behavior.</event> <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed some edit dependencies.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy