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

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

There is a newer version: 025-01
Show newest version
        <rule id="IF626" name="RX Date Mst Defn Srg, Date of DX (COC)" tag="N0511" java-path="lines.line" category="inter-field" depends="DateDiagnosisEdit,RXDateMostDefinSurgEdit">
            <expression><![CDATA[if (line.rxDateMostDefinSurgYear == null || line.dateOfDiagnosisYear == null)
    return true

if (line.rxDateMostDefinSurgYear < line.dateOfDiagnosisYear)
    return false

if (line.rxDateMostDefinSurgYear > line.dateOfDiagnosisYear || line.rxDateMostDefinSurgMonth == null || line.dateOfDiagnosisMonth == null)
    return true

if (line.rxDateMostDefinSurgMonth < line.dateOfDiagnosisMonth)
    return false

if (line.rxDateMostDefinSurgMonth > line.dateOfDiagnosisMonth || line.rxDateMostDefinSurgDay == null || line.dateOfDiagnosisDay == null)
    return true

return line.rxDateMostDefinSurgDay >= line.dateOfDiagnosisDay]]></expression>
            <message>RX Date Mst Defn Srg  must be &gt; or = Date of Diagnosis</message>
            <description><![CDATA[This edit is skipped if RX Date Mst Defn Srg or Date of Diagnosis is blank.

RX Date Mst Defn Srg must be greater than or equal to Date of Diagnosis. 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-12" ref="67580">Edit created.</event>
            </history>
        </rule>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy