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