edits.seer.internal.rules.Race_2.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_2" name="Race 2 (NAACCR)" tag="N0409" java-path="lines.line" category="field"> <expression><![CDATA[return line.race2 == null || Functions.matches(line.race2, /(^0[1-8]$)|(^1[0-7]$)|(^2[0125678]$)|(^3[012]$)|(^88$)|(^9[6789]$)|(^\s\s$)/)]]></expression> <message>Race 2 is not valid.</message> <description><![CDATA[Valid codes for Race 2[161] are are 01-08,10-17,20-22,25-28,30-32,88,96-99 or blank. 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 = Vietnamese 11 = Laotian 12 = Hmong 13 = Cambodian 14 = Thai (1994+) 15 = Asian Indian, NOS or Pakistani, NOS 16 = Asian Indian 17 = Pakistani 20 = Micronesian, NOS (1991+) 21 = Chamorro 22 = Guamanian, NOS (1991+) 25 = Polynesian, NOS (1991+) 26 = Tahitian (1991+) 27 = Samoan (1991+) 28 = Tongan (1991+) 30 = Melanesian, NOS (1991+) 31 = Fiji Islander (1991+) 32 = Papua New Guinean 96 = Other Asian (1991+) 97 = Pacific Islander, NOS (1991+) 98 = Some other race 99 = Unknown by patient]]></description> <history> <event version="SE12-002-01" user="greend" date="2009-12-16">Code 9 removed. Codes 15,16, and 17 added.</event> <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="SE22-022-01" user="beverung" date="2022-01-20" ref="68883">Update description for code 3.</event> <event version="SE23-023-01" user="secristc" date="2023-02-15" ref="69155">Update description for codes 2, 3, 7, 13, 15, 21, 32, 98, and 99.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy