edits.seer.internal.rules.Vital_Status.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="Vital_Status" name="Vital Status (COC)" tag="N0090" java-path="lines.line" category="field"> <expression><![CDATA[return Functions.matches(line.vitalStatus, /^[01]$/)]]></expression> <message>Vital status is not valid.</message> <description><![CDATA[Valid codes for Vital status[1760] are code 0,1. 0 = Dead 1 = Alive]]></description> <history> <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-017-01" user="schadega" date="2018-03-15" ref="67715">Replaced death code 4 with 0.</event> <event version="SE18-018-01" user="schadega" date="2018-04-11" ref="67737">Edit name change.</event> <event version="SE18-018-02" user="kirbyk" date="2018-06-21" ref="67924">Re-added 4 as a valid code for 'dead'.</event> <event version="SE18-020-05" user="kirbyk" date="2020-09-09" ref="68522">Removed code 4 as a valid code.</event> </history> </rule>