edits.seer.internal.rules.IFN6639.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="IFN6639" name="Grade Post Therapy, Treatment Status (NAACCR)" tag="N6639" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2022' || line.rxSummTreatmentStatus == null) return true if (line.gradePostTherapyClin == null && line.gradePostTherapy == null) return true if (['0','2','9'].contains(line.rxSummTreatmentStatus)) return line.gradePostTherapyClin == null && line.gradePostTherapy == null return true]]></expression> <message>Grade Post Therapy Clin (yc) and Grade Post Therapy Path (yp) conflicts with RX Summ--Treatment Status.</message> <description><![CDATA[This edit enforces consistency of coding between Grade Post Therapy Clin (yc), Grade Post Therapy Path (yp), and RX Summ--Treatment Status. 1. The edit is skipped for any of the following: a. Diagnosis date blank (unknown), invalid, or pre-2022. b. Grade Post Therapy Clin (yc) and Grade Post Therapy Path (yp) are both blank. c. Treatment Status is blank. 2. If RX Summ--Treatment Status = 0 (no treatment), 2 (watchful waiting), or 9 (unknown if treatment provided), Grade Post Therapy Clin (yc) and Grade Post Therapy Path (yp) must both be blank.]]></description> <history> <event version="SE22-022-01" user="beverung" date="2022-03-04" ref="68896">Edit Created</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy