edits.seer.internal.rules.Birthplace_Country.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="Birthplace_Country" name="Birthplace--Country (NAACCR)" tag="N1668" java-path="lines.line" category="field"> <expression><![CDATA[return ((Map)Context.Country_State).containsKey(line.birthplaceCountry)]]></expression> <message>Birthplace--Country is not valid</message> <description><![CDATA[Birthplace--Country must contain a valid ISO code or standard custom code for country.]]></description> <history> <event version="SE13-009-01" user="murphyr" date="2012-12-05" ref="66774">Edit created.</event> <event version="SE13-009-02" user="murphyr" date="2013-03-05" ref="66841">Changed to use Country_State table instead of Country table.</event> <event version="SE15-013-01" user="kirbyk" date="2015-01-09" ref="67121">Country_State table updated.</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> </history> </rule>