edits.seer.internal.rules.SEER_Cause-Specific_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_Cause-Specific_COD" name="SEER Cause-Specific COD (NAACCR)" tag="N2846" java-path="lines.line" category="field"> <expression><![CDATA[return line.seerCauseSpecificCod == null || Functions.matches(line.seerCauseSpecificCod, /^[0189]$/)]]></expression> <message>SEER Cause-Specific COD is not valid.</message> <description><![CDATA[Must be a valid SEER Cause-Specific 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 of other cause 1: Dead, attributable to 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>