Reply To: How to compare dates in a IF statement in an Xlate

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf How to compare dates in a IF statement in an Xlate Reply To: How to compare dates in a IF statement in an Xlate

#57780
Dennis Pfeifer
Participant

using copy

and a pre TCL of

set xlateOutVals

    0 7]]

    source

    0(0).PV1.#45.[0]

    destination

    @dischargeDate

    in your If statement

    (0(0).MSH.#9.[1]  eq =A08) && (@dischargeDate < =20051002) — I don’t know the origin of 20051002 as a date .. but .. you may wish to assign it to a variable .. and use that in your if statement .. Dennis P.S. .. I prefer the ‘#’ notation instead of the item number .. It’s just me .. I know what PID-45 is .. I don’t know item 00175

    Forum Statistics

    Registered Users
    5,115
    Forums
    28
    Topics
    9,291
    Replies
    34,426
    Topic Tags
    286
    Empty Topic Tags
    10