MLLPV2 and the Sample Projects
MinimalLower Layer Protocol Release 2 (MLLP V2.0) is a message transport protocol, and is
requiredfor all message transport protocols used to transport HL7 Version 3 content. This
protocolwraps the HL7 message to indicate the beginning and end of each message.
Thefollowing topics provide instruction on how to set up the MLLP database, and describe
MLLPV2.0 and the MLLP V2.0 sample Project provided with the TCP/IP HL7 Adapter:
■“Creatingand Conguring the MLLP V2.0 Database” on page 140
■“MLLPV2 Content Exchange Model” on page 144
■“StandardInbound HL7 V2 Collaboration Overview over MLLPV2” on page 146
Creatingand Conguring the MLLP V2.0 Database
Usingthe HL7 Adapter with MLLP V2.0 transport scenarios requires an MLLP database. This
topicdescribes the steps to connect to Sun's Java Database (based on the Apache Derby
database)and run the MLLP V2.0 database scripts.
TheTCP/IP HL7 Adapter supports the following database platforms for the MLLP database:
■DB2
■JavaDB (Derby)
■Oracle
■MicrosoftSQL Server
■Sybase
Performthe following steps in the order given to set up the MLLP database:
■“ToCreate and Connect to the Database” on page 140
■“ToRun the MLLP V2.0 Database Scripts” on page 142
■“ToCreate the Connection Pool and JDBC Resource” on page 144
■“Associatingthe MLLP Database With the Adapter” on page 144
▼ToCreate and Connect to the Database
Createa database instance using your database platformtools. If you are using a Java DB
database,perform the following steps to create the database:
a. Onthe NetBeans Services window, expand Databases.
b. Right-clickJava DB,and then click Create Database.
TheCreate Java DB Database dialog box appears.
c. Entera name for the database, along with a login user name and password.
1
MLLPV2and the Sample Projects
SunAdapterfor TCP/IP HL7 User's Guide •October 2009140