edits.seer.internal.rules.Census_Tr_Certainty_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.
<rule id="Census_Tr_Certainty_2000" name="Census Tr Certainty 2000 (SEER)" tag="N0540" java-path="lines.line" category="field"> <expression><![CDATA[return line.censusTrCertainty2000 == null || Functions.matches(line.censusTrCertainty2000, /^[1234569\s]$/)]]></expression> <message>Census Tr Certainty 2000 is not valid.</message> <description><![CDATA[Valid codes for Census tr certainty 2000[130] are: 1 = Based on complete and valid street address of residence 2 = Based on residence ZIP+4 3 = Based on residence ZIP+2 4 = Based on residence ZIP only 5 = Based on ZIP of post office box 6 = 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 = Unknown Blank]]></description> <history> <event version="SE11-001-19" user="greend" date="2005-03-23">Code 6 is now a valid code.</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>