edits.seer.internal.rules.NHIA_Data_Element.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="NHIA_Data_Element" name="NHIA Derived Hisp Origin (NAACCR)" tag="N0739" java-path="lines.line" category="field"> <expression><![CDATA[return line.nhiaDerivedHispOrigin == null || Functions.matches(line.nhiaDerivedHispOrigin, /^[0-8]$/)]]></expression> <message>NHIA Derived Hisp origin is not valid.</message> <description><![CDATA[Valid codes for NHIA Derived Hisp Origin are 0-8, or blank. 0 = Non-Hispanic 1 = Mexican, by birthplace or other specific identifier 2 = Puerto Rican, by birthplace or other specific identifier 3 = Cuban, by birthplace or other specific dentifier 4 = South or Central American (except Brazil), by birthplace or other specific identifier 5 = Other specified Spanish/Hispanic origin (includes European; exludes Dominican Republic), by birthplace or other specific identifier 6 = Spanish, NOS; Hispanic, NOS; Latino, NOS 7 = NHIA surname match only 8 = Dominican Republic Blank = Algorithm has not been run]]></description> <history> <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> <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>