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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF625" name="RX Date Mst Defn Srg, Date Last Contact (COC)" tag="N0525" java-path="lines.line" category="inter-field" depends="DateFollowUpEdit,RXDateMostDefinSurgEdit">
            <expression><![CDATA[if (line.rxDateMostDefinSurgYear == null || line.dateOfLastContactYear == null)
    return true

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

if (line.rxDateMostDefinSurgYear < line.dateOfLastContactYear || line.rxDateMostDefinSurgMonth == null || line.dateOfLastContactMonth == null)
    return true

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

if (line.rxDateMostDefinSurgMonth < line.dateOfLastContactMonth || line.rxDateMostDefinSurgDay == null || line.dateOfLastContactDay == null)
    return true

return line.rxDateMostDefinSurgDay <= line.dateOfLastContactDay]]></expression>
            <message>RX Date Mst Defn Srg must be less than or equal to Date of Last Contact</message>
            <description><![CDATA[This edit is skipped if any of the fields are blank.

RX Date Mst Defn Srg 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="SE16-016-01" user="kirbyk" date="2017-01-13" ref="67579">Edit created.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy