# This line replaces any instances of a backslash with the HL7 escape sequence
regsub -all \B $xlateInVals \E\ xlateOutVals
Now the same message is coming with true Escape Characters:
DICTATED HISTORY: E||
which translates like this:
E E DICTATEDE HISTORY:E EEEEE< I need to accomodate both situations, but I can’t seem to figure out how to do it. Any help would be appreciated.