edits.seer.internal.rules.Census_Tract_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_Tract_2020" name="Census Tract 2020 (NAACCR)" tag="N2575" java-path="lines.line" category="field"> <expression><![CDATA[return line.censusTract2020 == null || line.censusTract2020 == '000000' || (Functions.matches(line.censusTract2020, /^[0-9]{6}$/) && Functions.between(line.censusTract2020, '000100', '999999'))]]></expression> <message>Census Tract 2020 is not valid.</message> <description><![CDATA[This is a derived (geocoded) variable based on the Census Boundary files for 2020. Must be a valid Census tract code (000100-999998, 000000, 999999) or blank.]]></description> <history> <event version="SE18-018-02" user="kirbyk" date="2018-05-04" ref="67779">Edit created.</event> </history> </rule>