edits.seer.internal.rules.Coding_System_for_EOD.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="Coding_System_for_EOD" name="Coding System for EOD (SEER EODSYST)" tag="N0121" java-path="lines.line" category="field"> <expression><![CDATA[return line.codingSystemForEod == null || Functions.matches(line.codingSystemForEod, /^[0-4\s]$/)]]></expression> <message>Coding system for EOD is not valid.</message> <description><![CDATA[Valid codes for Coding system for EOD[870] are: 0 = Two-digit non-specific EOD (1973-1982) 1 = Two-digit site-specific EOD (1973-1982) 2 = Thirteen-digit (expanded) site-specific EOD (1973-1982) 3 = Four-digit EOD (1983-1987) 4 = Ten-digit EOD (1988+) Blank]]></description> <history> <event version="SE11-001-17" user="greend" date="2003-09-22">Blank is now a valid value.</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>