edits.seer.internal.rules.IFN6711.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="IFN6711" name="Grade Post Therapy Path (yp), Surgery Sequence (NAACCR)" tag="N6711" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if ((line.rxSummSystemicSurSeq == null && line.rxSummSurgRadSeq == null) || line.dateOfDiagnosisYear < '2023' || line.dateOfDiagnosisYear == null || line.gradePostTherapy == '8') return true if (line.rxSummSystemicSurSeq == '0' && line.rxSummSurgRadSeq == '0') return line.gradePostTherapy == null return true]]></expression> <message>If RX Summ--Surg/Rad Seq and RX Summ--Systemic/Sur Seq both = 0, Grade Post Therapy Path (yp) must be blank</message> <description><![CDATA[This edit checks that Grade Post Therapy Path (yp) is coded consistently with the sequence fields for surgery and radiation and surgery and systemic therapy. 1. This edit is skipped under the following conditions: a. Date of diagnosis = pre-2023, blank (unknown) or invalid. b. Grade Post Therapy Path (yp) = 8. c. RX Summ--Surg/Rad Seq and RX Summ--Systemic Sur/Seq are both blank. 2. if RX Summ--Surg/Rad Seq and RX Summ--Systemic Sur/Seq = 0 Grade Post Therapy Path(yp) must be blank]]></description> <history> <event version="SE23-023-05" user="cooki" date="2023-06-23" ref="69226">Edit created.</event> </history> </rule>