edits.seer.internal.rules.Census_Tr_Cert_1970-80-90.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_Cert_1970-80-90" name="Census Tr Cert 1970/80/90 (SEER CENSCERT)" tag="N0309" java-path="lines.line" category="field"> <expression><![CDATA[if ( line.censusTrCert19708090 != null && !(Functions.matches(line.censusTrCert19708090, /^[1234569\s]$/))) return false return true]]></expression> <message>Census tr cert 1970/80/90 is not valid.</message> <description><![CDATA[Valid codes for Census tr cert 1970/80/90[364] 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-17" user="greend" date="2003-03-14">Changed name of item to match the NAACCR version 10 record layout.</event> <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>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy