edits.seer.internal.rules.IFN6259.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="IFN6259" name="Extranodal Extension Head and Neck Clin/Path, Derived SS 2018 (SEER)" tag="N6259" 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_6259_SchemaId_List).contains(line.schemaId) || ((line.extranodalExtensionHeadNeckClin == null || line.extranodalExtensionHeadNeckClin == '8') && (line.extranodalExtensionHeadNeckPath == null || line.extranodalExtensionHeadNeckPath == 'X.8')) || line.derivedSummaryStage2018 == null || line.typeOfReportingSource == '7') return true if (line.extranodalExtensionHeadNeckClin == '7' && line.extranodalExtensionHeadNeckPath == 'X.7') return !['3', '4'].contains(line.derivedSummaryStage2018) if (['0', '1', '2', '4'].contains(line.extranodalExtensionHeadNeckClin) && Functions.matches(line.extranodalExtensionHeadNeckPath, /^\d\.\d|X\.[1-4]$/)) return !['0', '1', '2'].contains(line.derivedSummaryStage2018) return true]]></expression> <message>Extranodal Extension Head and Neck Clinical and Extranodal Extension Head and Neck Pathological conflict with Derived Summary Stage 2018</message> <description><![CDATA[This edit verifies that the extranodal extension SSDIs are coded consistently with Derived Summary Stage 2018 for head and neck sites. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2021, blank (unknown), or invalid. b. Schema ID is not 00060, 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 and Extranodal Extension Head and Pathological are both blank or not applicable d. Derived Summary Stage 2018 is blank. e. Type of Reporting Source = 7 (death certificate only). 2. If Extranodal Extension Head and Neck Clinical = 7 (cN0) and Extranodal Extension Head and Neck Pathological = X.7 (pN0), Derived Summary Stage 2018 must not = 3 or 4 (regional nodes involved). 3. If Extranodal Extension Head and Neck Clinical = 0, 1, 2 or 4 (clinical nodal involvement), and Extranodal Extension Head and Neck Pathological = 0.0-9.9, X.1-X.4 (nodal involvement), Derived Summary Stage 2018 must not = 0, 1, or 2 (in situ, local, or regional by extension only)]]></description> <history> <event version="SE21-021-04" user="smithm" date="2021-04-29" ref="68624">Edit created.</event> <event version="SE22-022-03" user="secristc" date="2022-04-20" ref="68950">Removed skip condition for CoC Accredited Flag, added condition for Type of Reporting Source.</event> <event version="SE22-022-04" user="secristc" date="2022-04-29" ref="68967">Change skip value for Extranodal Extension Head and Neck Clinical to 8.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy