Oncethe message is received, the Collaboration determines whether the message needs to bevalidated.The HL7 V3 message is then validated, making sure that the message structure iscorrect.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 ImmediateMode of ACKProcess — Part 1
AboutTCP/IPHL7 V3 Collaborations
SunAdapterfor TCP/IP HL7 User's Guide • Oc tober 2009124