edits.seer.internal.rules.IFN2833.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="IFN2833" name="Sentinel Lymph Nodes Examined, Regional Nodes Examined (COC)" tag="N2833" java-path="lines.line" category="inter-field"> <expression><![CDATA[if (line.sentinelLymphNodesExamined == null || line.regionalNodesExamined == null) return true if (line.regionalNodesExamined == '00') return line.sentinelLymphNodesExamined == '00' else if (line.regionalNodesExamined == '95') return line.sentinelLymphNodesExamined == '95' || line.sentinelLymphNodesExamined == '00' else if (line.sentinelLymphNodesExamined >= '01' && line.sentinelLymphNodesExamined <= '90') return ((line.regionalNodesExamined >= '01' && line.regionalNodesExamined <= '90' && line.sentinelLymphNodesExamined <= line.regionalNodesExamined) || line.regionalNodesExamined >= '96' && line.regionalNodesExamined <= '98') else if (line.sentinelLymphNodesExamined == '98') return ((line.regionalNodesExamined >= '01' && line.regionalNodesExamined <= '90') || (line.regionalNodesExamined >= '96' && line.regionalNodesExamined <= '98')) else if (line.sentinelLymphNodesExamined == '95') return ((line.regionalNodesExamined >= '01' && line.regionalNodesExamined <= '90') || (line.regionalNodesExamined >= '95' && line.regionalNodesExamined <= '98')) return true]]></expression> <message>Sentinel Lymph Nodes Examined conflicts with Regional Nodes Examined</message> <description><![CDATA[This edit checks that Sentinel Lymph Nodes Examined and Regional Nodes Examined are coded consistently with each other. This edit is skipped if: 1. Sentinel Lymph Nodes Examined is blank 2. Regional Nodes Examined is blank 1. If Regional Lymph Nodes Examined = 00 (no regional nodes examined), Sentinel Lymph Nodes Examined must = 00 (no sentinel nodes examined). 2. If Regional Lymph Nodes Examined = 95 (aspiration or core biopsy of regional nodes only), Sentinel Lymph Nodes Examined must = 00 (no sentinel nodes examined) or 95 (aspiration of sentinel nodes). 3. If Sentinel Lymph Nodes Examined = 01-90 (number of sentinel nodes examined), Regional Nodes Examined must = 01-90 (number of regional nodes examined) and be greater than or equal to Sentinel Lymph Nodes Examined, or = 96-98 (regional nodes examined, unknown number). 4. If Sentinel Lymph Nodes Examined = 98 (sentinel nodes examined, unknown number), Regional Nodes Examined must = 01-90 (number of regional nodes examined) or = 96-98 (regional nodes examined, unknown number). 5. If Sentinel Lymph Nodes Examined = 95 (aspiration of sentinel nodes), Regional Nodes Examined must = 01-90 (number of nodes examined), 95 (aspiration or core biopsy of nodes only), or 96-98 (regional nodes examined, unknown number).]]></description> <history> <event version="SE18-018-02" user="schadega" date="2018-05-30" ref="67783">Edit created.</event> <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed some edit dependencies.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy