edits.seer.internal.rules.IFN3968.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="IFN3968" name="RX Date Radiation, PhI Radiation Treatment Modality (NAACCR)" tag="N3968" java-path="lines.line" category="inter-field"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018') return true if (line.phase1RadiationTreatmentModality == '00' || line.phase1RadiationTreatmentModality == '99') return line.rxDateRadiationDay == null && line.rxDateRadiationMonth == null && line.rxDateRadiationYear == null if (line.rxDateRadiationDay != null || line.rxDateRadiationMonth != null || line.rxDateRadiationYear != null) return Functions.matches(line.phase1RadiationTreatmentModality, /^0[1-9]|1[0-6]|98$/) return true ]]></expression> <message>Phase I Radiation Treatment Modality conflicts with RX Date Radiation</message> <description><![CDATA[This edit is skipped if any Diagnosis date before 2018, blank (unknown), or invalid 1. If Phase I Radiation Treatment Modality = 00 (no radiation) or 99 (unknown if radiation) RX Date Radiation must = blank. 2. If RX Date Radiation is not blank, (radiation therapy administered), then Phase I Radation Treatment Modality must equal 01-16,98 (treatment modalities).]]></description> <history> <event version="SE18-018-02" user="schadega" date="2018-05-29" ref="67793">Edit created.</event> <event version="SE18-018-03" user="kirbyk" date="2018-07-20" ref="67961">Removed unnecessary dependency.</event> <event version="SE18-018-05" user="schadega" date="2018-08-14" ref="67993">Edit name change.</event> <event version="SE18-018-05" user="kirbyk" date="2018-08-15" ref="68017">Changed edit to use Radiation Date year field instead of the full date field.</event> <event version="SE21-021-09" user="secristc" date="2021-09-14" ref="68750">Added condition to skip edit for DX year before 2018.</event> <event version="SE22-022-09" user="secristc" date="2022-08-10" ref="69020">Updated edit logic to use RX Date Radiation</event> <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed edit dependencies.</event> </history> </rule>