edits.seer.internal.rules.RUCA_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="RUCA_2000" name="RUCA 2000 (NAACCR)" tag="N2851" java-path="lines.line" category="field"> <expression><![CDATA[return line.ruca2000 == null || Functions.matches(line.ruca2000, /^[129ABCD]$/)]]></expression> <message>RUCA 2000 is not valid.</message> <description><![CDATA[Must be a valid RUCA (Rural Urban Commuting Area) 2000 value, 1,2,9,A,B,C,D. This is a derived value. This field is allowed to be blank because it was not collected as a standard NAACCR data item before 2018. 1: Urban commuting area 2: Not an urban commuting area 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>