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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN4210" name="Date Regional Lymph Node Dissection, RX Date Surgery (NAACCR)" tag="N4210" java-path="lines.line" category="inter-field" depends="DateRegionalLymphNodeDissectionEdit,RXDateSurgeryEdit,Year_of_Diagnosis">
            <expression><![CDATA[if (line.rxDateSurgeryYear == null || line.dateRegionalLNDissectionYear == null || line.dateOfDiagnosisYear < '2019')
    return true

if (line.rxDateSurgeryYear > line.dateRegionalLNDissectionYear)
    return false

if (line.rxDateSurgeryYear < line.dateRegionalLNDissectionYear || line.rxDateSurgeryMonth == null || line.dateRegionalLNDissectionMonth == null)
    return true

if (line.rxDateSurgeryMonth > line.dateRegionalLNDissectionMonth)
    return false

if (line.rxDateSurgeryMonth < line.dateRegionalLNDissectionMonth || line.rxDateSurgeryDay == null || line.dateRegionalLNDissectionDay == null)
    return true

return line.rxDateSurgeryDay <= line.dateRegionalLNDissectionDay]]></expression>
            <message>Date Regional Lymph Node Dissection must be &amp;gt; or = RX Date Surgery</message>
            <description><![CDATA[This edit is skipped for any of the following:
    a. Date Regional Lymph Node Dissection is blank (unknown) or invalid
    b. RX Date Surgery is blank (unknown) or invalid.
    c. Date of Diagnosis before 2019

Date Regional Lymph Node Dissection must be greater than or equal to RX Date
Surgery. If both years are known, but either month is blank, then only the
years are compared. If either day is blank, then only the years and months are
compared.]]></description>
            <history>
                <event version="SE22-022-05" user="secristc" date="2022-05-04" ref="68938">Edit created.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy