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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN2836" name="Sentinel Lymph Nodes Ex, Reg Nodes Ex, Date RLN Dissection (NAACCR)" tag="N2836" java-path="lines.line" category="inter-field">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.sentinelLymphNodesExamined == null || line.regionalNodesExamined == null)
    return true

if (line.schemaId != '00470' && line.schemaId != '00480')
    return true

String sentinelNodes = line.sentinelLymphNodesExamined
String regionalNodes = line.regionalNodesExamined
if (sentinelNodes == regionalNodes && sentinelNodes != '00' && sentinelNodes != '95' && sentinelNodes != '98' && sentinelNodes != '99')
    return line.dateRegionalLNDissectionYear == null

return true]]></expression>
            <message>If Sentinel Lymph Nodes Examined = Regional Nodes Examined, Date Regional Lymph Node Dissection must be blank and Date Regional Lymph Node Dissection Flag indicate reason why.</message>
            <description><![CDATA[This edit checks that Date Regional Lymph Node Dissection is blank if Sentinel Lymph Nodes
Examined and Regional Nodes Examined are the same numeric value. If Sentinel
Lymph Nodes Examined equals Regional Nodes Examined, only a Sentinel Node Biopsy
should have been performed; there would be no date to record for Regional Lymph
Node Dissection.

1. This edit is skipped if:
   a. Sentinel Lymph Nodes Examined is blank
   b. Regional Nodes Examined is blank
   c. Date of diagnosis is less than 2019, blank (unknown), or invalid.
   d. Schema ID is not 00470 (Melanoma of Skin) or 00480 (Breast)

2. If number of Sentinel Lymph Nodes Examined = number of Regional Nodes Examined,
   and number of Sentinel Nodes examined > 00 and number of Regional Nodes
   Examined > 00 and number of Sentinel Nodes Examined does not = 95, 98, or 99,
   Date Regional Lymph Node Dissection must be blank.]]></description>
            <history>
                <event version="SE22-022-05" user="secristc" date="2022-05-04" ref="68938">Edit created.</event>
                <event version="SE23-023-01" user="shearerw" date="2023-02-23" ref="69194">Remove references to Date Regional Lymph Node Dissection Flag.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy