edits.seer.internal.rules.Address_at_DX_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="Address_at_DX_State" name="Addr at DX--State (NAACCR)" tag="N0122" java-path="lines.line" category="field"> <expression><![CDATA[return ((Map)Context.Diagnosis_State).containsKey(line.addrAtDxState)]]></expression> <message>Addr at DX--State is not valid.</message> <description><![CDATA[Field must contain valid US postal code for state or Canadian province. Special Codes: CD Resident of Canada, NOS, and province, territory, commonwealth or possession is unknown US Resident of United States, NOS, and state, territory, commonwealth or possession is unknown XX Resident of country other than United States (including its territories, commonwealths, or possessions) or Canada, and country known YY Resident of country other than United States (including its territories, commonwealths, or possessions) or Canada, and country unknown ZZ Residence unknown]]></description> <history> <event version="SE16-016-02" user="kirbyk" date="2017-03-01" ref="67641">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> <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>