edits.seer.internal.rules.Vital_Status_Recode.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="Vital_Status_Recode" name="Vital Status Recode (NAACCR)" tag="N2848" java-path="lines.line" category="field"> <expression><![CDATA[return line.vitalStatusRecode == null || Functions.matches(line.vitalStatusRecode, /^[01]$/)]]></expression> <message>Vital Status Recode is not valid.</message> <description><![CDATA[Must be a valid Vital Status Recode value, 0 or 1. This is a calculated value. This field is allowed to be blank because it was not collected as a standard NAACCR data item before 2018. 0: Dead as of study cutoff date 1: Alive as of study cutoff date]]></description> <history> <event version="SE18-018-02" user="kirbyk" date="2018-05-07" ref="67779">Edit created.</event> </history> </rule>