edits.seer.internal.rules.IF533.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="IF533" name="TNM Path Descriptor, Date of Diagnosis (SEER)" tag="N2016" java-path="lines.line" category="inter-field" depends="TNM_Path_Descriptor,Year_of_Diagnosis"> <expression><![CDATA[return line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2016' || line.dateOfDiagnosisYear > '2017' || line.tnmPathDescriptor != null]]></expression> <message>TNM Path Descriptor is not valid.</message> <description><![CDATA[This edit is skipped if year of Date of Diagnosis is blank or invalid. If year of Date of Diagnosis is greater than 2015 and less than 2018, then TNM Path Descriptor cannot be blank.]]></description> <history> <event version="SE15-013-01" user="kirbyk" date="2015-01-12" ref="67187">Edit created.</event> <event version="SE16-015-01" user="kirbyk" date="2016-04-07" ref="67304">Updated logic for 2016 cases.</event> <event version="SE18-018-01" user="kirbyk" date="2018-04-16" ref="67751">Edit restricted to 2016-2017 cases.</event> </history> </rule>