edits.seer.internal.rules.Surv-Mos_Presumed_Alive.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="Surv-Mos_Presumed_Alive" name="Surv-Mos Presumed Alive (SEER)" tag="N1984" java-path="lines.line" category="field"> <expression><![CDATA[return line.survMosPresumedAlive == null || Functions.matches(line.survMosPresumedAlive, /^\d\d\d\d$/)]]></expression> <message>Surv-Mos Presumed Alive is not valid.</message> <description><![CDATA[Surv-Mos Presumed Alive[1787] must be numeric or blank. Valid numeric range is 0000-9999, with leading zeroes.]]></description> <history> <event version="SE15-013-01" user="kirbyk" date="2015-01-07" ref="67153">Edit added.</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>