
edits.seer.internal.rules.IFN6174.xml Maven / Gradle / Ivy
<rule id="IFN6174" name="Number of Positive Pelvic Nodes/Positive Para-aortic Nodes, Corpus Uteri, EOD Regional Nodes (SEER)" tag="N6174" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[ if(line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || !['00528', '00530','00541','00542'].contains(line.schemaId) || line.eodRegionalNodes == null || line.typeOfReportingSource == '7') return true if ((line.numberOfPositivePelvicNodes == null || line.numberOfPositivePelvicNodes == 'X8') && (line.numberOfPositiveParaAorticNodes == null || line.numberOfPositiveParaAorticNodes == 'X8')) return true if (line.schemaId == '00530') { if (Functions.matches(line.numberOfPositivePelvicNodes, /^0[1-9]|[1-9]\d|X[126]$/) && Functions.matches(line.numberOfPositiveParaAorticNodes, /^00|X[89]$/)) return ['100','200','300'].contains(line.eodRegionalNodes) if (Functions.matches(line.numberOfPositiveParaAorticNodes, /^0[1-9]|[1-9]\d|X[126]$/)) return ['400','500','600'].contains(line.eodRegionalNodes) } if (['00528', '00541','00542'].contains(line.schemaId)) if (Functions.matches(line.numberOfPositivePelvicNodes, /^0[1-9]|[1-9]\d|X[126]$/) || Functions.matches(line.numberOfPositiveParaAorticNodes, /^0[1-9]|[1-9]\d|X[126]$/)) return line.eodRegionalNodes == '300' if (line.eodRegionalNodes == '000') return Functions.matches(line.numberOfPositiveParaAorticNodes, /^00|X[89]$/) && Functions.matches(line.numberOfPositivePelvicNodes, /^00|X[89]$/) return true ]]></expression> <message>Number of Positive Pelvic Nodes and Number of Positive Para-Aortic Nodes conflict with EOD Regional Nodes</message> <description><![CDATA[This edit verifies that the Number of Positive Pelvic Nodes SSDI and the Number of Positive Para-aortic Nodes SSDI are coded consistently with EOD Regional Nodes for Schema ID 00531, 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 2021, blank (unknown), or invalid. b. Schema ID is blank or not 00528, 00530, 00541, or 00542 c. Number of Positive Pelvic Nodes and Number of Positive Para-aortic Nodes are both blank or both = X8 (not applicable) d. EOD Regional Nodes is blank e. Type of Reporting Source is 7 (Death Certificate Only) 2. If Schema ID = 00530: a. If Number of Positive Pelvic Nodes = 01-99, X1 (100 or more nodes positive), X2 (positive nodes, number unknown),or X6 (positive aspiration or core biopsy of nodes) and Number of Positive Para-aortic Nodes = 00 (no nodes involved), X8 (not applicable), or X9 (not documented in medical record), then EOD Regional Nodes must = 100, 200, or 300 (positive pelvic nodes) b. If Number of Positive Para-aortic Nodes = 01-99, X1 (100 or more nodes positive), X2 (positive nodes, number unknown), or X6 (positive aspiration or core biopsy of nodes), then EOD Regional Nodes must = 400, 500, or 600 (positive para-aortic nodes) 3. If Schema ID = 00528, 00541 or 00542: a. If Number of Positive Pelvic Nodes = 01-99, X1, X2, or X6 then EOD Regional Nodes must = 300 (positive nodes) b. If Number of Positive Para-aortic Nodes = 01-99, X1, X2, or X6, then EOD Regional Nodes must = 300 (positive nodes) 4. If EOD Regional Nodes = 000 (no nodes involved), then Number of Positive Pelvic Nodes must = 00, X8, or X9 and Number of Positive Para-aortic Nodes must = 00, X8, or X9]]></description> <history> <event version="SE21-021-04" user="secristm" date="2021-04-08" ref="68611">Edit created.</event> <event version="SE22-022-01" user="smithm" date="2022-01-19" ref="68840">Add 00528 schema id as condition to either fail or skip</event> <event version="SE22-022-03" user="beverung" date="2022-04-27" ref="68947">Update edit name and remove CoC Accredited Flag.</event> </history> </rule>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy