<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: HL7 Escape Sequences</title>
	<atom:link href="http://www.hl7standards.com/blog/2006/11/02/hl7-escape-sequences/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hl7standards.com/blog/2006/11/02/hl7-escape-sequences/</link>
	<description>Healthcare &#38; Technology Resources</description>
	<lastBuildDate>Fri, 03 Feb 2012 23:54:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Tweets that mention HL7 Escape Sequences &#124; HL7 Standards -- Topsy.com</title>
		<link>http://www.hl7standards.com/blog/2006/11/02/hl7-escape-sequences/comment-page-1/#comment-55910</link>
		<dc:creator>Tweets that mention HL7 Escape Sequences &#124; HL7 Standards -- Topsy.com</dc:creator>
		<pubDate>Fri, 11 Feb 2011 16:03:22 +0000</pubDate>
		<guid isPermaLink="false">http://hl7standards.com/blog/2006/11/02/hl7-escape-sequences/#comment-55910</guid>
		<description>[...] This post was mentioned on Twitter by Healthcare_3.0, Rishi Bhalerao. Rishi Bhalerao said: RT @HealthStandards: What top tracks are you planning to focus on at HIMSS11? Answer poll question here: http://ht.ly/3UBmi #HIMSS11 [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by Healthcare_3.0, Rishi Bhalerao. Rishi Bhalerao said: RT @HealthStandards: What top tracks are you planning to focus on at HIMSS11? Answer poll question here: <a href="http://ht.ly/3UBmi" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/ht.ly/3UBmi?referer=');">http://ht.ly/3UBmi</a> #HIMSS11 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marchewek</title>
		<link>http://www.hl7standards.com/blog/2006/11/02/hl7-escape-sequences/comment-page-1/#comment-55903</link>
		<dc:creator>marchewek</dc:creator>
		<pubDate>Fri, 11 Feb 2011 12:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://hl7standards.com/blog/2006/11/02/hl7-escape-sequences/#comment-55903</guid>
		<description>It&#039;s because unescaping escaped characters should occur only once - Cade2 won&#039;t get interpreted. If there was a character you wanted to escape, e.g. ą - &quot;ącade&quot; it should be escaped (the number I&#039;m about type now is random) E\C1234cadeE - notice double backslash. Then unescaping would produce: E - , C1234 - ą, cade - cade, E - </description>
		<content:encoded><![CDATA[<p>It&#8217;s because unescaping escaped characters should occur only once &#8211; Cade2 won&#8217;t get interpreted. If there was a character you wanted to escape, e.g. ą &#8211; &#8220;ącade&#8221; it should be escaped (the number I&#8217;m about type now is random) E\C1234cadeE &#8211; notice double backslash. Then unescaping would produce: E &#8211; , C1234 &#8211; ą, cade &#8211; cade, E -</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Stockemer</title>
		<link>http://www.hl7standards.com/blog/2006/11/02/hl7-escape-sequences/comment-page-1/#comment-55887</link>
		<dc:creator>Mike Stockemer</dc:creator>
		<pubDate>Thu, 10 Feb 2011 17:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://hl7standards.com/blog/2006/11/02/hl7-escape-sequences/#comment-55887</guid>
		<description>You are correct.  The escape character is set in MSH-2, and if you set it to * then the escape sequences would use that character.  Most applications use the suggested encoding characters. McKesson Star is one application that you typically run into that modifies MSH-1 and MSH-2. You know you are interfacing with Star when you see lots of : and ; characters in the HL7 messages.
</description>
		<content:encoded><![CDATA[<p>You are correct.  The escape character is set in MSH-2, and if you set it to * then the escape sequences would use that character.  Most applications use the suggested encoding characters. McKesson Star is one application that you typically run into that modifies MSH-1 and MSH-2. You know you are interfacing with Star when you see lots of : and ; characters in the HL7 messages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.hl7standards.com/blog/2006/11/02/hl7-escape-sequences/comment-page-1/#comment-55886</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 10 Feb 2011 17:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://hl7standards.com/blog/2006/11/02/hl7-escape-sequences/#comment-55886</guid>
		<description>David, the parser should not get confused. when it parses and finds the &#039;&#039; character it knows that is a special character and what follows is some sort of escape sequence.  It&#039;s really no different than escape sequences in other languages such as XML. If you want to send an ampersand &#039;&amp;&#039; in an XML document you must escape it as &#039;&amp;&#039;

You should not attempt to send binary data in an HL7 message, it should be encoded prior to sending.  Typically interfaces will Base64 encode binary data prior to sending it across an interface.  Just like e-mail typically uses Mime encoding to deliver binary data.
</description>
		<content:encoded><![CDATA[<p>David, the parser should not get confused. when it parses and finds the &#8221; character it knows that is a special character and what follows is some sort of escape sequence.  It&#8217;s really no different than escape sequences in other languages such as XML. If you want to send an ampersand &#8216;&amp;&#8217; in an XML document you must escape it as &#8216;&amp;&#8217;</p>
<p>You should not attempt to send binary data in an HL7 message, it should be encoded prior to sending.  Typically interfaces will Base64 encode binary data prior to sending it across an interface.  Just like e-mail typically uses Mime encoding to deliver binary data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marchewek</title>
		<link>http://www.hl7standards.com/blog/2006/11/02/hl7-escape-sequences/comment-page-1/#comment-55885</link>
		<dc:creator>marchewek</dc:creator>
		<pubDate>Thu, 10 Feb 2011 16:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://hl7standards.com/blog/2006/11/02/hl7-escape-sequences/#comment-55885</guid>
		<description>I undestand that all sequences (eg. H) look like this because  is the escape character, don&#039;t they?
If the escape character was *, then these sequences&#039;d look like *H* - am I right? </description>
		<content:encoded><![CDATA[<p>I undestand that all sequences (eg. H) look like this because  is the escape character, don&#8217;t they?<br />
If the escape character was *, then these sequences&#8217;d look like *H* &#8211; am I right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Wong</title>
		<link>http://www.hl7standards.com/blog/2006/11/02/hl7-escape-sequences/comment-page-1/#comment-33486</link>
		<dc:creator>David Wong</dc:creator>
		<pubDate>Wed, 13 May 2009 23:17:30 +0000</pubDate>
		<guid isPermaLink="false">http://hl7standards.com/blog/2006/11/02/hl7-escape-sequences/#comment-33486</guid>
		<description>Suppose I have some unfortunate filename text that should be properly escaped such as &quot;C:\Cade2\file.txt&quot;, how should the string be escaped?
If I insert, &quot;C:\E\Cade2\E\file.txt&quot; won&#039;t the HL7 encoder get confused by the \Cxxyy\ substring?

Another way this could much more easily happen is in inserting the data from a binary file into an ED field.</description>
		<content:encoded><![CDATA[<p>Suppose I have some unfortunate filename text that should be properly escaped such as &#8220;C:\Cade2\file.txt&#8221;, how should the string be escaped?<br />
If I insert, &#8220;C:\E\Cade2\E\file.txt&#8221; won&#8217;t the HL7 encoder get confused by the \Cxxyy\ substring?</p>
<p>Another way this could much more easily happen is in inserting the data from a binary file into an ED field.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cynthia peters</title>
		<link>http://www.hl7standards.com/blog/2006/11/02/hl7-escape-sequences/comment-page-1/#comment-23500</link>
		<dc:creator>cynthia peters</dc:creator>
		<pubDate>Fri, 01 Aug 2008 16:52:49 +0000</pubDate>
		<guid isPermaLink="false">http://hl7standards.com/blog/2006/11/02/hl7-escape-sequences/#comment-23500</guid>
		<description>This is great information...and you guys are in out backyard. 
Do you have any one day training seminars on Sat. 
For basic HL7. I need a refresher.</description>
		<content:encoded><![CDATA[<p>This is great information&#8230;and you guys are in out backyard.<br />
Do you have any one day training seminars on Sat.<br />
For basic HL7. I need a refresher.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Variations of the HL7 ORU^R01 Message Format</title>
		<link>http://www.hl7standards.com/blog/2006/11/02/hl7-escape-sequences/comment-page-1/#comment-10209</link>
		<dc:creator>Variations of the HL7 ORU^R01 Message Format</dc:creator>
		<pubDate>Mon, 10 Sep 2007 15:51:50 +0000</pubDate>
		<guid isPermaLink="false">http://hl7standards.com/blog/2006/11/02/hl7-escape-sequences/#comment-10209</guid>
		<description>[...] Notice also that the backslash characters () in the path need to be properly escaped using the HL7 escape sequence E. MSH&#124;^~&amp;&#124;System1&#124;&#124;&#124;&#124;200707090801&#124;&#124;MDM^T01&#124;3542196&#124;P&#124;2.3 EVN&#124;T01&#124;200707090801&#124;200707090801 [...]</description>
		<content:encoded><![CDATA[<p>[...] Notice also that the backslash characters () in the path need to be properly escaped using the HL7 escape sequence E. MSH|^~&amp;|System1||||200707090801||MDM^T01|3542196|P|2.3 EVN|T01|200707090801|200707090801 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HL7 Engine Mapping</title>
		<link>http://www.hl7standards.com/blog/2006/11/02/hl7-escape-sequences/comment-page-1/#comment-9927</link>
		<dc:creator>HL7 Engine Mapping</dc:creator>
		<pubDate>Wed, 05 Sep 2007 14:04:51 +0000</pubDate>
		<guid isPermaLink="false">http://hl7standards.com/blog/2006/11/02/hl7-escape-sequences/#comment-9927</guid>
		<description>[...] that inherits all the characteristics of the standard format - supports Z segments, non-standard separator characters, [...]</description>
		<content:encoded><![CDATA[<p>[...] that inherits all the characteristics of the standard format &#8211; supports Z segments, non-standard separator characters, [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

