DLLs need to be added to BizTalk to access artifacts in the ports. The following steps show how to add assemblies, set up ports to receive and send an HL7 message and send an acknowledgement which shows whether the message was accepted, produced an error or was rejected.

  1. Open BizTalk Server Administration Console
  2. Expand BizTalk Group
  3. Expand Applications
  4. Expand BizTalk Application1
    1. This is the Application set up for HL7
  5. Right Click “BizTalk Application1” Add->BizTalk Assemblies
    1. Click Add browse to the necessary assemblies
    2. Click OK
    3. Check “Overwrite all”
    4. Check “Add the Global assembly cache on add resource”
      1. Check this for each assembly, If adding multiple assemblies
    5.  Click OK
  6. Right Click Receive Ports-> New -> One-way Receive Port
    1. Rename ReceivePort1 to “ReceiveADTA01”
  7. Under Receive Locations Click New
    1. Under General
      1. Rename Receive Location1 to “ReceiveADTA01”
      2. Select “File” for Type
      3. Click Configure
        1. Browse to the location to receive ADTA01 flat file message
        2. Change the File mask to *.* or *.txt if this is the file extension of your message.
        3. Click Apply, Click OK
      4. Select “BTAHL72XReceivePieline” for the Receive Pipeline
        1. This is the HL7 Receive Pipeline for flat file messages
      5. Click Apply, Click OK
  8. Right Click Send Ports-> New Static One-Way Send Port
    1. Under General
      1. Rename “SendPort1” to “SendADTA01”
      2. Select “File” for Type
      3. Click Configure
        1. Browse to the to send Location
        2. Keep current File Mask
      4. Select “XML Transmit” for the Send Pipeline
      5. Click Apply, Click OK
    2. Under Filters
      1. Add the following Properties:
  9. Right Click Send Ports-> New Static One-Way Send Port
    1. Under General
      1. Rename “SendPort1” to “SendACKs”
      2. Select “File” for Type
      3. Click Configure
        1. Browse to the to send Location
        2. Change the File Mask to %MessageID%.txt
      4. Select “BTAHL72XSendPipeline” for the Send Pipeline
        1. This Pipeline will output a flat file ACK
    2. Under Filters
      1. Select the following Properties

More Recent Blogs