edits.seer.internal.rules.Year_Recurrence_Date_1st.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_Recurrence_Date_1st" name="Recurrence Date--1st (COC)" tag="N0063" java-path="lines.line" category="field"> <expression><![CDATA[return ( line.recurrenceDate1stYear == null || ( Functions.matches(line.recurrenceDate1stYear, /^[12]\d\d\d$/) && Functions.between(line.recurrenceDate1stYear, 1930, Functions.getCurrentYear()) ) )]]></expression> <message>Year of Recurrence Date--1st is not valid.</message> <description><![CDATA[Valid values for Year of Recurrence Date--1st are 1930-current year and blank.]]></description> <history> <event version="SE21-021-01" user="kirbyk" date="2021-01-15" ref="68551">Edit created.</event> <event version="SE21-021-03" user="kirbyk" date="2021-03-09" ref="68568">Edit name changed.</event> <event version="SE22-022-05" user="kirbyk" date="2022-05-17" ref="68995">Replaced non-ASCII characters in message and description.</event> </history> </rule>