edits.seer.internal.rules.IFN5046.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.
The newest version!
<rule id="IFN5046" name="Extranodal Extension Clin/Path, Merkel Cell, Summary Stage 2018 (NAACCR)" tag="N5046" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[ if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.schemaId != '00460' || line.summaryStage2018 == null || line.typeOfReportingSource == '7') return true if ((line.extranodalExtensionClin == null || line.extranodalExtensionClin == '8') && (line.extranodalExtensionPath == null || line.extranodalExtensionPath == '8')) return true if (['0','1','2','4'].contains(line.extranodalExtensionClin) && ['0','1'].contains(line.extranodalExtensionPath) && ['0','1','2'].contains(line.summaryStage2018)) return false return true ]]></expression> <message>Extranodal SSDIs/Summary Stage 2018 conflict for Merkel Cell</message> <description><![CDATA[This edit verifies that the extranodal extension SSDIs are coded consistently with Summary Stage 2018 for Merkel Cell Carcinoma. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2019, 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. Summary Stage 2018 is blank e. Type of Reporting Source = 7 (death certificate only) Extranodal Extension Clin (non-Head and Neck) and Extranodal Extension Path (non-Head and Neck) are required by SEER only if collected by a CoC-accredited facility on an analytic case (CoC Accredited Flag = 1). 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), Summary Stage 2018 must not = 0, 1 or 2 (in situ, local, or regional by direct extension only)]]></description> <history> <event version="SE22-022-05" user="beverung" date="2022-05-04" ref="68966">Edit created.</event> <event version="SE22-022-08" user="secristc" date="2022-06-23" ref="69011">Updated error message.</event> </history> </rule>