otdHL7_GENERIC_EVT_1,
com.stc.SeeBeyond.OTD_Library.HL7.Generic.HL7_ACK.AC K
otdHL7_ACK_1,com.stc.connectors.jms.JMS otdJMS_JOURNAL,
com.stc.connectors.jms.JMS otdJMS_ERROR) throws Throwable
Note– The above text has been wrapped to t the page.
Oncethe message is received, the Collaboration determines whether the message needs to be
validated.The HL7 V2 message is then validated making sure that the message structure is
correct.Various elds in the MSH segment of the message are also validated, such as Version
IDand Sending Facility. If these elds do not match the conguration, a NAK is returned.
Ifsequence numbering is enabled the Collaboration checks to see if the messages sequence
numberis valid. If the sequence number is not valid, the adapter sends a NAK.
Thevalidated HL7 V2 message moves on to processInitialHandshake() andthe sequence
numbersare synchronized. The sequence number within the message is checked against the
expectedsequence number. If the numbers match, the Collaboration sends an ACK, if not it
sendsa NAK. The ACK or NAK includes information from various elds of the incoming MSH
segment.The ACKs level of acknowledgement is set to A (acknowledgement is sent after the
messageis successfully processed) or C (acknowledgement is sent when the message is
successfullyreceived).
AboutTCP/IPHL7 V2 Collaborations
SunAdapterfor TCP/IP HL7 User's Guide • October 2009110