edits.seer.internal.rules.Year_Radiation.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="Year_Radiation" name="RX Date Radiation (COC)" tag="N0549" java-path="lines.line" category="field"> <expression><![CDATA[return ( line.rxDateRadiationYear == null || ( Functions.matches(line.rxDateRadiationYear, /^[12]\d\d\d$/) && Functions.between(line.rxDateRadiationYear, 1930, Functions.getCurrentYear()) ) )]]></expression> <message>Year of Radiation is not valid.</message> <description><![CDATA[Valid values for Year of Radiation[1210] are 1930-current year and blank.]]></description> <history> <event version="SE15-013-01" user="kirbyk" date="2015-01-12" ref="67145">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>