edits.seer.internal.rules.IFN6210.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="IFN6210" name="Response to Neoadjuvant Therapy, Breast, Behavior (NAACCR)" tag="N6210" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.typeOfReportingSource == '7') return true if (line.behaviorCodeIcdO3 == null || line.responseToNeoadjuvantTherapy == null || line.responseToNeoadjuvantTherapy == '8') return true if (line.schemaId == null || line.schemaId != '00480') return true if (line.behaviorCodeIcdO3 == '2') return line.responseToNeoadjuvantTherapy == '0' || (line.responseToNeoadjuvantTherapy == '9' && line.dateOfDiagnosisYear < '2023') return true]]></expression> <message>Behavior Code ICD-O-3 conflicts with Response to Neoadjuvant Therapy</message> <description><![CDATA[This edit verifies that the Response to Neoadjuvant Therapy SSDI is coded consistently with Behavior Code ICD-O-3 code 2 for Schema ID 00480, Breast. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2021, blank (unknown), or invalid. b. Schema ID is blank or not 00480 c. Response to Neoadjuvant Therapy is blank or 8 (not applicable) d. Behavior Code ICD-O-3 is blank e. Type of Reporting Source is 7 (Death Certificate Only) Response to Neoadjuvant Therapy is required by SEER only if collected by a CoC-accredited facility on an analytic case (CoC Accredited Flag = 1). 2. If Behavior Code ICD-O-3 = 2 and year of diagnosis 2021-2022 then Response to Neoadjuvant Therapy must be coded 0 (Neoadjuvant therapy not given) or 9 (Not documented) 3. If Behavior Code ICD-O-3 = 2 and year of diagnosis 2023+ then Response to Neoadjuvant Therapy must be coded 0 defined as non-invasive neoplasm behavior)]]></description> <history> <event version="SE22-022-05" user="secristc" date="2022-05-04" ref="68938">Edit created.</event> <event version="SE23-023-01" user="shearerw" date="2023-02-22" ref="69173">Stop allowing 9 for Response to Neoadjuvant Therapy for 2023 forward.</event> </history> </rule>