In the OBR_4 i have a number that comes in FT8756. The numbers dont matter but I need to change the OBR_4 if it comes in with and FT. How can I search for the FT. I’m currently using a Tclproc to do this. Any help would be great.
Here is an example of a tcl fragment we use in our xlate to check if the referring physician ID begins with “TX”. If it does, we set the outbound to that number, else we set it to a default facility specific ID.
set ref [lindex $xlateInVals 0]
set def [lindex $xlateInVals 1]
if {[regexp -lineanchor ^TX $ref]} {
set xlateOutVals $ref
} else {
set xlateOutVals $def
}
Hope this helps…
Tom Rioux
Author
Replies
Viewing 3 reply threads
The forum ‘Tcl Library’ is closed to new topics and replies.