Sun Microsystems TCP Computer Hardware User Manual


 
Once the message is received, the Collaboration determines whether the message needs to be
validated. The HL7 V3 message is then validated, making sure that the message structure is
correct. Various elds in the Transmission Wrapper of the message are also validated, such as
Exception
occurred?
Exception
due to
incomplete
data
receive(--) receive HL7 v3
PRPA_IN403001UV01 message,
validate it and send HL7 v3
Immediate ACK or NAK message
receiveAndSend() Gets the
HL7 v3 message from the
external, validates it and
sends ACK/NAK
receiveHL7Message()
receives the HL7 v3 message
from the external
Handle
Max Failed read
retry. Take
recourse
action
Handle No
reponse error.
Take recourse
action
YES
YES
NO NO
Continue
Collobration gets triggered by a hl7 v3
PRPA_IN403001UV01 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(HL7eway,
otd_PRPA_IN403001UV01,
otd_MCCI_IN000004UV01,JMS_DATA,
JournalJMSOTD,ErrorJMSOTD)
FIGURE15 Immediate Mode ofACK Process Part1
AboutTCP/IPHL7V3Collaborations
SunAdapterforTCP/IPHL7User's Guide • October2009124