edits.seer.internal.rules.Marital_Status_at_DX.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="Marital_Status_at_DX" name="Marital Status at DX (SEER MARITAL)" tag="N0219" java-path="lines.line" category="field"> <expression><![CDATA[return line.maritalStatusAtDx == null || Functions.matches(line.maritalStatusAtDx, /^[1234569]$/)]]></expression> <message>Marital status at DX is not valid.</message> <description><![CDATA[Valid codes for Marital status at DX[150] are 1-6,9 or blank. 1 = Single (never married) 2 = Married (including common law) 3 = Separated 4 = Divorced 5 = Widowed 6 = Unmarried or Domestic Partner (same sex or opposite sex, registered or unregistered) 9 = Unknown]]></description> <history> <event version="SE11-001-17" user="greend" date="2003-09-22">Blank is now a valid value.</event> <event version="SE12-003-01" user="murphy" date="2010-12-07">Code 6 is now a valid value (NAACCR 12.1).</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>