beautypg.com

Sun Microsystems Sun Adapter IP HL 7 User Manual

Page 111

background image

Collaboration gets triggered by a HL7
message received from a HL7
Client/Outbound/External; it then calls HL7
User Collaboration Rule by executing the
receive() method

Receive is the entry point to the HL7 User
Collaboration; it has the following signature:
receive (HL7eWay, JMS_DATA,
GenericHL7OTD, HL7ACKOTD,
JournalJMSSess, ErrorJMSSess)

Is

Sequence

Numbering

enabled?

receive (...)

receive HL7 message from

external, validate it and send

HL7 ACK/NAK

insertSequenceNumber()

Inserts the next sequence

number in the HL7 ACK/NAK

Only if Sequence Numbering is enabled

ReceiveAndsend()

Receive HL7 message

validate it and send

HL7 ACK/NAK

processInitialHandshake

sendHL7Ack() or sendHL7Nak()

YES

NO

Continue

FIGURE 9

Inbound HL7 V2 Collaboration - Part 1

About TCP/IP HL7 V2 Collaborations

Sun Adapter for TCP/IP HL7 User's Guide

111

This manual is related to the following products: