edits.seer.internal.rules.IFN3035.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="IFN3035" name="Extranodal Extension Clin/Path, Penis, EOD Regional Nodes (SEER)" tag="N3035" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.schemaId != '00570' || line.eodRegionalNodes == null) return true String clin = line.extranodalExtensionClin String path = line.extranodalExtensionPath if ((clin == null || clin == '8') && (path == null || path == '8')) return true if (clin == '7' && path == '7') return line.eodRegionalNodes == '000' else if (['0', '1', '2', '4'].contains(clin) && path == '7') return ['100', '200', '300', '800'].contains(line.eodRegionalNodes) else if (path == '0') return line.eodRegionalNodes == '400' || line.eodRegionalNodes == '500' else if (path == '1') return line.eodRegionalNodes == '500' return true]]></expression> <message>Extranodal SSDIs/EOD Regional Nodes conflict for Penis</message> <description><![CDATA[This edit verifies that the extranodal extension SSDIs are coded consistently with EOD Regional Nodes 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. EOD Regional Nodes is blank 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), EOD Regional Nodes must = 000 (no 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) = 7 ( no nodes involved on surgical resection) EOD Regional Nodes must = 100, 200, 300 (clinical nodal involvement) or 800 (regional nodes NOS) 4. If Extranodal Extension Path (non-Head and Neck), = 0 (nodes involved, no ENE) EOD Regional Nodes must = 400 (positive inguinal nodes without nodal extension) or 500 (pathological nodes with ENE or pathological pelvic nodes) 5. If Extranodal Extension Path (non-Head and Neck), = 1 (nodes involved, ENE present) EOD Regional Nodes must = 500 (pathological nodes with ENE or pathological pelvic nodes)]]></description> <history> <event version="SE18-019-01" user="kirbyk" date="2019-04-12" ref="68171">Edit created.</event> <event version="SE18-020-05" user="beverung" date="2020-07-28" ref="68385">Changed name and added 4 to Extranodal Extension Clin (non-Head and Neck) values in step 3.</event> <event version="SE22-022-03" user="beverung" date="2022-04-27" ref="68947">Update edit name and remove CoC Accredited Flag.</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