edits.seer.internal.rules.Year_Most_Defin_Surg.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_Most_Defin_Surg" name="RX Date Mst Defn Srg (COC)" tag="N0510" java-path="lines.line" category="field"> <expression><![CDATA[return (line.rxDateMostDefinSurgYear == null || (Functions.matches(line.rxDateMostDefinSurgYear, /^[12]\d\d\d$/) && Functions.between(line.rxDateMostDefinSurgYear, 1930, Functions.getCurrentYear()) ) )]]></expression> <message>Year of Mst Defn Srg is not valid.</message> <description><![CDATA[Valid codes for Year of Mst Defn Srg[3170] are 1930 - current year or blanks.]]></description> <history> <event version="SE16-016-01" user="kirbyk" date="2017-01-12" ref="67577">Edited 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>