Originally posted by Donna Bailey
I have an ORU message that needs to be broken up by the dates in OBX-14. This can cause a variable amount of messages to be output. I am using a tclproc due to the fact that the OBX segments that need to go together are not grouped together. I have my logic working to create the separate messages. I just can't figure out how to get the messages "returned" properly.
This is what I am doing at the end of the loop to produce the output:
msgset mh $newmsg
lappend dispList "CONTINUE $mh"
I get a dispList of {CONTINUE message0} {CONTINUE message0} {CONTINUE message0} {CONTINUE message0} {CONTINUE message0}
and then errors:
returned bogus strMsgId 'message0' four times
The only message that is returned is the last one.
Any help would surely be appreciated.
Thanks,
Donna Ledgerwood
Micro Star Inc.