edits.seer.internal.rules.IFN6261.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="IFN6261" name="Extranodal Extension Clin/Path, Merkel Cell, Derived SS 2018 (SEER)" tag="N6261" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.schemaId != '00460' || line.derivedSummaryStage2018 == null || line.typeOfReportingSource == '7') return true String clin = line.extranodalExtensionClin String path = line.extranodalExtensionPath if ((clin == null || clin == '8') && (path == null || path == '8')) return true return (!['0', '1', '2', '4'].contains(clin) || !['0', '1'].contains(path) || !['0', '1', '2'].contains(line.derivedSummaryStage2018))]]></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 Merkel Cell Carcinoma. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2021, blank (unknown), or invalid. b. Schema ID is not 00460 c. Extranodal Extension Clin (non-Head and Neck) and Extranodal Extension Path (non-Head and Neck) are both blank or both 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) = 0, 1, 2, or 4 (regional nodes involved), and Extranodal Extension Path (non-Head and Neck) = 0 or 1 (regional nodes involved), 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-03" user="beverung" date="2021-02-17" ref="68560">Edit created.</event> <event version="SE22-022-03" user="secristc" date="2022-04-20" ref="68951">Replaced CoC Accredited Flag skip condition with Type of Reporting Source.</event> </history> </rule>