Using BizTalk 2006 R2 and HL7 Adaptor, I have a receive ****t (one way)
picking up an hl7 adt 2.1 file.
I have a send ****t with a filter to write the ack to a file, and one to
write the message out to a file.
When writing the message to a file, I get an error:
"There was a failure executing the send pipeline:
"BTAHL72XPipelines.BTAHL72XSendPipeline, BTAHL72XPipelines,
Version=1.3.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35" Source: "BTAHL7 2.X
Assembler" Send ****t: "SP.Meditech.Receive.HL7.ADT.File" URI:
"C:\BizTalk\Meditech\ADT\Archive\Meditech.Receive.%MessageID%.txt" Reason:
Serialization errors: Error # 1 Segment Id: EVN_EventType Sequence Number:
1
Error Number: 207 Error Description: Application internal error Encoding
System: HL7nnnn Alternate Error Number: Z100 Alternate Error Description:
From current serializer state, tag <EVN.1_EventTypeCode> cannot be valid
Alternate Encoding System: HL7-BTA"
Not sure why, as it appears the message was able to be picked up and
parsed
into xml correctly. The ACK was able to serialize correctly.
I've included the relevent part of the HL7 below. Note I also have
parties
set up matching the MSH3.1 and MSH3.5 values, with Validate body segments
and Validate custom data types unchecked, and Allow trailing delimiters
checked.
MSH|^~\|MEDITECH.IATRIC.ADT.KEL|PRH|BIZTALK.ADT||20070907122135||ADT^A04|ADT868450895|P|2.1|||EVN|A04|20070907122135|....
Any hints? I'm finding the HL7 adaptor not the easiest to work with.


|