edits.seer.internal.rules.County_at_DX_Geocode2000.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="County_at_DX_Geocode2000" name="County at DX Geocode2000 (NAACCR)" tag="N2060" java-path="lines.line" category="field"> <expression><![CDATA[return line.countyAtDxGeocode2000 == null || (Functions.matches(line.countyAtDxGeocode2000, /^\d\d\d$/) && line.countyAtDxGeocode2000 != '000')]]></expression> <message>County at DX Geocode2000 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="67384">Edit created.</event> <event version="SE16-016-04" user="kirbyk" date="2017-06-15" ref="67651">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>