edits.seer.internal.rules.Year_of_Birth.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_of_Birth" name="Date of Birth (NAACCR)" tag="N1034" java-path="lines.line" category="field"> <expression><![CDATA[return Functions.between(line.dateOfBirthYear, 1800, Functions.getCurrentYear()) || line.dateOfBirthYear == null]]></expression> <message>Year of birth is not valid.</message> <description><![CDATA[Valid codes for Year of birth[240] are 1800 - current year and blank.]]></description> <history> <event version="SE12-002-01" user="murphyr" date="2009-12-18">9-filled year of birth no longer accepted. Blanks now allowed in code, to match documentation.</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>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy