infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
Help with Escape Characters in OBX
Gina Borden
We put in a fix to change / to an Escape Character when the transcription used the wrong slash.
# 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.
Find more posts tagged with
Clovertech
Comments
Charlie Bursell
Take a look at the string map command. You can map as many changes as you like.
string map $var
Where maplist is a list of pairs. The first element of the pair is the substring or character to find while the second element is the replacement value.
The neat thing is you do not have to escape meta charaters as you would with regsub