edits.seer.internal.rules.IFN6291.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="IFN6291" name="Extranodal Extension Head and Neck Clin, Head/Neck, Behavior (NAACCR)" tag="N6291" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.schemaId == null || !((List)Context.IFN_6292_SchemaId_List).contains(line.schemaId) || line.extranodalExtensionHeadNeckClin == null || line.extranodalExtensionHeadNeckClin == '8' || line.behaviorCodeIcdO3 == null || line.typeOfReportingSource == '7') return true if (line.behaviorCodeIcdO3 == '2') { if (line.dateOfDiagnosisYear < '2023') return ['7','9'].contains(line.extranodalExtensionHeadNeckClin) else return line.extranodalExtensionHeadNeckClin == '7' } return true]]></expression> <message>Extranodal Extension Head and Neck Clinical conflicts with Behavior Code ICD-O-3</message> <description><![CDATA[This edit verifies that the Extranodal Extension Head and Neck Clinical SSDI is coded consistently with Behavior Code ICD-O-3 /2 for in situ, for head and neck Schema IDs. 1. This edit is skipped for the following conditions: a. Date of Diagnosis is pre-2021, blank (unknown), or invalid. b. Schema ID is blank or not 00071, 00072, 00073, 00074, 00075, 00076, 00077, 00080, 00090, 00100, 00111, 00112, 00121, 00122, 00130, 00131, 00132, 00133, 00140. c. Extranodal Extension Head and Neck Clinical is blank or 8 (not applicable) d. Behavior Code ICD-O-3 is blank e. Type of Reporting Source = 7 (Death Certificate Only) Extranodal Extension Head and Neck Clinical 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 (in situ) and year of diagnosis = 2021-2022 then Extranodal Extension Head and Neck Clinical must = 7 (no lymph node involvement during diagnostic workup) or 9 (not documented in medical record) 3. If Behavior Code ICD-O-3 = 2 (in situ) and year of diagnosis = 2023+ then Extranodal Extension Head and Neck Clinical must = 7 (nnon-invasive neoplasm, behavior /2)]]></description> <history> <event version="SE22-022-05" user="secristc" date="2022-05-04" ref="68938">Edit created.</event> <event version="SE23-023-01" user="secristc" date="2023-02-21" ref="69176">Removed 9 as a valid code for DX year >= 2023.</event> </history> </rule>