Sun Microsystems TCP Computer Hardware User Manual


 
Continued
journalHL7
Message()
archiveError
Message()
Handle max Nak
sent Condition/Take
recourse action
Exit
Recourse action
if failed to journal
HL7
Message passed
Validation?
Journal HL7
Message?
SendHL7NAK()
Sends HL7 NAK
SendHL7ACK()
Sends HL7 ACK
StoreHL7ACK()
Stores HL7 ACK in the
persistence database
JournalMessage().
Sends HL7 and ACK messsages
to JMS Journal Destination
processAckNakSequenceNumbering()
Calculates the next sequence number and
stores the number in the sequence number file
StoreHL7NAK()
Stores HL7 NAK in
Persistence Database
Calls other helper methods
to makeNAK and send it
This is to store the HL7 ACK in the
persistence database agains the
received HL7 message. This will
be stored only for MLLPV2
Only if sequence number is enabled,
Calls updateSequenceNumberFile
to persist the next sequence number
NO
NO
YES
YES
JMS Message
consumed
and committed
FIGURE26 HL7 V2 Standard Inbound MessageMode Data Flow over MLLPV2— Part 3
MLLPV2andthe SampleProjects
SunAdapterforTCP/IPHL7User's Guide • October2009150