Ancestor: HL7Connect.Events.InterfaceBase

This event is called once a reply has been generated for a message. The script is allowed full access to the reply message but should leave the MSH and MSA fields populated.

The logs are written after this event

This event is also a chance to queue the incoming message (SourceMessage) for other interfaces, but beware that the event will be called whether or not the message was accepted. (Use SourceMessage.Stored to check)

XSLT: the input is the reply that will be sent, the output replaces the reply

Properties

HL7Connect.Exchange.Message SourceMessage;
   A handle to the message that was received, for which this is an answer.

HL7Connect.Exchange.Message ReplyMessage;
   A handle to the message that is to be returned to the sending interface


Methods

void SendToInterface(string Name);
   Send the message to the named (message) interface.

Note that this is not immediate; instead, the message will be added to the queue after the script finishes executing

void SendToInterfaceWithParams(string Name, string OutTranslationParam, string InTranslationParam);
   Send the message to the named (message) interface with translation parameters for the scripts.

Note that this is not immediate; instead, the message will be added to the queue after the script finishes executing

void SendToVirtualQueue(string Name);
   Send the message to the named virtual queue.

Note that this is not immediate; instead, the message will be added to the queue after the script finishes executing

void SendToVirtualQueueWithPartition(string Name, string Partition);
   Send the message to the named virtual queue with a specified partition.

Note that this is not immediate; instead, the message will be added to the queue after the script finishes executing


© Kestral Computing P/L 2000 - 2003. HL7Connect v2.00-063 generated on 30-Nov 2015.
Keywords: SendToInterface, SendToInterfaceWithParams, SendToVirtualQueue, SendToVirtualQueueWithPartition, ReplyMessage, SourceMessage, HL7Connect.Events.SendReply, SendReply