edits.seer.internal.rules.IFN6714.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="IFN6714" name="Grade Post Therapy, Systemic Treatment (NAACCR)" tag="N6714" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if ((line.gradePostTherapy == null && line.gradePostTherapyClin == null) || line.dateOfDiagnosisYear < '2023' || line.dateOfDiagnosisYear == null || (line.phase1RadiationTreatmentModality == null && line.rxSummChemo == null && line.rxSummHormone == null && line.rxSummBrm == null && line.rxSummTransplntEndocr == null && line.rxSummOther == null)) return true if (Functions.matches(line.phase1RadiationTreatmentModality, /^00|99$/) && Functions.matches(line.rxSummChemo, /^00|8[25-8]|99$/) && Functions.matches(line.rxSummHormone, /^00|8[25-8]|99$/) && Functions.matches(line.rxSummBrm, /^00|8[25-8]|99$/) && Functions.matches(line.rxSummTransplntEndocr, /^00|8[25-8]|99$/) && Functions.matches(line.rxSummOther, /^[07-9]$/)) return line.gradePostTherapy == null && line.gradePostTherapyClin == null return true]]></expression> <message>Grade Post Therapy Clin (yc) and Grade Post Therapy Path (yp) must be blank if no radiation or systemic therapy</message> <description><![CDATA[This edit enforces consistency of coding between Grade Post Therapy Clin (yc), Grade Post Therapy Path (yp), and radiation and systemic treatment data items 1. The edit is skipped for any of the following: a. Diagnosis date blank (unknown), invalid, or pre-2023. b. Grade Post Therapy Clin (yc) and Grade Post Therapy Path (yp) are both blank. c. Phase I Radiation Treatment Modality, RX Summ--Chemo, RX Summ--Hormone, RX Summ--Brm, RX Summ--Transplnt Endocr, and RX Summ--Other are all blank 2. If treatment fields are coded no treatment or unknown if treatment, Grade Post Therapy Clin (yc) and Grade Post Therapy Path (yp)must both be blank.]]></description> <history> <event version="SE23-023-05" user="cooki" date="2023-06-23" ref="69226">Edit created.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy