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
FIGURE9 InboundHL7 V2 Collaboration - Part 1
AboutTCP/IPHL7 V2 Collaborations
SunAdapterfor TCP/IP HL7 User's Guide 111