All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edits.seer.internal.rules.IFN2535.xml Maven / Gradle / Ivy

There is a newer version: 024-13
Show newest version
        <rule id="IFN2535" name="Sentinel Lymph Nodes Examined, Sentinel Lymph Nodes Positive (COC)" tag="N2535" java-path="lines.line" category="inter-field">
            <expression><![CDATA[if (line.sentinelLymphNodesExamined == null || line.sentinelLymphNodesPositive == null)
    return true
    
if (line.sentinelLymphNodesExamined == '00' && line.sentinelLymphNodesPositive != '98')
    return false
else if (line.sentinelLymphNodesExamined >= '01' && line.sentinelLymphNodesExamined <= '90')
    return line.sentinelLymphNodesPositive == '97' || line.sentinelLymphNodesPositive == '99' || line.sentinelLymphNodesPositive <= line.sentinelLymphNodesExamined    
else if (line.sentinelLymphNodesExamined == '95') 
    return line.sentinelLymphNodesPositive == '00' || line.sentinelLymphNodesPositive == '95' || line.sentinelLymphNodesPositive == '99'
else if (line.sentinelLymphNodesExamined == '98') 
    return (line.sentinelLymphNodesPositive >= '00' && line.sentinelLymphNodesPositive <= '90') || line.sentinelLymphNodesPositive == '97' || line.sentinelLymphNodesPositive == '99'
else if (line.sentinelLymphNodesExamined == '99') 
    return line.sentinelLymphNodesPositive == '99'
return true]]></expression>
            <message>Sentinel Lymph Nodes Positive conflicts with Sentinel Lymph Nodes Examined</message>
            <description><![CDATA[This edit checks that Sentinel Lymph Nodes Examined and Sentinel Lymph Nodes 
Positive are coded consistently with each other. 

This edit is skipped if:
1. Sentinel Lymph Nodes Examined is blank
2. Sentinel Lymph Nodes Positive is blank


1.  If Sentinel Lymph Nodes Examined = 00 (no sentinel nodes examined),
    Sentinel Lymph Nodes Positive must = 98 (no sentinel nodes examined).

2.  If Sentinel Lymph Nodes Examined = 01-90 (number of sentinel nodes 
    examined), 
    Sentinel Lymph Nodes Positive must = 00-90 (number of positive sentinel 
    nodes) and less than or equal to Sentinel Lymph Nodes Examined), 97 (sentinel 
    nodes positive, number unknown), or 99 (unknown if positive nodes).

3.  If Sentinel Lymph Nodes Examined = 95 (aspiration of sentinel nodes), 
    Sentinel Lymph Nodes Positive must = 00 (no positive sentinel nodes), 95 
    positive aspiration of sentinel nodes), or 99 (unknown if positive sentinel
    nodes).

4.  If Sentinel Lymph Nodes Examined = 98 (sentinel nodes biopsied but unknown 
    number), 
    Sentinel Lymph Nodes Positive must = 00-90 (number of positive sentinel
    nodes), 97 (positive sentinel nodes, unknown number; or for breast only, 
    sentinel lymph node biopsy and regional node dissection occurred in same 
    procedure), or 99 (unknown if positive sentinel nodes).

5.  If Sentinel Lymph Nodes Examined = 99 (unknown if sentinel nodes examined), 
    then Sentinel Lymph Nodes Positive must = 99 (unknown if positive sentinel
    nodes).]]></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 edit dependencies.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy