edits.seer.internal.rules.Census_Tr_Certainty_2010.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="Census_Tr_Certainty_2010" name="Census Tr Certainty 2010 (SEER)" tag="N1374" java-path="lines.line" category="field"> <expression><![CDATA[return line.censusTrCertainty2010 == null || Functions.matches(line.censusTrCertainty2010, /^[1234569\s]$/)]]></expression> <message>Census Tr Certainty 2010 is not valid.</message> <description><![CDATA[Valid codes for Census tr certainty 2010[367] are: 1 = Census tract based on complete and valid street address of residence 2 = Census tract based on residence ZIP + 4 3 = Census tract based on residence ZIP + 2 4 = Census tract based on residence ZIP code only 5 = Census tract based on ZIP code of P.O. Box 6 = Census tract/BNA based on residence city where city has only one census tract, or based on residence ZIP code where ZIP code has only one census tract 9 = Not assigned, geocoding attempted Blank = Not assigned, geocoding not attempted]]></description> <history> <event version="SE12-004-01" user="murphyr" date="2010-12-15">Edit created.</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="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> </history> </rule>