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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF524" name="RX Date Radiation, Date Last Contact (COC)" tag="N1383" java-path="lines.line" category="inter-field" depends="DateFollowUpEdit,RXDateRadiationEdit">
            <expression><![CDATA[if (line.rxDateRadiationYear == null || line.dateOfLastContactYear == null)
    return true

if (line.rxDateRadiationYear > line.dateOfLastContactYear)
    return false

if (line.rxDateRadiationYear < line.dateOfLastContactYear || line.rxDateRadiationMonth == null || line.dateOfLastContactMonth == null)
    return true

if (line.rxDateRadiationMonth > line.dateOfLastContactMonth)
    return false

if (line.rxDateRadiationMonth < line.dateOfLastContactMonth || line.rxDateRadiationDay == null || line.dateOfLastContactDay == null)
    return true

return line.rxDateRadiationDay <= line.dateOfLastContactDay]]></expression>
            <message>RX Date Radiation, Date of Last Contact conflict.</message>
            <description><![CDATA[This edit is skipped if any of the fields are blank.

RX Date Radiation must be less than or equal to Date of Last Contact. 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="SE15-013-01" user="kirbyk" date="2015-01-20" ref="67177">Edit created.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy