Rediger

Del via


Prepare to Use the Tutorial

Before you use the tutorial, you need to create an ADT^A03.txt file.

To create the ADT^A03.txt file

  1. Open an editor such as Notepad and copy the following text into the editor:

    MSH|^~\&|Tutorial_ADTSystem|MCM|BTAHL7InterfaceEngine||199601121005||ADT^A03|000001|P|2.3.1  
    EVN|A03|199601121005||01||199601121000  
    PID|||191919^^^MYHOS^MR~123-45-6789^^^USSSA^SS|253763|SMITH^JOHN^Q||19560129|M|||  
        123MAIN^^BUFFALO^NY^98052^""||(123)555-0100||S|M|10199925^^^MYHOS^AN|123-45-6789  
    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  
    PV1|1|I|2000^2012^01^hey&test&DNS^test^test^test^test^test||||004777^MILLER^CONNIE^A.|||SUR||||2|A0  
    

    Note

    There should be five lines in the .txt file, one each starting with "MSH", "EVN", "PID", "PD1", and "PV1". You will need to remove the spaces within the "PID" line and the "PD1" line. If necessary, turn off word wrap in Notepad.

  2. Save the file as ADT^A03.txt in the <drive>:\Program Files\Microsoft BizTalk <version> Accelerator for HL7\SDK\End-to-End Tutorial folder, and then close Notepad.

    Proceed to Step 1: Create and Deploy Header and Acknowledgment Schemas.