edits.seer.internal.rules.IFN5047.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="IFN5047" name="Extranodal Extension Clin/Path, Penis, Summary Stage 2018 (NAACCR)" tag="N5047" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[ if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.schemaId != '00570' || line.summaryStage2018 == null || line.typeOfReportingSource == '7') return true if ((line.extranodalExtensionClin == null || line.extranodalExtensionClin == '8') && (line.extranodalExtensionPath == null || line.extranodalExtensionPath == '8')) return true if (line.extranodalExtensionClin == '7' && line.extranodalExtensionPath == '7' && ['3','4'].contains(line.summaryStage2018)) return false 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 Penis</message> <description><![CDATA[This edit verifies that the extranodal extension SSDIs are coded consistently with Summary Stage 2018 for Penis. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2019, 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. 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), 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) 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>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy