Sun Microsystems TCP Computer Hardware User Manual


 
Collaboration gets triggered
by a JMS HL7 message; it
then calls HL7 User
Collaboration Rule by
executing the
receive() method
Only if
Sequence
Numbering
is enabled
Only if
Sequence
Numbering
is enabled
Receive is the entry point
to the HL7 User
Collaboration; it has the
following signature: receive
(JMSMessage, HL7Eway,
GenericHL7OTD,
HL7ACKOTD,
JournalJMSSess,
ErrorJMSSess)
HL7 message
passed
validation?
countSendRetry <
maxSendRetry?
processInitialHandshake
receive (...)
send HL7 message to
external HL7 system and
wait for HL7 ACK
validateHL7Message()
unmarshalls HL7 message
to Generic HL7 OTD
checkPopulateMSHRequiredFields()
checks for valid MSH; if necessary
populate any required fields
sendAndReceive()
Send HL7 message and
receive HL7 ACK message
insertSequenceNumber()
Inserts the next sequence
number in the HL7 message
sendHL7Message() Send the
HL7 message to External
using the HL7 eWay OTD
processMessage()
NO
NO
YES
YES
Continue
Handle No
Response Error/
Take Recourse
Action
Handle
Send Error/
Reset
Recourse
Action
FIGURE12 Outbound HL7 V2Collaboration - Part1
AboutTCP/IPHL7V2Collaborations
SunAdapterforTCP/IPHL7User's Guide • October2009116