edits.seer.internal.rules.Tobacco_Use_Smoking_Status.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="Tobacco_Use_Smoking_Status" name="Tobacco Use Smoking Status (NAACCR)" tag="N6881" java-path="lines.line" category="field"> <expression><![CDATA[return line.tobaccoUseSmokingStatus == null || Functions.matches(line.tobaccoUseSmokingStatus, /^[0-39]$/)]]></expression> <message>Tobacco Use Smoking Status is not valid.</message> <description><![CDATA[Must be a valid Tobacco Use Smoking Status code or blank. 0: Never smoker 1: Current smoker 2: Former smoker 3: Smoker, current status unknown 9: Unknown if ever smoked]]></description> <history> <event version="SE23-023-04" user="cooki" date="2023-06-09" ref="69238">Edit created.</event> </history> </rule>