edits.seer.internal.rules.IFN3043.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="IFN3043" name="Extranodal Extension Clin/Path, Merkel Cell, EOD Regional Nodes (SEER)" tag="N3043" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.schemaId != '00460' || line.eodRegionalNodes == null) return true if (line.registryId == '0000001565' && line.dateOfDiagnosisYear > '2017' && line.dateOfDiagnosisYear < '2023') return true if (line.registryId == '0000001566' && line.dateOfDiagnosisYear > '2017' && line.dateOfDiagnosisYear < '2022') 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 ['000', '600', '700'].contains(line.eodRegionalNodes) else if (['0', '1', '2', '4'].contains(clin) && path == '7') return ['100', '200', '650', '800'].contains(line.eodRegionalNodes) else if (clin == '7' && (path == '0' || path == '1')) return ['300', '350', '500', '750'].contains(line.eodRegionalNodes) else if (['0', '1', '2'].contains(clin) && (path == '0' || path == '1')) return line.eodRegionalNodes == '400' || line.eodRegionalNodes == '750' return true]]></expression> <message>Extranodal SSDIs/EOD Regional Nodes conflict for Merkel Cell</message> <description><![CDATA[This edit verifies that the extranodal extension SSDIs are coded consistently with EOD Regional Nodes 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. EOD Regional Nodes is blank e. Registry ID = 0000001565 (Illinois) and Year of Diagnosis 2018-2022 f. RegistryID = 0000001566 (Texas) and Year of Diagnosis = 2018-2021 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), 600 or 700 (in-transit metastasis without lymph node metastasis or unknown) 3. If Extranodal Extension Clin (non-Head and Neck) = 0, 1, 2, or 4 (regional nodes involved), and Extranodal Extension Path (non-Head and Neck) = 7 (no regional nodes involved), EOD Regional Nodes must = 100 (clinical without biopsy), 200 (clinical on core biopsy/FNA), 650 (clinical in transit and nodal metastases), or 800 (regional nodes NOS) 4. If Extranodal Extension Clin (non-Head and Neck) = 7 (no nodes involved) and Extranodal Extension Path (non-Head and Neck) = 0 or 1 (nodes involved) EOD Regional Nodes must = 300 or 350 (clinically occult, positive pathologically), 500 (clinically unknown, positive pathologically), or 750 (clinically unknown or negative, positive pathologically) 5. If Extranodal Extension Clin (non-Head and Neck) = 0, 1, or 2 (nodes involved) and Extranodal Extension Path (non-Head and Neck) = 0 or 1 (nodes involved) EOD Regional Nodes must = 400 (clinically and pathologically positive nodes), or 750 (pathologically positive nodes with in transit metastasis)]]></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-30" ref="68383">Update name and add 4 to Extranodal Extension Clin (non-Head and Neck) codes in step 3.</event> <event version="SE21-021-03" user="beverung" date="2021-02-17" ref="68561">Add codes 600, 700 when SSDIs = 7.</event> <event version="SE21-021-09" user="beverung" date="2021-08-26" ref="68721">Add skip conditions for IL and TX for DX Years 2018-2020.</event> <event version="SE22-022-03" user="secristc" date="2022-04-20" ref="68956">Change skip condition for IL to DX Years 2018-2022, and TX to 2018-2021</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