I am trying to create multiple RXC segments for IV additives based on values sent in a field as subcomponents. Our current HIS system sends IV additive information in a single field but as multiple subcomponents (add1^add2^add3^etc). I tried copying the entire field into a variable
@mylist. When I echo the value of the field in a pre-tcl on the copy statement I see all the values as a list {add1} {add2} {add3}. This is what I was expecting. However when i echo the values of
@mylist in a post-tcl, i only see the first elment. Will "user" variables not store list information? How would i get that multiple subcomponent information into a list that i can then use within an iterate?
Any direction would be greatly appreciated.
Thanks, Barb