I do the reverse of this, but you'll get the idea...
ClassMethod Unescape(pData As %String = "") As %String [ Final ]
[mailto:firstname.lastname@example.org] On Behalf Of Marc Lang
Sent: Friday, May 11, 2012 10:41 AM
To: InterSystems: Ensemble in Healthcare
Subject: [InterSystems-EnsHlth] HL7 Escape Characters Help
We have a supplied who currently sends labs results in HL7 like this:
However, they have stated in a next version they wish to send the "^"
escaped, like so:
I have ran a sample message through, and it appears as though Ensemble
is not un-escaping the \S| to ^ on the way out, so the receiving system
is displaying the result as: x10\S\9/L
Any idea how I would get ensemble to un-escape?
You received this message because you are subscribed to the Google
Groups "InterSystems: Ensemble in Healthcare Community" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at