edits.seer.internal.rules.IFN6815.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="IFN6815" name="Number of Positive/Examined Nodes, Corpus, Scope Nodes (NAACCR)" tag="N6815" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2023' || line.rxSummScopeRegLnSur == null || line.typeOfReportingSource == '7') return true if (!['00528', '00530', '00541', '00542'].contains(line.schemaId)) return true if ((line.numberOfPositivePelvicNodes == null || line.numberOfPositivePelvicNodes == 'X8') && (line.numberOfExaminedPelvicNodes == null || line.numberOfExaminedPelvicNodes == 'X8') && (line.numberOfPositiveParaAorticNodes == null || line.numberOfPositiveParaAorticNodes == 'X8') && (line.numberOfExaminedParaAorticNodes == null || line.numberOfExaminedParaAorticNodes == 'X8')) return true if (line.rxSummScopeRegLnSur == '0') return line.numberOfPositivePelvicNodes == 'X9' && line.numberOfPositiveParaAorticNodes == 'X9' && line.numberOfExaminedPelvicNodes == '00' && line.numberOfExaminedParaAorticNodes == '00' if (line.rxSummScopeRegLnSur == '1') return (line.numberOfPositivePelvicNodes == 'X6' || line.numberOfPositivePelvicNodes == 'X9') && (line.numberOfPositiveParaAorticNodes == 'X6' || line.numberOfPositiveParaAorticNodes == 'X9') && (line.numberOfExaminedPelvicNodes == '00' || line.numberOfExaminedPelvicNodes == 'X6') && (line.numberOfExaminedParaAorticNodes == '00' || line.numberOfExaminedParaAorticNodes == 'X6') if (line.rxSummScopeRegLnSur == '9') return line.numberOfPositivePelvicNodes == 'X9' && line.numberOfPositiveParaAorticNodes == 'X9' && line.numberOfExaminedPelvicNodes == 'X9' && line.numberOfExaminedParaAorticNodes == 'X9' return true]]></expression> <message>RX Summ--Scope Reg LN Sur conflicts with Number of Examined Para-Aortic Nodes, Number of Examined Pelvic Nodes, Number of Positive Para-Aortic Nodes, and/or Number of Positive Pelvic Nodes</message> <description><![CDATA[This edit verifies that the Number of Positive and Examined Pelvic Nodes and Number of Positive and Examined Para-Aortic Nodes SSDIs are coded consistently with RX Summ--Scope Reg LN Surgery for Schema ID 00528 Cervix Sarcoma, 00530, Corpus Carcinoma and Carcinosarcoma, 00541,Corpus Sarcoma, and 00542, Corpus Adenosarcoma. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2023, blank (unknown), or invalid. b. Schema ID is not 00528, 00530, 00541, or 00542 c. RX Summ--Scope Reg LN Sur is blank d. Type of Reporting Source = 7 (death certificate only) e. All SSDI fields are blank or not applicable 2. For the following SSDIS: Number of Positive Pelvic Nodes Number of Examined Pelvic Nodes Number of Positive Para-Aortic Nodes Number of Examined Para-Aortic Nodes A. If RX Summ--Scope Reg LN Sur = 0 (no procedure performed) 1. the Nodes Positive SSDIs must = X9 (no lymph node dissection performed) 2. the Nodes Examined SSDIs must = 00 (no nodes examined) B. If RX Summ--Scope Reg LN Sur = 1 (nodal aspiration or needle biopsy) 1. The Nodes Positive SSDIs must = X6 (positive aspiration or biopsy) or X9 (negative aspiration or biopsy, no nodes removed) 2. The Nodes Examined SSDIs must = 00 (no nodes examined) or X6 (aspiration or core biopsy of nodes only) C. If RX Summ--Scope Reg LN Sur = 9 (unknown if procedure performed) 1. the Nodes Positive SSDIs must = X9 (no lymph node dissection performed) 2. the Nodes Examined SSDIs must = X9 (no nodes examined)]]></description> <history> <event version="SE23-023-05" user="shearerw" date="2023-06-16" ref="69240">Edit Created.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy