edits.seer.internal.rules.Day_SurvDateDXRecode.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="Day_SurvDateDXRecode" name="Surv-Date DX Recode (SEER)" tag="N1981" java-path="lines.line" category="field"> <expression><![CDATA[return line.survDateDxRecodeDay == null || Functions.matches(line.survDateDxRecodeDay, /^(0[1-9]|[12][0-9]|3[01])$/)]]></expression> <message>Day of Surv-Date DX Recode is not valid.</message> <description><![CDATA[Valid values for Day of Surv-Date DX Recode[1788] are 01-31 and blank.]]></description> <history> <event version="SE15-013-01" user="kirbyk" date="2015-01-14" ref="67148">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>