edits.seer.internal.rules.URIC_2000.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="URIC_2000" name="URIC 2000 (NAACCR)" tag="N2849" java-path="lines.line" category="field"> <expression><![CDATA[return line.uric2000 == null || Functions.matches(line.uric2000, /^[12349ABCD]$/)]]></expression> <message>URIC 2000 is not valid.</message> <description><![CDATA[Must be a valid URIC (Urban Rural Indicator Code-Tract level) 2000 value, 1,2,3,4, 9,A,B,C,D. This is a derived value. This field is allowed to be blank because it was not collected before 2018. 1: All urban 2: Mostly urban 3: Mostly rural 4: All rural 9: Unknown, not applicable A: State, county, or tract are invalid B: State and tract are valid, but county was not reported C: State + county + tract combination was not found D: State, county, or tract are blank or unknown]]></description> <history> <event version="SE18-018-02" user="kirbyk" date="2018-05-04" ref="67779">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-29" ref="68029">Added valid codes A-D, changed labels in description.</event> </history> </rule>