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

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

There is a newer version: 024-13
Show newest version
<rule id="IFN2536" name="Sentinel Lymph Nodes Examined, Date of Sentinel Lymph Node Biopsy (NAACCR)" tag="N2536" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || !['00480','00470'].contains(line.schemaId) || line.typeOfReportingSource == '7')
    return true

if (line.dateSentinelLymphNodeBiopsyYear != null)
    return Functions.matches(line.sentinelLymphNodesExamined, /(^[0-8][0-9]|9[08]$)/)
if (line.sentinelLymphNodesExamined == '99' || line.sentinelLymphNodesExamined == null)
    return line.dateSentinelLymphNodeBiopsyYear == null

return true]]></expression>
            <message>Sentinel Lymph Nodes Examined conflicts with Date of Sentinel Lymph Node Biopsy</message>
            <description><![CDATA[This edit checks that Sentinel Lymph Nodes Examined and Date Sentinel Lymph Node
Biopsy are coded consistently with each other.

1. This edit is skipped for any of the following:
    a. Date of diagnosis blank (unknown), invalid, or before 2018.
    b. Schema ID is not 00480, 00470
    c. Type of Reporting Source = 7

2. If Date of Sentinel Lymph Biopsy is not blank, Sentinel Lymph Nodes Examined must
= 00-90, 98

3. If Sentinel Lymph Nodes Examined is blank or = 99 (unknown if
sentinel lymph nodes examined), Date of Sentinel Lymph Node Biopsy must be blank.]]></description>
            <history>
                <event version="SE23-023-02" user="cooki" date="2023-04-14" ref="69217">Edit created.</event>
                <event version="SE23-023-03" user="kirbyk" date="2023-05-25" ref="69285">Fixed edit logic when Date of Sentinel Lymph Biopsy is blank.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy