Ancestor: HL7Connect.Events.InterfaceBase

This event is called after a Dicom Message is sent, and a response has been received.

Before this event is called, the incoming reply is interpreted into the response that summarises the reply. The script can override the interpretation of the DICOM replies, and/or change the values in the one or more messages received from the external destination system

The logs are written after this event

Properties

HL7Connect.Exchange.DicomMessage Message;
   A handle to the actual Dicom Messages that was sent

HL7Connect.Dicom.DicomMessageList Replies;
   A list of replies that were received. The list will contain at least one reply. The script can modify the replies as required.

Note that this event has both Replies and Response. The Response controls the behaviour of the HL7Connect kernel when it comes to re-sending, etc. The contents of the replies are ignored after this event for this purpose. If the message was passed through from an incoming interface, and the event handler clears the replies, the kernel will construct a reply message based on the information in the response

HL7Connect.Exchange.DicomResponse Response;
   How the replies are understood by HL7Connect. The response.outcome must not be droUnknown at the end of this event (and will have some other value prior to this event being called)

Note that this event has both Replies and Response. The Response controls the behaviour of the HL7Connect kernel when it comes to re-sending, etc. The contents of the replies are ignored after this event for this purpose.

HL7Connect.Kernel.Interface SourceInterface;
   Handle the source interface that received the Document. It is possible that the source interface is no longer valid, in which case the value will be null


Methods

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

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

void SendToInterfaceWithParams(string Name, string OutTranslationParam, string InTranslationParam);
   Send the message to the named (dicom) 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 kernel after the script executes.

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: Response, Message, SendToInterface, SendToInterfaceWithParams, SendToVirtualQueue, SendToVirtualQueueWithPartition, SourceInterface, Replies, HL7Connect.Events.ReceiveDicomReply, ReceiveDicomReply