We have the following code, but recently had a few issues with messages sent to downstream systems being rejected.
After investigating, seems that the message being sent is being truncated, the RawContent that we are pulling from Ens.EnsLib_HL7.
I have a number of globals I want to loop through depending on a passed in string...
^A("SYSTEM")
^B("SYSTEM")
^C("SYSTEM")
^D("SYSTEM")
^E("SYSTEM")
I am passing in a string of "A:C:D"
Piecing that to pull out A,C,D, then want to use that to pull out A,C,D from above, but having problems setting the name of the global to be the name of the variable I have pulled out of the string
How do I set this?
I have tried ^varname("SYSTEM")
also tried setting a variable to have the value "^varname" and using that
Thanks