edits.seer.internal.rules.Year_Systemic.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="Year_Systemic" name="RX Date Systemic (COC)" tag="N0567" java-path="lines.line" category="field"> <expression><![CDATA[return (line.rxDateSystemicYear == null || (Functions.matches(line.rxDateSystemicYear, /^[12]\d\d\d$/) && Functions.between(line.rxDateSystemicYear, 1930, Functions.getCurrentYear()) ) )]]></expression> <message>RX Date Systemic Year is not valid.</message> <description><![CDATA[Valid values for RX Date Systemic Year[3230] are 1930 - current year or blanks.]]></description> <history> <event version="SE16-016-10" user="kirbyk" date="2018-01-16" ref="67682">Edit created.</event> </history> </rule>