Sun Microsystems TCP Computer Hardware User Manual


 
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.
Once the 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
ID and Sending Facility. If these elds do not match the conguration, a NAK is returned.
If sequence numbering is enabled the Collaboration checks to see if the messages sequence
number is valid. If the sequence number is not valid, the adapter sends a NAK.
The validated HL7 V2 message moves on to processInitialHandshake() and the sequence
numbers are synchronized. The sequence number within the message is checked against the
expected sequence number. If the numbers match, the Collaboration sends an ACK, if not it
sends a 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
message is successfully processed) or C (acknowledgement is sent when the message is
successfully received).
AboutTCP/IPHL7V2Collaborations
SunAdapterforTCP/IPHL7User's Guide • October2009110