edits.seer.internal.rules.SEER_Other_COD.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="SEER_Other_COD" name="SEER Other COD (NAACCR)" tag="N2847" java-path="lines.line" category="field"> <expression><![CDATA[return line.seerOtherCod == null || Functions.matches(line.seerOtherCod, /^[0189]$/)]]></expression> <message>SEER Other COD is not valid.</message> <description><![CDATA[Must be a valid SEER Other COD value, 0, 1, 8, or 9. 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: Alive or dead due to cancer 1: Dead, attributable to causes other than this cancer diagnosis 8: Missing/Unknown Cause of Death 9: Not applicable/not first tumor]]></description> <history> <event version="SE18-018-02" user="kirbyk" date="2018-05-07" ref="67779">Edit created.</event> </history> </rule>