edits.seer.internal.rules.IFN6263.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="IFN6263" name="Extranodal Extension Clin/Path, Penis, Derived SS 2018 (SEER)" tag="N6263" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.schemaId != '00570' || ((line.extranodalExtensionClin == null || line.extranodalExtensionClin == '8') && (line.extranodalExtensionPath == null || line.extranodalExtensionPath == '8')) || line.derivedSummaryStage2018 == null || line.typeOfReportingSource == '7') return true if (line.extranodalExtensionClin == '7' && line.extranodalExtensionPath == '7' ) return line.derivedSummaryStage2018 != '3' && line.derivedSummaryStage2018 != '4' if (['0', '1', '2', '4'].contains(line.extranodalExtensionClin) && ['0', '1'].contains(line.extranodalExtensionPath)) return !['0', '1', '2'].contains(line.derivedSummaryStage2018) return true]]></expression> <message>Extranodal Extension Clin (non-Head and Neck) and Extranodal Extension Path (non-Head and Neck) 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 Penis. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2021, blank (unknown), or invalid. b. Schema ID is not 00570 c. Extranodal Extension Clin (non-Head and Neck) and Extranodal Extension Path (non-Head and Neck) are both blank or both = 8 (not applicable) d. Derived Summary Stage 2018 is blank e. Type of Reporting Source = 7 (death certificate only) 2. If Extranodal Extension Clin (non-Head and Neck) = 7 (no lymph node involvement during diagnostic workup) and Extranodal Extension Path (non-Head and Neck) = 7 (no lymph node involvement from surgical resection), Derived Summary Stage 2018 must not = 3 or 4 (lymph node involvement) 3. If Extranodal Extension Clin (non-Head and Neck) = 0, 1, 2 or 4 (nodes involved clinically) and Extranodal Extension Path (non-Head and Neck) = 0 or 1 (nodes involved pathologically) Derived Summary Stage 2018 must not = 0, 1 or 2 (in situ, local, or regional by direct 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="68952">CoC Accredited Flag skip condition replaced with Type of Reporting Source</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy