edits.seer.internal.rules.Census_Tract_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="Census_Tract_2000" name="Census Tract 2000 (SEER)" tag="N0176" java-path="lines.line" category="field"> <expression><![CDATA[return line.censusTract2000 == null || line.censusTract2000 == '000000' || (Functions.matches(line.censusTract2000, /^[0-9]{6}$/) && Functions.between(line.censusTract2000, '000100', '999999'))]]></expression> <message>Census Tract 2000 is not valid.</message> <description><![CDATA[Valid codes for Census tract 2000[130] are 000000, 000100-999999, or blank.]]></description> <history> <event version="SE11-001-18" user="greend" date="2004-07-08">The value of 000100 was added as a valid census tract 2000 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> </history> </rule>