Sun Microsystems TCP Computer Hardware User Manual


 
Is Sequence
Numbering
Enabled?
receive(--)
receive HL7 message, validate it
and send HL7
ACK / NAK message
YES
Continue
processInitialHandshake
Send HL7 ACK/ NAK
InsertSequenceNumber Inserts the
next sequence number in the
HL7 ACK/NAK
receiveAndSend()
Gets the HL7 message
from the external ,
validates it and sends
HL7 ACK/NAK
Collobration gets triggered by a hl7 message
received from HL7 client,it then calls HL7 user
colloboration rules by exceuting the receive
method.
Receive is the entry point to the HL7 user
collaboration, it has the following signature.
receive( HL7ServerApplication input, JMS
otdJMS_DATA, GENERIC_EVT otd
HL7_GENERIC_EVT_1, ACK
otdHL7_ACK_1, JMS otdJMS_JOURNAL,
JMS otdJMS_ERROR )
FIGURE24 HL7 V2 Standard Inbound MessageMode Data Flow over MLLPV2— Part 1
MLLPV2andthe SampleProjects
SunAdapterforTCP/IPHL7User's Guide 147