edits.seer.internal.rules.Race_NAPIIA.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="Race_NAPIIA" name="Race--NAPIIA(derived API) (NAACCR)" tag="N0958" java-path="lines.line" category="field"> <expression><![CDATA[return line.raceNapiia == null || Functions.matches(line.raceNapiia, /(^0[1-8]$)|(^1[0-7]$)|(^2[0125678]$)|(^3[012]$)|(^9[6789]$)/)]]></expression> <message>Race--NAPIIA(derived API) is not valid</message> <description><![CDATA[Must be a valid Race--NAPIIA code (01-08, 10-17,20-22,25-28,30-32,96-99) or blank (if algorithm has not been run). 01 White 02 Black or African American 03 American Indian or Alaska Native 04 Chinese 05 Japanese 06 Filipino 07 Native Hawaiian 08 Korean 10 Vietnaese 11 Laotian 12 Hmong 13 Cambodian 14 Thai 15 Asian Indian, NOS or Pakistani, NOS 16 Asian Indian 17 Pakistani 20 Mironesian, NOS 21 Chamorro 22 Guamanian, NOS 25 Polynesian, NOS 26 Tahitian 27 Samoan 28 Tongan 30 Melanesian, NOS 31 Fiji Islander 32 Papua New Guinean 88 No additional races (Race 2 - Race 5) 96 Other Asian including Asian, NOS and Oriental, NOS 97 Pacific Islander, NOS 98 Some other race 99 Unknown by patient]]></description> <history> <event version="SE24-024-06" user="beverung" date="2024-07-26" ref="69517">Edit created.</event> </history> </rule>