edits.seer.internal.rules.County_at_DX_Geocode2010.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="County_at_DX_Geocode2010" name="County at DX Geocode2010 (NAACCR)" tag="N2061" java-path="lines.line" category="field"> <expression><![CDATA[return line.countyAtDxGeocode2010 == null || (Functions.matches(line.countyAtDxGeocode2010, /^\d\d\d$/) && line.countyAtDxGeocode2010 != '000')]]></expression> <message>County at DX Geocode2010 is not valid.</message> <description><![CDATA[Must be a valid three-digit number (001-997, 998, 999) or blank.]]></description> <history> <event version="SE16-015-01" user="kirbyk" date="2016-05-12" ref="67385">Edit created.</event> <event version="SE16-016-04" user="kirbyk" date="2017-06-15" ref="67652">Valid values changed from (000-840,998,999) to (001-997,998,999).</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>