<?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 and BizTalk Blog</title>
	<atom:link href="http://blog.hl7-info.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hl7-info.com</link>
	<description>Experiences with BizTalk and HL7</description>
	<lastBuildDate>Thu, 03 May 2012 09:27:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Ordered Delivery of Messages&#8211;The definitive guide</title>
		<link>http://blog.hl7-info.com/2012/05/ordered-deliver-of-messagesthe-definitive-guide/</link>
		<comments>http://blog.hl7-info.com/2012/05/ordered-deliver-of-messagesthe-definitive-guide/#comments</comments>
		<pubDate>Thu, 03 May 2012 09:15:58 +0000</pubDate>
		<dc:creator>Clown Killer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.hl7-info.com/?p=130</guid>
		<description><![CDATA[So I was bound and determined to find out the behavior of how BizTalk handles the order of messages. I created the following flow within BizTalk. This is a two step process. BizTalk gets messages, distributes them to three different subscribers, three send ports and one orchestration. Here is the flow: So the MLLP receive <a href='http://blog.hl7-info.com/2012/05/ordered-deliver-of-messagesthe-definitive-guide/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>So I was bound and determined to find out the behavior of how BizTalk handles the order of messages.</p>
<p>I created the following flow within BizTalk. This is a two step process. BizTalk gets messages, distributes them to three different subscribers, three send ports and one orchestration.</p>
<p>Here is the flow:</p>
<p><a href="http://blog.hl7-info.com/wp-content/uploads/2012/05/image10.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.hl7-info.com/wp-content/uploads/2012/05/image_thumb10.png" width="903" height="249" /></a></p>
<p>So the MLLP receive location looks like this:</p>
<p><a href="http://blog.hl7-info.com/wp-content/uploads/2012/05/image11.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.hl7-info.com/wp-content/uploads/2012/05/image_thumb11.png" width="414" height="461" /></a></p>
<p>The non-ordered send port simply does not have the following check mark</p>
<p><a href="http://blog.hl7-info.com/wp-content/uploads/2012/05/image12.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.hl7-info.com/wp-content/uploads/2012/05/image_thumb12.png" width="653" height="526" /></a></p>
<p>The ordered send port looks like this:</p>
<p><a href="http://blog.hl7-info.com/wp-content/uploads/2012/05/image13.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.hl7-info.com/wp-content/uploads/2012/05/image_thumb13.png" width="653" height="526" /></a></p>
<p>The orchestration looks like this: I put an atomic scope shape so that I wouldn’t pick up the same message, as I was filtering off of the InboundTransportLocation. So in the orchestration, I changed the inbound transport location to localhost:99999 so no other orchestrations would pick it up, and I simply could bind the send port to the logical port.</p>
<p><a href="http://blog.hl7-info.com/wp-content/uploads/2012/05/image14.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.hl7-info.com/wp-content/uploads/2012/05/image_thumb14.png" width="1037" height="851" /></a></p>
<p><strong>Things I discovered:</strong></p>
<p>The unordered send port runs fast, however, as you can see from the messages. They are definitely not in any order…</p>
<p><a href="http://blog.hl7-info.com/wp-content/uploads/2012/05/image15.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.hl7-info.com/wp-content/uploads/2012/05/image_thumb15.png" width="543" height="782" /></a></p>
<p>The ordered delivery send port does keep the messages in the right order. However, look at how long it takes to process those messages! It is nearly 2-3 seconds between messages! As I was watching the active send port, looking at the messages, I could see the messages <em>slowly</em> leaving.</p>
<p><a href="http://blog.hl7-info.com/wp-content/uploads/2012/05/image16.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.hl7-info.com/wp-content/uploads/2012/05/image_thumb16.png" width="678" height="720" /></a></p>
<p>Here are the times it took to process each of the messages</p>
<p><a href="http://blog.hl7-info.com/wp-content/uploads/2012/05/image17.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.hl7-info.com/wp-content/uploads/2012/05/image_thumb17.png" width="527" height="779" /></a></p>
<p>The Orchestration process keeps the order intact, and processes the messages just as fast as the unordered send port.</p>
<p><a href="http://blog.hl7-info.com/wp-content/uploads/2012/05/image18.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.hl7-info.com/wp-content/uploads/2012/05/image_thumb18.png" width="507" height="781" /></a></p>
<p>It is apparent that the check mark for ordered delivery in the send port is executing different logic than the orchestration that has the same ordered delivery setting.</p>
<p>My recommendations is to use a convoy orchestration to order the messages and send them on. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hl7-info.com/2012/05/ordered-deliver-of-messagesthe-definitive-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ordered Delivery</title>
		<link>http://blog.hl7-info.com/2012/05/ordered-delivery/</link>
		<comments>http://blog.hl7-info.com/2012/05/ordered-delivery/#comments</comments>
		<pubDate>Wed, 02 May 2012 07:27:14 +0000</pubDate>
		<dc:creator>Clown Killer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.hl7-info.com/?p=110</guid>
		<description><![CDATA[So today I was questioned about how to setup ordered delivery using the MLLP adapter. I decided to put together a sample demo, to make sure that I remembered how to do it. The first thing I did was put together a batch of 20 messages. Each message had a different control number, along with <a href='http://blog.hl7-info.com/2012/05/ordered-delivery/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>So today I was questioned about how to setup ordered delivery using the MLLP adapter. I decided to put together a sample demo, to make sure that I remembered how to do it.</p>
<p>The first thing I did was put together a batch of 20 messages. Each message had a different control number, along with the same control number in the EVN segment.</p>
<p><a href="http://blog.hl7-info.com/wp-content/uploads/2012/05/image.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.hl7-info.com/wp-content/uploads/2012/05/image_thumb.png" width="499" height="139" /></a></p>
<p>The next thing I did was setup the receive location</p>
<p><a href="http://blog.hl7-info.com/wp-content/uploads/2012/05/image1.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.hl7-info.com/wp-content/uploads/2012/05/image_thumb1.png" width="418" height="465" /></a></p>
<p>So I ran all of the files into BizTalk</p>
<p><a href="http://blog.hl7-info.com/wp-content/uploads/2012/05/image2.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.hl7-info.com/wp-content/uploads/2012/05/image_thumb2.png" width="636" height="624" /></a></p>
<p>I had the send port stopped so I could see what went on. I turned on tracking so I can look into the message. I ran the following query and this is what I got</p>
<p><a href="http://blog.hl7-info.com/wp-content/uploads/2012/05/image3.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.hl7-info.com/wp-content/uploads/2012/05/image_thumb3.png" width="776" height="678" /></a></p>
<p>If I look at the first message (11:13:23.573) I see this control number:</p>
<p><a href="http://blog.hl7-info.com/wp-content/uploads/2012/05/image4.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.hl7-info.com/wp-content/uploads/2012/05/image_thumb4.png" width="867" height="608" /></a></p>
<p>I can look through the messages and confirm that the order is correct. Here is the last message (11:13:23.767)</p>
<p><a href="http://blog.hl7-info.com/wp-content/uploads/2012/05/image5.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.hl7-info.com/wp-content/uploads/2012/05/image_thumb5.png" width="813" height="605" /></a></p>
<p>So I created an orchestration to <em>process</em> these messages. I set the port to pick up messages off the message box set the Ordered Delivery to True and proceeded to log the number of the message (an internal integer that increases for each message) and the control number from the MSH segment.</p>
<p><a href="http://blog.hl7-info.com/wp-content/uploads/2012/05/image6.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.hl7-info.com/wp-content/uploads/2012/05/image_thumb6.png" width="795" height="704" /></a></p>
<p><a href="http://blog.hl7-info.com/wp-content/uploads/2012/05/image7.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.hl7-info.com/wp-content/uploads/2012/05/image_thumb7.png" width="1371" height="367" /></a></p>
<p>Running them again, the event log shows that they are logged in order:</p>
<p><a href="http://blog.hl7-info.com/wp-content/uploads/2012/05/image8.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.hl7-info.com/wp-content/uploads/2012/05/image_thumb8.png" width="620" height="538" /></a></p>
<p><a href="http://blog.hl7-info.com/wp-content/uploads/2012/05/image9.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blog.hl7-info.com/wp-content/uploads/2012/05/image_thumb9.png" width="619" height="535" /></a></p>
<p>Hope that this was as fun for you to read as it was for me to put together!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hl7-info.com/2012/05/ordered-delivery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HL7 Tutorial</title>
		<link>http://blog.hl7-info.com/2012/04/hl7-tutorial/</link>
		<comments>http://blog.hl7-info.com/2012/04/hl7-tutorial/#comments</comments>
		<pubDate>Fri, 27 Apr 2012 00:24:04 +0000</pubDate>
		<dc:creator>Clown Killer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.hl7-info.com/?p=87</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://blog.hl7-info.com/2012/04/hl7-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accessing the promoted properties of an HL7 message</title>
		<link>http://blog.hl7-info.com/2010/05/accessing_the_promoted_properties_of_an_hl7_message/</link>
		<comments>http://blog.hl7-info.com/2010/05/accessing_the_promoted_properties_of_an_hl7_message/#comments</comments>
		<pubDate>Fri, 14 May 2010 19:31:37 +0000</pubDate>
		<dc:creator>Clown Killer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.hl7-info.com/archive/2010/05/14/Accessing_the_promoted_properties_of_an_HL7_message.aspx</guid>
		<description><![CDATA[While putting together a POC, I wanted one side of my parallel shape to only pick up pdf documents when the file was not marked as an error from the HL7 pipeline marking the message with a parse error: But how could I access it? You need to reference the following assembly in your project: <a href='http://blog.hl7-info.com/2010/05/accessing_the_promoted_properties_of_an_hl7_message/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>While putting together a POC, I wanted one side of my parallel shape to only pick up pdf documents when the file was not marked as an error from the HL7 pipeline marking the message with a parse error:</p>
<p><a href="http://blog.hl7-info.com/images/AccessingthepromotedpropertiesofanHL7mes_CC46/image.png" rel="lightbox"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blog.hl7-info.com/images/AccessingthepromotedpropertiesofanHL7mes_CC46/image_thumb.png" width="850" height="23" /></a> </p>
<p>But how could I access it?</p>
<p>You need to reference the following assembly in your project:</p>
<p>C:Program Files (x86)Microsoft BizTalk 2009 Accelerator for HL7BinMicrosoft.Solutions.BTAHL7.HL7Schemas.dll</p>
<p>Once you do that, you can add the following filter:</p>
<p><a href="http://blog.hl7-info.com/images/AccessingthepromotedpropertiesofanHL7mes_CC46/image_3.png" rel="lightbox"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blog.hl7-info.com/images/AccessingthepromotedpropertiesofanHL7mes_CC46/image_thumb_3.png" width="549" height="437" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hl7-info.com/2010/05/accessing_the_promoted_properties_of_an_hl7_message/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error 1920 while installing hot fix 973910</title>
		<link>http://blog.hl7-info.com/2010/04/error_1920_while_installing_hot_fix_973910/</link>
		<comments>http://blog.hl7-info.com/2010/04/error_1920_while_installing_hot_fix_973910/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 13:27:28 +0000</pubDate>
		<dc:creator>Clown Killer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.hl7-info.com/archive/2010/04/29/Error_1920_while_installing_hot_fix_973910.aspx</guid>
		<description><![CDATA[When you install hot fix 973910, you will come across this error: The issue is that the hot fix does not know the username/password that the Logging Service uses, so it wipes it out: So you set the credentials and continue and you are ready to go.]]></description>
			<content:encoded><![CDATA[<p>When you install hot fix 973910, you will come across this error:</p>
<p><a href="http://blog.hl7-info.com/images/Error1920whileinstallinghotfix973910_76E8/Error1920.png" rel="lightbox"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Error1920" border="0" alt="Error1920" src="http://blog.hl7-info.com/images/Error1920whileinstallinghotfix973910_76E8/Error1920_thumb.png" width="345" height="137" /></a> </p>
<p>The issue is that the hot fix does not know the username/password that the Logging Service uses, so it wipes it out:</p>
<p><a href="http://blog.hl7-info.com/images/Error1920whileinstallinghotfix973910_76E8/Error1920Issue.png" rel="lightbox"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Error1920Issue" border="0" alt="Error1920Issue" src="http://blog.hl7-info.com/images/Error1920whileinstallinghotfix973910_76E8/Error1920Issue_thumb.png" width="820" height="600" /></a> </p>
<p>So you set the credentials and continue and you are ready to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hl7-info.com/2010/04/error_1920_while_installing_hot_fix_973910/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Event ID: 4119 An empty batch was received with fragmentation turned on</title>
		<link>http://blog.hl7-info.com/2010/03/event_id_4119_an_empty_batch_was_received_with_fragmentation/</link>
		<comments>http://blog.hl7-info.com/2010/03/event_id_4119_an_empty_batch_was_received_with_fragmentation/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 23:49:44 +0000</pubDate>
		<dc:creator>Clown Killer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.hl7-info.com/archive/2010/03/10/Event_ID_4119_An_empty_batch_was_received_with_fragmentation.aspx</guid>
		<description><![CDATA[I have come across this ‘INFORMATIONAL’ event log message a few times and after much banging of heads (mine in particular), Microsoft has a hot fix for the following message: Event Type:    Information Event Source:    BizTalk Accelerator for HL7 Event Category:    None Event ID:    4119 Date:        3/10/2010 Time:        2:35:25 PM User:        N/A Computer:    Description: An <a href='http://blog.hl7-info.com/2010/03/event_id_4119_an_empty_batch_was_received_with_fragmentation/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I have come across this ‘INFORMATIONAL’ event log message a few times and after much banging of heads (mine in particular), Microsoft has a hot fix for the following message:</p>
<blockquote><p>Event Type:    Information     <br />Event Source:    BizTalk Accelerator for HL7      <br />Event Category:    None      <br />Event ID:    4119      <br />Date:        3/10/2010      <br />Time:        2:35:25 PM      <br />User:        N/A      <br />Computer:    <br />Description:      <br />An empty batch was received with fragmentation turned on. The 1st 1kb of the message is </p>
<p>MSH|^~&amp;|… </p>
<p> </p>
<p>Username:      <br />Time: 3/10/2010 2:35:24 PM </p>
</blockquote>
<p>However, when searching for this, I was not apparent that it is referring to the following <a href="http://support.microsoft.com/kb/973910">KB 973910 article</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hl7-info.com/2010/03/event_id_4119_an_empty_batch_was_received_with_fragmentation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fatal error encountered in 2XDasm. Exception information is Object reference not set to an instance of an object</title>
		<link>http://blog.hl7-info.com/2010/02/fatal_error_encountered_in_2xdasm-_exception_information_is_object_reference/</link>
		<comments>http://blog.hl7-info.com/2010/02/fatal_error_encountered_in_2xdasm-_exception_information_is_object_reference/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 19:54:48 +0000</pubDate>
		<dc:creator>Clown Killer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.hl7-info.com/archive/2010/02/20/Fatal_error_encountered_in_2XDasm._Exception_information_is_Object_reference.aspx</guid>
		<description><![CDATA[While enhancing a custom ORU^R01 schema, there was a Z segment at the end (that I did not want to place in the ZSegments message part. I went happily creating the schema, deployed it and ran it, and received the following errors: Event Type:    Error Event Source:    BizTalk Accelerator for HL7 Event Category:    None Event <a href='http://blog.hl7-info.com/2010/02/fatal_error_encountered_in_2xdasm-_exception_information_is_object_reference/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>While enhancing a custom ORU^R01 schema, there was a Z segment at the end (that I did not want to place in the ZSegments message part.</p>
<p>I went happily creating the schema, deployed it and ran it, and received the following errors:</p>
<blockquote><p>Event Type:    Error     <br />Event Source:    BizTalk Accelerator for HL7      <br />Event Category:    None      <br />Event ID:    4097      <br />Description:      <br />Fatal error encountered in 2XDasm. Exception information is Object reference not set to an instance of an object. </p>
</blockquote>
<p>followed by</p>
<blockquote><p>Event Type:    Error     <br />Event Source:    BizTalk Server 2009      <br />Event Category:    (1)      <br />Event ID:    5719      <br />Description:      <br />There was a failure executing the receive pipeline: &#8220;BTAHL72XPipelines.BTAHL72XReceivePipeline, BTAHL72XPipelines, Version=1.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&#8243; Source: &#8220;BTAHL7 2.X Disassembler&#8221; Receive Port: &#8220;One Way Receive Port&#8221; URI: &#8220;D:DataLabMedicityInput*&#8221; Reason: Object reference not set to an instance of an object. </p>
</blockquote>
<p>and</p>
<blockquote><p>Event Type:    Error     <br />Event Source:    BizTalk Server 2009      <br />Event Category:    (1)      <br />Event ID:    5753      <br />Description:      <br />A message received by adapter &#8220;FILE&#8221; on receive location &#8220;Medicity Pickup&#8221; with URI &#8220;D:DataLabMedicityInput*&#8221; is suspended.       <br /> Error details: There was a failure executing the receive pipeline: &#8220;BTAHL72XPipelines.BTAHL72XReceivePipeline, BTAHL72XPipelines, Version=1.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&#8243; Source: &#8220;BTAHL7 2.X Disassembler&#8221; Receive Port: &#8220;One Way Receive Port&#8221; URI: &#8220;D:DataLabMedicityInput*&#8221; Reason: Object reference not set to an instance of an object.  <br /> MessageId:  {E182624C-BD9A-422A-B13B-CD7E108B5B30}      <br /> InstanceID: {72120031-57DB-418B-AEE3-A4E3A039017F} </p>
</blockquote>
<p>This is the schema that I had created:</p>
<p><a href="http://blog.hl7-info.com/images/Fat.ExceptioninformationisObjectreferenc_B594/ZSegment_Bad.png" rel="lightbox"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="ZSegment_Bad" border="0" alt="ZSegment_Bad" src="http://blog.hl7-info.com/images/Fat.ExceptioninformationisObjectreferenc_B594/ZSegment_Bad_thumb.png" width="227" height="222" /></a> </p>
<p>If I look at the documentation on Z Segment creation I see this:</p>
<blockquote><p>Type the name of the field, starting the name with the first three digits of the segment name, followed by a period and the number of the field, followed by an underscore and then a short description of the field. The description should be one or a series of words, without spaces, with the first letter of each word capitalized. Press Enter. </p>
<p>…</p>
<p>To create a field with components, create the field as a record, and then create a child element of that record for each component. To create a field with subcomponents, create the field and components as records, and the subcomponents as child elements. Note that subcomponents cannot be composite data types. For example, for the segment named ZPP_PatientPreferencesSegment, you might create a ZPP.1_Dietary field and a PD.1 Allergies component with a PD.1.1_FoodGroupAllergy subcomponent. The PD.1.1_FoodGroupAllergy subcomponent would have to be a simple data type.</p>
</blockquote>
<p>So this is a special behavior for the Z Segments, where you <em>MUST</em> use the period instead of the underscore if the first character is a number, notice the difference between two segments:</p>
<p><a href="http://blog.hl7-info.com/images/Fat.ExceptioninformationisObjectreferenc_B594/ZSegment_Good.png" rel="lightbox"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="ZSegment_Good" border="0" alt="ZSegment_Good" src="http://blog.hl7-info.com/images/Fat.ExceptioninformationisObjectreferenc_B594/ZSegment_Good_thumb.png" width="374" height="537" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hl7-info.com/2010/02/fatal_error_encountered_in_2xdasm-_exception_information_is_object_reference/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error Number: 102 Data type error</title>
		<link>http://blog.hl7-info.com/2010/02/error_number_102_data_type_error/</link>
		<comments>http://blog.hl7-info.com/2010/02/error_number_102_data_type_error/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 11:20:48 +0000</pubDate>
		<dc:creator>Clown Killer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.hl7-info.com/archive/2010/02/18/Error_Number_102_Data_type_error.aspx</guid>
		<description><![CDATA[I know that there are many different reasons why you would be getting this error, but I wanted to document one way you can try to get the BTAHL7 DASM: Error happened in body during parsing Error # 1 Segment Id: GT1_Guarantor Sequence Number: 1 Field Number: 51 Error Number: 102 Error Description: Data type <a href='http://blog.hl7-info.com/2010/02/error_number_102_data_type_error/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I know that there are many different reasons why you would be getting this error, but I wanted to document one way you can try to get the BTAHL7 DASM:</p>
<p>Error happened in body during parsing    <br />Error # 1    <br />Segment Id: GT1_Guarantor    <br />Sequence Number: 1    <br />Field Number: 51    <br />Error Number: 102    <br />Error Description: Data type error    <br />Encoding System: HL7nnnn </p>
<p> </p>
<p>The data looks like this: </p>
<blockquote><p>|^NOT EMPLOYED|</p>
</blockquote>
<p>The first sub element needs to be set to a max of 0 instead of blank (default 1)</p>
<p>As I discover other fixes I will update this entry…</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hl7-info.com/2010/02/error_number_102_data_type_error/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Could not load file or assembly &#8216;file://Microsoft.Solutions.BTAHL7.HL72fDasm.dll&#8217; or one of its dependencies. An attempt was made to load a program with an incorrect format.</title>
		<link>http://blog.hl7-info.com/2010/01/could_not_load_file_or_assembly_filemicrosoft-solutions-btahl7-hl72fdasm-dll_or_one_of/</link>
		<comments>http://blog.hl7-info.com/2010/01/could_not_load_file_or_assembly_filemicrosoft-solutions-btahl7-hl72fdasm-dll_or_one_of/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 17:51:14 +0000</pubDate>
		<dc:creator>Clown Killer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.hl7-info.com/archive/2010/01/28/Could_not_load_file_or_assembly_fileMicrosoft.Solutions.BTAHL7.HL72fDasm.dll_or_one_of.aspx</guid>
		<description><![CDATA[Reason: Could not load file or assembly &#8216;file:///C:Program Files (x86)Microsoft BizTalk Server 2009Pipeline ComponentsMicrosoft.Solutions.BTAHL7.HL72fDasm.dll&#8217; or one of its dependencies. An attempt was made to load a program with an incorrect format. Make sure that your host is running under 32bit mode, if it is running in 64 bit mode, you will get this error.]]></description>
			<content:encoded><![CDATA[<p>Reason: Could not load file or assembly &#8216;file:///C:Program Files (x86)Microsoft BizTalk Server 2009Pipeline ComponentsMicrosoft.Solutions.BTAHL7.HL72fDasm.dll&#8217; or one of its dependencies. An attempt was made to load a program with an incorrect format.</p>
<p>Make sure that your host is running under 32bit mode, if it is running in 64 bit mode, you will get this error.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hl7-info.com/2010/01/could_not_load_file_or_assembly_filemicrosoft-solutions-btahl7-hl72fdasm-dll_or_one_of/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Import MSI and getting a Pending/Active Batches error</title>
		<link>http://blog.hl7-info.com/2009/10/import_msi_and_getting_a_pendingactive_batches_error/</link>
		<comments>http://blog.hl7-info.com/2009/10/import_msi_and_getting_a_pendingactive_batches_error/#comments</comments>
		<pubDate>Sun, 04 Oct 2009 01:08:00 +0000</pubDate>
		<dc:creator>Clown Killer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.hl7-info.com/archive/2009/10/03/Import_MSI_and_getting_a_PendingActive_Batches_error.aspx</guid>
		<description><![CDATA[I was importing an MSI into one of our regions, and I received the following error: “Import/Copy failed as there are active/pending batches. Stop active/pending batches and try importing/copying. (Microsoft.BizTalk.Edi.PartnerAgreementManager) I was deploying a lot of pipeline components and by simply stopping the BizTalk service(s), it installed successfully.]]></description>
			<content:encoded><![CDATA[<p>I was importing an MSI into one of our regions, and I received the following error:</p>
<p>“Import/Copy failed as there are active/pending batches. Stop active/pending batches and try importing/copying. (Microsoft.BizTalk.Edi.PartnerAgreementManager)</p>
<p><a href="http://blog.hl7-info.com/images/ImportMSIandgettingaPendingActiveBatches_FA17/PendingBatches.png" rel="lightbox"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Pending Batches" border="0" alt="Pending Batches" src="http://blog.hl7-info.com/images/ImportMSIandgettingaPendingActiveBatches_FA17/PendingBatches_thumb.png" width="611" height="251" /></a> </p>
<p>I was deploying a lot of pipeline components and by simply stopping the BizTalk service(s), it installed successfully.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hl7-info.com/2009/10/import_msi_and_getting_a_pendingactive_batches_error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

