edits.seer.internal.rules.Surv-Flag_Active_Followup.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="Surv-Flag_Active_Followup" name="Surv-Flag Active Followup (SEER)" tag="N1982" java-path="lines.line" category="field"> <expression><![CDATA[return line.survFlagActiveFollowup == null || Functions.matches(line.survFlagActiveFollowup, /^[0-389]$/)]]></expression> <message>Surv-Flag Active Followup is not valid.</message> <description><![CDATA[Must be a valid Surv-Flag Active Followup[1783] code (0-3,8,9) or blank. Codes: 0 = Complete dates are available and there are 0 days of survival (i.e., date last contact = date of diagnosis) 1 = Complete dates are available and there are more than 0 days of survival (i.e. date last contact > date diagnosis) 2 = Incomplete dates are available and there could be zero days of follow-up (i.e., known components are equal, e.g. 99/99/2006 and 10/02/2006) 3 = Incomplete dates are available and there cannot be zero days of follow-up (i.e., any difference in known date components, e.g. 02/99/2006 and 03/99/2006) 8 = Not calculated because a Death Certificate Only or Autopsy Only case 9 = Unknown Blank = Not coded]]></description> <history> <event version="SE15-013-01" user="kirbyk" date="2015-01-09" ref="67150">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-018-02" user="kirbyk" date="2018-05-09" ref="67796">Fixed edit to use correct property name.</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>