Sun Microsystems TCP Computer Hardware User Manual


 
Receive is the entry point to the
HL7 user collaboration, it has the
following signature. receive
(JMSMessage,HL7eway,
otd_PRPA_IN403001UV01,
otd_MCCI_IN000004UV01,
otdMCCI_IN000006UV01_1,
JournalJMSOTD,
ErrorJMSOTD)
HL7 v3
message
passed
validation
receive(--)
send HL7 message to external
HL7 system and wait for HL7 ACK
validateHL7Message()
Unmarshalls hl7 v3 message to
PRPA_IN403001UV01 hl7 otd
checkPopulateTransmission
WrapperRequiredFields()
check for valid Transmission
wrapper : If necessary populate
any required fields
YES
YES
NO
NO
Continue
Collaboration gets triggered by
JMS HL7 message. It then calls
HL7 user collaboration rule by
executing the receive method.
Only if sequence
numbering is enabled
and ACK process is
deferred Mode
ProcessInitialHandshake()
and retrieveSequence
NumberFromFile(--)
processMessage()
sendAndReceive() send hl7
v3 interation message
(PRPA_IN403001UV01)
and receive ACK message
based on the ACK mode
Handle
validation error.
Take recourse
action
Handle send
error.Reset
recourse action
CountSend
Retry
< maxSend
Retry
FIGURE20 Immediate and Deferred Mode ofACK Process Part 1
AboutTCP/IPHL7V3Collaborations
SunAdapterforTCP/IPHL7User's Guide 135