edits.seer.internal.rules.IFN6595.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="IFN6595" name="Tobacco Use Smoking Status, Date DX (NPCR)" tag="N6595" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[ if(line.dateOfDiagnosisYear == null) return true if (line.dateOfDiagnosisYear < '2022') return line.tobaccoUseSmokingStatus == null else return line.tobaccoUseSmokingStatus == null || Functions.matches(line.tobaccoUseSmokingStatus, /^[01239]$/) ]]></expression> <message>Invalid value for Tobacco Use Smoking Status</message> <description><![CDATA[This edit is skipped if Date of Diagnosis is blank (unknown) or invalid. 1. This data item must be blank for pre-2022 diagnoses. 2. Must be a valid Tobacco Use Smoking Status code or blank. 0: Never smoker 1: Current some day smoker 2: Former smoker 3: Smoker, current status unknown 9: Unknown if ever smoked]]></description> <history> <event version="SE22-022-01" user="secristc" date="2022-02-25" ref="68895">Edit created.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy