edits.seer.internal.rules.IFN6110.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="IFN6110" name="Number of Examined Para-Aortic/Pelvic Nodes, Corpus, Reg Nodes Examined (NAACCR)" tag="N6110" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.regionalNodesExamined == null) return true if (!['00530', '00541', '00542', '00528'].contains(line.schemaId)) return true String pelvicNodes = line.numberOfExaminedPelvicNodes String paraAorticNodes = line.numberOfExaminedParaAorticNodes if ((pelvicNodes == null || pelvicNodes == 'X8') && (paraAorticNodes == null || paraAorticNodes == 'X8')) return true if (line.regionalNodesExamined == '00') if ((pelvicNodes != '00' && pelvicNodes != 'X9') || (paraAorticNodes != '00' && paraAorticNodes != 'X9')) return false if (line.regionalNodesExamined == '95') if ((pelvicNodes != '00' && pelvicNodes != 'X6' && pelvicNodes != 'X9') || (paraAorticNodes != '00' && paraAorticNodes != 'X6' && paraAorticNodes != 'X9')) return false if ((Functions.matches(pelvicNodes, /^0[1-9]|[1-9]\d|X[126]$/) || Functions.matches(paraAorticNodes, /^0[1-9]|[1-9]\d|X[126]$/)) && line.regionalNodesExamined == '00') return false return true]]></expression> <message>Regional Nodes Examined conflicts with Number of Examined Para-Aortic Nodes and Number of Examined Pelvic Nodes</message> <description><![CDATA[This edit verifies that Number of Examined Para-Aortic Nodes and Number of Examined Pelvic Nodes SSDIs are coded consistently with Regional Nodes Examined for Corpus Uteri. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2019, blank (unknown), or invalid. b. Schema ID is not 00530, 00541, 00542, 00528 c. Number of Examined Para-Aortic Nodes and Number of Examined Pelvic Nodes are both blank or not applicable. d. Regional Nodes Examined is blank 2. If Regional Nodes Examined = 00, then Number of Examined Para-Aortic Nodes must = 00 or X9 and Number of Examined Pelvic Nodes must = 00 or X9 (no nodes examined or unknown if nodes examined) 3. If Regional Nodes Examined = 95 (aspiration or core biopsy of nodes only) then Number of Examined Para-Aortic Nodes must = 00, X6 (aspiration or core biopsy only), or X9 and Number of Examined Pelvic Nodes must = 00, X6 (aspiration or core biopsy only), or X9 4. If Number of Examined Para-Aortic Nodes = 01-99, X1, X2, X6 or Number of Examined Pelvic Nodes = 01-99, X1, X2, X6 (examined nodes), then Regional Nodes Examined must not = 00 (no nodes examined)]]></description> <history> <event version="SE22-022-05" user="secristc" date="2022-05-04" ref="68938">Edit created.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy