Microsoft KB Archive/931817

= Error message when you use the ADT^A03.txt file in the BizTalk Server Accelerator for HL 7 1.3 tutorial =

Article ID: 931817

Article Last Modified on 2/28/2007

-

APPLIES TO


 * Microsoft BizTalk Accelerator for HL7 1.0 Enterprise Edition

-



SYMPTOMS
The Microsoft BizTalk Server Accelerator for HL7 1.3 includes a tutorial that uses an ADT^A03.txt file. The &quot;Preparing to Use the Tutorial&quot; section of the tutorial includes steps to create the ADT^A03.txt file. When you follow the steps to create the ADT^A03.txt file and then use the file as described in the steps, you receive an error message that resembles the following:

Event Type: Error

Event Source: BizTalk Accelerator for HL7

Event Category: None

Event ID: 4101

Description: Error happened in body during parsing Error # 1 Segment Id: PD1_PatientAdditionalDemographicSegment Sequence Number: 1 Field Number: 4 Error Number: 103 Error Description: Table value not found Encoding System: HL7nnnn



CAUSE
This issue occurs because the fourth field in the PD1 segment of the sample data that is used to create the ADT^A03.txt file contains spaces. This field does not accept values that are formatted incorrectly. Therefore, the message instance is not valid.



WORKAROUND
To work around this issue, remove the extra spaces. The PD1 segment is the Patient Additional Demographic segment. The fourth field is the &quot;PD1_4 - XCN_9NameTypeCode&quot; field. The &quot;PD1_4 - XCN_9NameTypeCode&quot; field contains the following sample data when you follow the steps to create the ADT^A03.txt file: NormalString^Test&Test^Test^Test^Test^Test^AE^simpletext^simpletext&Test&ISO^P  ^NormalString^M10^MC^simpletext&NormalString&HCD^A| In this sample, there are spaces between &quot;P&quot; and the next caret (^) character. These spaces cause the issue that is described in the &quot;Symptoms&quot; section. After you remove the spaces, the PD1 segment should resemble the following: PD1|S|F|NormalString^A^+1^-1^ISO^simpletext&Test&HCD^GI^simpletext&NormalString&ISO^I|  NormalString^Test&Test^Test^Test^Test^Test^AE^simpletext^simpletext&Test&ISO^P^NormalString^M10^MC^simpletext&NormalString&HCD^A|N|simpletext|I|I|N|NormalString   ^+1^M11^simpletext&NormalString&L,M,N^RRI^simpletext&NormalString&HCD|NOVALUE^NormalString   ^Test^Test^NormalString^Test|N

Keywords: kbfix kbpubtypekc kbqfe kbbtsaccelerators kbbts kbtshoot kberrmsg kbbug kbprb KB931817

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.