edits.seer.internal.rules.Birthplace_State.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_State" name="Birthplace--State (NAACCR)" tag="N1671" java-path="lines.line" category="field"> <expression><![CDATA[return ((Map)Context.State).containsKey(line.birthplaceState)]]></expression> <message>Birthplace--State is not valid</message> <description><![CDATA[Birthplace--State must contain a valid ISO code or standard custom code for state.]]></description> <history> <event version="SE13-009-01" user="murphyr" date="2012-12-05" ref="66774">Edit created.</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>