edits.seer.internal.rules.IFN6193.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="IFN6193" name="Extranodal Extension Clin/Path (non-Head and Neck), Behavior (NAACCR)" tag="N6193" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.schemaId == null || !['00460', '00570'].contains(line.schemaId) || ((line.extranodalExtensionClin == null || line.extranodalExtensionClin == '8') && (line.extranodalExtensionPath == null || line.extranodalExtensionPath == '8')) || line.typeOfReportingSource == '7') return true if (line.behaviorCodeIcdO3 == '2') return (line.extranodalExtensionClin == null || ['7', '8','9'].contains(line.extranodalExtensionClin)) && (line.extranodalExtensionPath == null || ['7', '8','9'].contains(line.extranodalExtensionPath)) return true]]></expression> <message>Extranodal Extension Clin (non-Head and Neck) conflicts with Behavior Code ICD-O-3</message> <description><![CDATA[This edit verifies that the Extranodal Extension Clin (non-Head and Neck) and Extranodal Extension Path (non-Head and Neck) SSDIs are coded consistently with Behavior Code ICD-O-3 code 2 for Schema IDs 00460, Merkel Cell, and 00570, Penis. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2021, blank (unknown), or invalid. b. Schema ID is blank or not 00460 or 00570 c. Extranodal Extension Clin (non-Head and Neck) is blank or 8 and Extranodal Extension Path (non-Head and Neck) is blank or 8 d. Behavior Code ICD-O-3 is blank e. Type of Reporting Source is 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 Behavior Code ICD-O-3 = 2 (in situ) then Extranodal Extension Clin (non-Head and Neck) if not blank must equal 7 (no lymph node involvement on diagnostic workup (cN0)), 8 (not applicable), or 9 (notdocumented in medical record) and Extranodal Extension Path (non-Head and Neck) if not blank must = 7 (no lymph node involvement on surgical resection (pN0)), 8 (not applicable),or 9 (not documented in medical record)]]></description> <history> <event version="SE22-022-05" user="secristc" date="2022-05-04" ref="68938">Edit created.</event> </history> </rule>