Jens Franck
2008-04-18 12:26:01 UTC
Hi,
we are trying to create a HL7 message. The orchestration builds the complete
ORU^01 (v2.4) message with his 3 parts, but we have an error once it is
processed by the HL7 send pipeline. We created the parts of the multipart
message in the right order.
The message assingment part looks like:
HeaderInfo = new System.Xml.XmlDocument();
HeaderInfo.LoadXml("<ns0:MSH_24_GLO_DEF
xmlns:ns0=\"http://microsoft.com/HealthCare/HL7/2X\"><MSH><MSH.2_EncodingCharacters>^~\\&</MSH.2_EncodingCharacters><MSH.3_SendingApplication><HD.0_NamespaceId>SrcApp</HD.0_NamespaceId><HD.1_UniversalId>SrcAppUid</HD.1_UniversalId></MSH.3_SendingApplication><MSH.4_SendingFacility><HD.0_NamespaceId>srcFac</HD.0_NamespaceId><HD.1_UniversalId>srcFacUid</HD.1_UniversalId></MSH.4_SendingFacility><MSH.5_ReceivingApplication><HD.0_NamespaceId>dstApp</HD.0_NamespaceId><HD.1_UniversalId>dstAppUid</HD.1_UniversalId></MSH.5_ReceivingApplication><MSH.6_ReceivingFacility><HD.0_NamespaceId>dstFac</HD.0_NamespaceId><HD.1_UniversalId>dstFacUid</HD.1_UniversalId></MSH.6_ReceivingFacility><MSH.7_DateTimeOfMessage><TS.1>200307092343</TS.1></MSH.7_DateTimeOfMessage><MSH.8_Security>sec</MSH.8_Security><MSH.9_MessageType><CM_MSG.0_MessageType>ORU</CM_MSG.0_MessageType><CM_MSG.1_TriggerEvent>R01</CM_MSG.1_TriggerEvent></MSH.9_MessageType><MSH.10_MessageControlId>msgid2134</MSH.10_MessageControlId><MSH.11_ProcessingId><PT.0_ProcessingId>P</PT.0_ProcessingId></MSH.11_ProcessingId><MSH.12_VersionId><VID_0_VersionId>2.4</VID_0_VersionId></MSH.12_VersionId></MSH></ns0:MSH_24_GLO_DEF>");
FinalORU.MSHSegment = HeaderInfo;
FinalORU.BodySegments = ORUBODY;
FinalORU.ZSegments = "";
FinalORU(BTAHL7Schemas.MSH1) = 124;
FinalORU(BTAHL7Schemas.MSH2) = "^~\\&";
FinalORU(BTAHL7Schemas.ParseError) = false;
FinalORU(BTAHL7Schemas.ZPartPresent) = false;
FinalORU(BTAHL7Schemas.SegmentDelimiter2Char) = true;
//FinalORU(BTAHL7Schemas.Encoding)=65001;
Can anyone give us an idea where we can further look to identifiy the
problem?
We are using BTS 2006 en HL7 accelerator 1.3.
Type gebeurtenis: Fout
Bron van gebeurtenis: BizTalk Accelerator for HL7
Categorie van gebeurtenis: Geen
Gebeurtenis-ID: 4133
Datum: 18/04/2008
Tijd: 11:41:05
Gebruiker: n.v.t.
Computer: IHCPOR32
Beschrijving:
Error happened in header during serialization
Error # 1
Segment Id: MSH
Sequence Number: 1
Field Number: 12
Error Number: 207
Error Description: Application internal error
Encoding System: HL7nnnn
Alternate Error Number: Z100
Alternate Error Description: From current serializer state, tag
<VID_0_VersionId> cannot be valid
Alternate Encoding System: HL7-BTA
Error # 2
Segment Id: MSH
Sequence Number: 1
Field Number: 12
Error Number: 203
Error Description: Unsupported version id
Encoding System: HL7nnnn
Error # 3
Segment Id: MSH
Sequence Number: 1
Field Number: 12
Error Number: 207
Error Description: Application internal error
Encoding System: HL7nnnn
Alternate Error Number: Z100
Alternate Error Description: A text node with value '2.4' was found inside a
complex element. It can only occur within a simple element
Alternate Encoding System: HL7-BTA
Error # 4
Segment Id: MSH
Sequence Number: 1
Error Number: 207
Error Description: Application internal error
Encoding System: HL7nnnn
Alternate Error Number: Z100
Alternate Error Description: The element 'MSH.12_VersionId' has an invalid
structure
Alternate Encoding System: HL7-BTA
Error # 5
Alternate Error Number: 301
Alternate Error Description: Unexpected end of message body found
Alternate Encoding System: HL7-BTA
Error # 6
Segment Id:
Sequence Number: 1
Error Number: 100
Error Description: Segment sequence error (Empty value not allowed for
segment as it has at least one required field)
Encoding System: HL7nnnn
Thanks in advance!
Jens
we are trying to create a HL7 message. The orchestration builds the complete
ORU^01 (v2.4) message with his 3 parts, but we have an error once it is
processed by the HL7 send pipeline. We created the parts of the multipart
message in the right order.
The message assingment part looks like:
HeaderInfo = new System.Xml.XmlDocument();
HeaderInfo.LoadXml("<ns0:MSH_24_GLO_DEF
xmlns:ns0=\"http://microsoft.com/HealthCare/HL7/2X\"><MSH><MSH.2_EncodingCharacters>^~\\&</MSH.2_EncodingCharacters><MSH.3_SendingApplication><HD.0_NamespaceId>SrcApp</HD.0_NamespaceId><HD.1_UniversalId>SrcAppUid</HD.1_UniversalId></MSH.3_SendingApplication><MSH.4_SendingFacility><HD.0_NamespaceId>srcFac</HD.0_NamespaceId><HD.1_UniversalId>srcFacUid</HD.1_UniversalId></MSH.4_SendingFacility><MSH.5_ReceivingApplication><HD.0_NamespaceId>dstApp</HD.0_NamespaceId><HD.1_UniversalId>dstAppUid</HD.1_UniversalId></MSH.5_ReceivingApplication><MSH.6_ReceivingFacility><HD.0_NamespaceId>dstFac</HD.0_NamespaceId><HD.1_UniversalId>dstFacUid</HD.1_UniversalId></MSH.6_ReceivingFacility><MSH.7_DateTimeOfMessage><TS.1>200307092343</TS.1></MSH.7_DateTimeOfMessage><MSH.8_Security>sec</MSH.8_Security><MSH.9_MessageType><CM_MSG.0_MessageType>ORU</CM_MSG.0_MessageType><CM_MSG.1_TriggerEvent>R01</CM_MSG.1_TriggerEvent></MSH.9_MessageType><MSH.10_MessageControlId>msgid2134</MSH.10_MessageControlId><MSH.11_ProcessingId><PT.0_ProcessingId>P</PT.0_ProcessingId></MSH.11_ProcessingId><MSH.12_VersionId><VID_0_VersionId>2.4</VID_0_VersionId></MSH.12_VersionId></MSH></ns0:MSH_24_GLO_DEF>");
FinalORU.MSHSegment = HeaderInfo;
FinalORU.BodySegments = ORUBODY;
FinalORU.ZSegments = "";
FinalORU(BTAHL7Schemas.MSH1) = 124;
FinalORU(BTAHL7Schemas.MSH2) = "^~\\&";
FinalORU(BTAHL7Schemas.ParseError) = false;
FinalORU(BTAHL7Schemas.ZPartPresent) = false;
FinalORU(BTAHL7Schemas.SegmentDelimiter2Char) = true;
//FinalORU(BTAHL7Schemas.Encoding)=65001;
Can anyone give us an idea where we can further look to identifiy the
problem?
We are using BTS 2006 en HL7 accelerator 1.3.
Type gebeurtenis: Fout
Bron van gebeurtenis: BizTalk Accelerator for HL7
Categorie van gebeurtenis: Geen
Gebeurtenis-ID: 4133
Datum: 18/04/2008
Tijd: 11:41:05
Gebruiker: n.v.t.
Computer: IHCPOR32
Beschrijving:
Error happened in header during serialization
Error # 1
Segment Id: MSH
Sequence Number: 1
Field Number: 12
Error Number: 207
Error Description: Application internal error
Encoding System: HL7nnnn
Alternate Error Number: Z100
Alternate Error Description: From current serializer state, tag
<VID_0_VersionId> cannot be valid
Alternate Encoding System: HL7-BTA
Error # 2
Segment Id: MSH
Sequence Number: 1
Field Number: 12
Error Number: 203
Error Description: Unsupported version id
Encoding System: HL7nnnn
Error # 3
Segment Id: MSH
Sequence Number: 1
Field Number: 12
Error Number: 207
Error Description: Application internal error
Encoding System: HL7nnnn
Alternate Error Number: Z100
Alternate Error Description: A text node with value '2.4' was found inside a
complex element. It can only occur within a simple element
Alternate Encoding System: HL7-BTA
Error # 4
Segment Id: MSH
Sequence Number: 1
Error Number: 207
Error Description: Application internal error
Encoding System: HL7nnnn
Alternate Error Number: Z100
Alternate Error Description: The element 'MSH.12_VersionId' has an invalid
structure
Alternate Encoding System: HL7-BTA
Error # 5
Alternate Error Number: 301
Alternate Error Description: Unexpected end of message body found
Alternate Encoding System: HL7-BTA
Error # 6
Segment Id:
Sequence Number: 1
Error Number: 100
Error Description: Segment sequence error (Empty value not allowed for
segment as it has at least one required field)
Encoding System: HL7nnnn
Thanks in advance!
Jens