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

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

There is a newer version: 024-13
Show newest version
<rule id="IFN6840" name="Date of SLN Biopsy, Date RLN Dissection (NAACCR)" tag="N6840" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2023' || (line.schemaId != '00470' && line.schemaId != '00480')
            || line.rxSummScopeRegLnSur == null || line.typeOfReportingSource == '7')
    return true
if (line.dateSentinelLymphNodeBiopsyYear == null && line.dateSentinelLymphNodeBiopsyMonth == null && line.dateSentinelLymphNodeBiopsyDay == null)
    return true
if (line.dateRegionalLNDissectionYear == null && line.dateRegionalLNDissectionMonth == null && line.dateRegionalLNDissectionDay == null)
    return true

if (line.dateSentinelLymphNodeBiopsyYear != line.dateRegionalLNDissectionYear || line.dateSentinelLymphNodeBiopsyMonth != line.dateRegionalLNDissectionMonth
    || line.dateSentinelLymphNodeBiopsyDay != line.dateRegionalLNDissectionDay)
    return line.rxSummScopeRegLnSur == '7'
else
    return line.rxSummScopeRegLnSur == '6'

return true]]></expression>
            <message>RX Summ--Scope Reg LN Sur conflicts with Date Regional Lymph Node Dissection and Date of Sentinel Lymph Node Biopsy</message>
            <description><![CDATA[1. This edit is skipped for any of the following conditions:
    a. Schema ID is not 00470 (Melanoma of Skin) or 00480 (Breast)
    b. Date of diagnosis is pre2023, blank (unknown), or invalid.
    c. Date of Sentinel Lymph Node Biopsy is blank
    d. Date Regional Lymph Node Dissection is blank
    d. RX Summ--Scope Reg LN Sur is blank
    e. Type of Reporting Source = 7 (death certificate only)

2. If Date of Sentinel Node Biopsy and Date Regional Lymph Node Dissection are not
    the same RX Summ--Scope Reg LN Sur must = 7 (sentinel node biopsy and regional
    nodes removed at different times)

3. If Date of Sentinel Node Biopsy and Date Regional Lymph Node Dissection are the
    same, RX Summ--Scope Reg LN Sur must = 6 (sentinel node biopsy and regional
    nodes removed at the same time)


   STORE Manual: This data item documents the date of sentinel node biopsy;
    do not record the date of lymph node aspiration, fine needle aspiration, fine
    needle aspiration biopsy, core needle biopsy, or core biopsy.]]></description>
            <history>
                <event version="SE23-023-05" user="shearerw" date="2023-06-26" ref="69241">Edit Created.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy