edits.seer.internal.rules.Race_1.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="Race_1" name="Race 1 (SEER RACE)" tag="N0011" java-path="lines.line" category="field"> <expression><![CDATA[return line.race1 != null && Functions.matches(line.race1, /(^0[1-8]$)|(^1[0-7]$)|(^2[0125678]$)|(^3[012]$)|(^9[6789]$)/)]]></expression> <message>Race 1 is not valid.</message> <description><![CDATA[Valid codes for Race 1[160] are 01-08,10-17,20-22,25-28,30-32,96-99. 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="SE11-001-04" user="greend" date="1988-05-25">Additional codes made valid due to 1988 SEER coding system.</event> <event version="SE11-001-08" user="greend" date="1992-04-23">Additional codes made valid due to 1991 SEER coding system.</event> <event version="SE11-001-10" user="greend" date="1994-07-01">Additional code '14' made valid due to SEER Code Manual changes in 1994.</event> <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>