| Installing Upgrading Designing Configuring Deploying Monitoring Administering Troubleshooting Reference JBI Components | |
| Close Print View | |
| Designing: TCP/IP HL7 V2 Adapter Collaborations |
|
Creating a Runtime Environment
Designing Business Processes in the Sun Business Process Manager
Working with TCP/IP HL7 Collaborations
TCP/IP HL7 Adapter Collaborations Overview
TCP/IP HL7 Adapter Task Overview
Inbound HL7 V2 Collaboration Overview
Outbound HL7 V2 Collaboration Overview
Creating a Copy of an HL7 V2 Project
Customizing Predefined Collaborations for HL7 V2
Creating Copies of an HL7 V2 Collaborations
To Create Copies of an HL7 V2 Collaborations
Adding HL7 V2 OTD to an Existing Collaboration
To Add HL7 V2 OTD to an Existing Collaboration
TCP/IP HL7 V3 Adapter Collaborations
Artifact Identification System
HL7 V3 Message Development Process
Transmission Wrapper and Control Act Wrapper
Comparison between HL7 V2.x and HL7 V3
Inbound HL7 V3 Immediate Collaboration Overview
Inbound HL7 V3 Deferred Collaboration Overview
Outbound HL7 V3 Collaboration Overview
Creating a Copy of an HL7 V3 Project
Customizing Predefined Collaborations for HL7 V3
Creating Copies of an HL7 V3 Collaborations
Adding HL7 V3 OTD to an Existing Collaboration
To Add HL7 V3 OTD to an Existing Collaboration
MLLP V2 Content Exchange Model
Standard Inbound HL7 V2 Collaboration Overview over MLLPV2
Developing Sun Master Indexes (Repository)
Developing Sun Master Patient Indexes
Developing OTDs for Application Adapters
Developing OTDs for Communication Adapters
Developing OTDs for Database Adapters
Developing OTDs for Web Server Adapters
Designing with Application Adapters
Designing with Communication Adapters
Designing with Web Server Adapters
Designing with Sun JCA Adapters
The TCP/IP HL7 V2 adapter includes one inbound Collaboration (jcdHL7Inbound) and one outbound Collaboration (jcdHL7Outbound), provided within the sample Projects for inbound and outbound HL7 V2 messaging. These template/sample Projects, prjHL7Inbound and prjHL7Outbound are downloaded from the Sun Java[TM] Composite Application Platform Suite Installer. These Collaborations are designed to work as is for HL7 V2 compliant interfaces, and can be configured for your specific needs using only the property configuration files. If an interface requires special functionality, the Collaboration's Java code is easily accessible for modification, much of which can be created graphically (drag and drop), using the Collaboration Editor's Business Rules Designer.
The Collaborations contain a number of OTDs that extend functionality for HL7 V2 message handling, logging, error messaging, journaling, and sequence numbering. These include both generic HL7 OTDs for HL7 ACK/NAK generation or verification, and the Resource Adapter that communicates to the external system and offers services to the application server. The Collaboration controls messaging protocol and all business logic.
The Collaborations are designed to target one unit of work at a time, meaning the resolution of one message at a time. The basic structure of both Collaborations is a state machine implemented in a Java switch statement. The state machine keeps track of the messaging protocol so that when a Collaboration is invoked, it can retrieve the state of the connection just handed to it by the RA, and then execute the proper actions based on the state machine.
At the end of each action, the state is set for the next execution of the Collaboration. There are three main states:
To Establish: A new or reset connection needs to have an HL7 session established. If sequence numbering is used, the sequence numbers need to be negotiated.
Messaging: This is where the exchange of messages and ACKs takes place.
Shutdown: This is where any cleanup can happen before the connection is closed, or to close the connection.
Additional Collaborations can be added to a Project to increase message flow.
Note - The TCP/IP HL7 V2 Inbound Collaboration publishes received data as a Byte message in JMS using the sendBytes() method. However, the HL7 V2 Outbound Collaboration expects a Text message from JMS. The adapter is not designed for the HL7 V2 Outbound Collaboration to subscribe to a JMS data queue created by the HL7 V2 Inbound Collaboration directly. HL7 V2 Inbound and Outbound Collaborations are designed to communicate through an HL7 V2 TCP/IP adapter connection.