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

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

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

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

if (line.rxDateSystemicYear < line.dateOfLastContactYear || line.rxDateSystemicMonth == null || line.dateOfLastContactMonth == null)
    return true

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

if (line.rxDateSystemicMonth < line.dateOfLastContactMonth || line.rxDateSystemicDay == null || line.dateOfLastContactDay == null)
    return true

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

RX Date Systemic 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="SE18-018-02" user="schadega" date="2018-05-17" ref="67780">Edit created.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy