edits.seer.internal.rules.IFN7063.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="IFN7063" name="Response to Neoadjuvant Therapy, Breast, Neoadjuvant (NAACCR)" tag="N7063" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2024' || line.schemaId != '00480' || line.responseToNeoadjuvantTherapy == null || line.responseToNeoadjuvantTherapy == '8' || line.neoadjuvTherapyTreatmentEffect == null || line.neoadjuvTherapyTreatmentEffect == '8' || line.typeOfReportingSource == '7') return true if (line.neoadjuvTherapyTreatmentEffect == '0') return line.responseToNeoadjuvantTherapy == '0' if (line.responseToNeoadjuvantTherapy == '0') return line.neoadjuvTherapyTreatmentEffect == '0' if (line.neoadjuvTherapyTreatmentEffect == '9') return line.responseToNeoadjuvantTherapy == '9' return true]]></expression> <message>Conflict between Response to Neoadjuvant Therapy and Neoadjuvant Therapy-Treatment Effect</message> <description><![CDATA[This edit verifies that the Response to Neoadjuvant Therapy SSDI is coded consistently with Neoadjuvant Therapy. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2024, blank (unknown), or invalid. b. Schema ID is not 00480 c. Response to Neoadjuvant Therapy is blank or 8 (not applicable). d. Neoadjuvant Therapy Treatment Effect is blank or 8 (not applicable). e. Type of Reporting Source = 7 (death certificate only) 2. If Neoadjuvant Therapy Treatment Effect = 0 (no neoadjuvant therapy) then Response to Neoadjuvant Therapy must be coded 0 (no neoadjuvant therapy) 3. If Response to Neoadjuvant Therapy = 0 (no neoadjuvant therapy) Neoadjuvant Therapy Treatment Effect must = 0 (no neoadjuvant therapy) 4. If Neoadjuvant Therapy Treatment Effect coded 9 (unknown if neoadjuvant therapy performed) Response to Neoadjuvant Therapy must be coded 9 (not documented in medical record)]]></description> <history> <event version="SE24-024-03" user="cooki" date="2024-03-19" ref="69437">Edit Created.</event> </history> </rule>