<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>HL7 Archives - Blog IT</title>
	<atom:link href="https://blogit.create.pt/tag/hl7/feed/" rel="self" type="application/rss+xml" />
	<link>https://blogit.create.pt/tag/hl7/</link>
	<description>Create IT blogger community</description>
	<lastBuildDate>Thu, 10 Jan 2019 12:46:13 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>BizTalk Server &#8211; HL7 Error: Failure executing BTAHL72XSendPipeline &#8220;Body schema is missing&#8221;</title>
		<link>https://blogit.create.pt/tiagooliveira/2017/10/22/biztalk-server-hl7-error-failure-executing-btahl72xsendpipeline-body-schema-is-missing/</link>
					<comments>https://blogit.create.pt/tiagooliveira/2017/10/22/biztalk-server-hl7-error-failure-executing-btahl72xsendpipeline-body-schema-is-missing/#comments</comments>
		
		<dc:creator><![CDATA[Tiago Oliveira]]></dc:creator>
		<pubDate>Sun, 22 Oct 2017 21:17:20 +0000</pubDate>
				<category><![CDATA[BizTalk Server]]></category>
		<category><![CDATA[Integration]]></category>
		<category><![CDATA[HL7]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/tiagooliveira/?p=1844</guid>

					<description><![CDATA[<p>Recently I had a requirement to generate an HL7 ORM to send to Oracle. To fulfill the requirements, an HL7 message must be generated inline inside an orchestration. The ExecuteReceivePipeline method must be used in orchestration, to execute the BTAHL72XSendPipeline pipeline with the HL7 multipart message to finally generate the message in HL7 format. All HL7 [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/tiagooliveira/2017/10/22/biztalk-server-hl7-error-failure-executing-btahl72xsendpipeline-body-schema-is-missing/">BizTalk Server &#8211; HL7 Error: Failure executing BTAHL72XSendPipeline &#8220;Body schema is missing&#8221;</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Recently I had a requirement to generate an HL7 ORM to send to Oracle.<br />
To fulfill the requirements, an HL7 message must be generated inline inside an orchestration.<br />
The ExecuteReceivePipeline method must be used in orchestration, to execute the BTAHL72XSendPipeline pipeline with the HL7 multipart message to finally generate the message in HL7 format.</p>
<p>All HL7 must be multipart messages consisting of three segments:</p>
<ul>
<li>Body segment &#8211; The HL7 message (marked as message body part)</li>
<li>MSH segment &#8211; The HL7 header</li>
<li>Z Segment &#8211; HL7 custom segment</li>
</ul>
<p><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/10/HL7-Err01.png"><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-1854" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/10/HL7-Err01.png" alt="" width="357" height="325" srcset="https://blogit.create.pt/wp-content/uploads/2017/10/HL7-Err01.png 357w, https://blogit.create.pt/wp-content/uploads/2017/10/HL7-Err01-300x273.png 300w, https://blogit.create.pt/wp-content/uploads/2017/10/HL7-Err01-356x325.png 356w" sizes="(max-width: 357px) 100vw, 357px" /></a></p>
<p>To generate the ORM HL7 message, the BTAHL72XSendPipeline requires that the &#8220;message type&#8221; property be promoted, otherwise the error &#8220;Body schema is missing&#8221; will be thrown.<br />
This property cannot be directly set, because is a reserved property used by BizTalk, the only way is to copy from other message.<br />
If your orchestration receives the same HL7 message type, it&#8217;s easy to fix this issue, just set the multipart properties from the inbound message using the &#8220;(*)&#8221; syntax. In this way, the &#8220;message type&#8221; property will be copied.<br />
<strong>HL7MultipartMessage(*)=InputMsgForHl7BodyPart(*);</strong></p>
<p>There are several posts with this fix like<i> <a href="https://blogs.msdn.microsoft.com/biztalknotes/2013/03/06/biztalk-hl7-error-failure-executing-btahl72xsendpipeline-error-details-body-schema-is-missing/" target="_blank" rel="noopener">https://blogs.msdn.microsoft.com/biztalknotes/2013/03/06/biztalk-hl7-error-failure-executing-btahl72xsendpipeline-error-details-body-schema-is-missing/</a></i> and <a href="https://social.technet.microsoft.com/wiki/contents/articles/16181.how-to-execute-btahl72xsendpipeline-in-an-orchestration.aspx">https://social.technet.microsoft.com/wiki/contents/articles/16181.how-to-execute-btahl72xsendpipeline-in-an-orchestration.aspx</a></p>
<p>If you do not have an incoming  HL7  message, the solution is a little bit tricky.</p>
<ol>
<li>Create an BizTalk ORM message (you can use other HL7 message type or versions depending of the business requirements);</li>
<li>Force the &#8220;message type&#8221; promotion executing the XmlReceive pipeline (inline in orchestration);</li>
<li>Set the message created in1) to the multipart BodySegments segment;</li>
<li>Copy the ORM properties to the multipart message ( HL7MultipartMessage(*)=ORMMessage(*)<b> </b>)<a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/10/HL7-Err02-1.png"><img decoding="async" class="alignnone size-full wp-image-1874" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/10/HL7-Err02-1.png" alt="" width="315" height="136" srcset="https://blogit.create.pt/wp-content/uploads/2017/10/HL7-Err02-1.png 315w, https://blogit.create.pt/wp-content/uploads/2017/10/HL7-Err02-1-300x130.png 300w" sizes="(max-width: 315px) 100vw, 315px" /></a></li>
</ol>
<p>Hope this helps!</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a href="https://blogit.create.pt/tiagooliveira/2017/10/22/biztalk-server-hl7-error-failure-executing-btahl72xsendpipeline-body-schema-is-missing/">BizTalk Server &#8211; HL7 Error: Failure executing BTAHL72XSendPipeline &#8220;Body schema is missing&#8221;</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/tiagooliveira/2017/10/22/biztalk-server-hl7-error-failure-executing-btahl72xsendpipeline-body-schema-is-missing/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>BizTalk Server HL7 &#8211; Strange break lines in MSH segment</title>
		<link>https://blogit.create.pt/tiagooliveira/2017/10/01/biztalk-hl7-strange-break-lines-in-msh-segment/</link>
					<comments>https://blogit.create.pt/tiagooliveira/2017/10/01/biztalk-hl7-strange-break-lines-in-msh-segment/#respond</comments>
		
		<dc:creator><![CDATA[Tiago Oliveira]]></dc:creator>
		<pubDate>Sun, 01 Oct 2017 20:35:17 +0000</pubDate>
				<category><![CDATA[BizTalk Server]]></category>
		<category><![CDATA[Integration]]></category>
		<category><![CDATA[HL7]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/tiagooliveira/?p=1764</guid>

					<description><![CDATA[<p>If you create an HL7 MSH segment with XmlDocument, you can get a strange break line in all empty values, like in the following image. The HL7 message will also be created with the same break line, generating an invalid HL7 message. It&#8217;s easy to deal with it, just set PreserveWhitespace property in XmlDocument with &#8220;true&#8221;, [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/tiagooliveira/2017/10/01/biztalk-hl7-strange-break-lines-in-msh-segment/">BizTalk Server HL7 &#8211; Strange break lines in MSH segment</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you create an HL7 MSH segment with XmlDocument, you can get a strange break line in all empty values, like in the following image.</p>
<p><a href="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/10/HL7-1.png"><img decoding="async" class="alignnone size-full wp-image-1774" src="http://blogit.create.pt/tiagooliveira/wp-content/uploads/sites/101/2017/10/HL7-1.png" alt="" width="747" height="497" srcset="https://blogit.create.pt/wp-content/uploads/2017/10/HL7-1.png 747w, https://blogit.create.pt/wp-content/uploads/2017/10/HL7-1-300x200.png 300w, https://blogit.create.pt/wp-content/uploads/2017/10/HL7-1-696x463.png 696w, https://blogit.create.pt/wp-content/uploads/2017/10/HL7-1-631x420.png 631w" sizes="(max-width: 747px) 100vw, 747px" /></a></p>
<p>The HL7 message will also be created with the same break line, generating an invalid HL7 message.</p>
<p>It&#8217;s easy to deal with it, just set PreserveWhitespace property in XmlDocument with &#8220;true&#8221;, before assigning it to the HL7 MSHSegment.</p>
<p>&#8230;<strong><br />
xmlDocument.PreserveWhitespace = true;</strong><br />
hl7msg.MSHSegment = xmlDocument;</p>
<p>You can get more info in <a href="https://msdn.microsoft.com/en-us/library/system.xml.xmldocument.preservewhitespace(v=vs.110).aspx" target="_blank" rel="noopener">https://msdn.microsoft.com/en-us/library/system.xml.xmldocument.preservewhitespace(v=vs.110).aspx</a>.</p>
<p>The post <a href="https://blogit.create.pt/tiagooliveira/2017/10/01/biztalk-hl7-strange-break-lines-in-msh-segment/">BizTalk Server HL7 &#8211; Strange break lines in MSH segment</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/tiagooliveira/2017/10/01/biztalk-hl7-strange-break-lines-in-msh-segment/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
