edits.seer.internal.rules.Month_SurvDatePresumedAlive.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="Month_SurvDatePresumedAlive" name="Surv-Date Presumed Alive (SEER)" tag="N1980" java-path="lines.line" category="field"> <expression><![CDATA[return line.survDatePresumedAliveMonth == null || Functions.matches(line.survDatePresumedAliveMonth, /^(0[1-9]|1[0-2])$/)]]></expression> <message>Month of Surv-Date Presumed Alive is not valid.</message> <description><![CDATA[Valid values for Month of Surv-Date Presumed Alive[1785] are 01-12 and blank.]]></description> <history> <event version="SE15-013-01" user="kirbyk" date="2015-01-20" ref="67149">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> </history> </rule>