Re: tcl command

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf tcl command Re: tcl command

#59521
Anonymous
Participant

    There are many ways to skin this cat…..but here is one way:

    Set your inbound to …OBR.#3

    Set your outbound to   OBR.#3.[1]  (Since you said you want it as ^LAB

                                    OBR.#4.[0]

    Have a pretcl that splits the original OBR3 and split it into a list for the outbound fields:

    set var $xlateInvals

    set xlateOutVals “[string range $var 0 2] [string range $var 3 end]”

    Make sure you have a space between the two string range statements.

    There may be a simpler way to do this but I hope this helps.

    Tom Rioux

    The Methodist Hospital