edits.seer.internal.rules.IFN2939.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="IFN2939" name="B Symptoms, Date DX (NAACCR)" tag="N2939" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null) return true if (line.dateOfDiagnosisYear < '2018') return line.bSymptoms == null return line.bSymptoms == null || Functions.matches(line.bSymptoms, /^[0189]$/)]]></expression> <message>B Symptoms is not valid for Date DX</message> <description><![CDATA[The edit is skipped if Date of Diagnosis is blank (unknown), or invalid. 1. This data item must be blank for pre-2018 diagnoses. 2. Must be a valid B Symptoms code or blank: 0: No B symptoms (asymptomatic) Classified as "A" by physician when asymptomatic 1: Any B symptom(s) Night sweats (drenching) Unexplained fever (above 38 degrees C) Unexplained weight loss (generally greater than 10% of body weight in the six months before admission) B symptoms, NOS Classified as "B" by physician when symptomatic 8: Not applicable: Information not collected for this case 9: Not documented in medical record B symptoms not assessed or unknown if assessed Another edit, B Symptoms, Schema ID, Required (NAACCR), checks that the item is coded by Schema ID if required by a standard setter.]]></description> <history> <event version="SE18-018-03" user="kirbyk" date="2018-07-12" ref="67916">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy