edits.seer.internal.rules.Census_Tr_Certainty_2020.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_2020" name="Census Tr Certainty 2020 (NAACCR)" tag="N2853" java-path="lines.line" category="field"> <expression><![CDATA[return line.censusTractCertainty2020 == null || Functions.matches(line.censusTractCertainty2020, /^[1234569\s]$/)]]></expression> <message>Census Tr Certainty 2020 is not valid.</message> <description><![CDATA[Must be a valid Census Tr Certainty 2020 (1-6, 9) or blank. Codes 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="SE23-023-04" user="cooki" date="2023-05-31" ref="69277">Edit created.</event> </history> </rule>