edits.seer.internal.rules.County_at_DX_Geocode1990.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_Geocode1990" name="County at DX Geocode 1970/80/90 (NAACCR)" tag="N2042" java-path="lines.line" category="field"> <expression><![CDATA[return line.countyAtDxGeocode1990 == null || (Functions.matches(line.countyAtDxGeocode1990, /^\d\d\d$/) && line.countyAtDxGeocode1990 != '000')]]></expression> <message>County at DX Geocode1990 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-11" ref="67383">Edit created.</event> <event version="SE16-016-04" user="kirbyk" date="2017-06-15" ref="67650">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-018-02" user="schadega" date="2018-05-17" ref="67760">Name change.</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>