edits.seer.internal.rules.Year_SurvDateActiveFollowup.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="Year_SurvDateActiveFollowup" name="Surv-Date Active Followup (SEER)" tag="N1979" java-path="lines.line" category="field"> <expression><![CDATA[return line.survDateActiveFollowupYear == null || ((Functions.matches(line.survDateActiveFollowupYear, /^[12]\d\d\d$/)) && Functions.between(line.survDateActiveFollowupYear, 1930, Functions.getCurrentYear()) )]]></expression> <message>Year of Surv-Date Active Followup is not valid.</message> <description><![CDATA[Valid values for Year of Surv-Date Active Followup[1782] are 1930 - current year, and blank.]]></description> <history> <event version="SE15-013-01" user="kirbyk" date="2015-01-20" ref="67147">Edit created.</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="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> </history> </rule>