edits.seer.internal.rules.Day_of_Initial_RX--SEER.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="Day_of_Initial_RX--SEER" name="Date Initial RX SEER (NAACCR)" tag="N0075" java-path="lines.line" category="field"> <expression><![CDATA[return line.dateInitialRxSeerDay == null || Functions.matches(line.dateInitialRxSeerDay, /^(0[1-9]|[12][0-9]|3[0-1])$/)]]></expression> <message>Day of initial RX--SEER is not valid.</message> <description><![CDATA[Valid values for Day of Initial RX--SEER[1260] are 01-31 and blank.]]></description> <history> <event version="SE12-002-01" user="murphyr" date="2009-12-29">99 removed and range changed from 00-31 to 01-31.</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>