Ancestor: HL7Connect.Events.Base

Called by an outgoing scripted message interface when a message is to be sent. The script must populate a reply message, and set the return status.


HL7Connect.V2.Message OutMessage;
   A handle to the message that is being sent. The script is responsible for what happens to the message when this event is used.

HL7Connect.V2.Message ReplyMessage;
   A handle to a prebuilt ACK answer message to the message to be sent. If the script wants, it can modify this message. If an error condition arises, the script can throw an exception, which will be treated as a message error (AE) by the kernel. If this doesn't give quite enough control over the kernel behaviour, the script can change the values of the MSA segment of the ReplyMessage


© Kestral Computing P/L 2000 - 2003. HL7Connect v2.00-063 generated on 30-Nov 2015.
Keywords: ReplyMessage, OutMessage, HL7Connect.Events.SendScriptMessage, SendScriptMessage