Ancestor: HL7Connect.Events.InterfaceBase

API for declarative purposes, DICOM is not supported, and the API should be expected to change without notice ***

This event is called when a Dicom Message is received from an interface and the message has been parsed and logged. It exists to allow the user to impose custom validation checks, do Message modification/translation, and send the Messages to interfaces or virtual queues.

The event handler can do anything it wants with the message, though the message generally needs to be valid afterwards

If the script wishes to reject the Message, it should set the Outcome accordingly (before the script is executed, the response is "unknown": the kernel will update this later when it processes the document if the script does not reject it).

The Message is logged prior to this event

XSLT: the input is the document message in XML format, the output replaces the original document

Properties

HL7Connect.Dicom.Association Association;
   The negotiated DICOM association. Will be null for non network associations

HL7Connect.Exchange.DicomMessage Message;
   A handle to the actual Dicom message received

HL7Connect.Exchange.DicomResponse Response;
   The outcome of processing the Dicom message.

The Response.outcome property defaults to droUnknown. If the outcome is not changed, the dicom message will be passed to the kernel for processing.

HL7Connect.Dicom.DicomMessageList Replies;
   Replies for the message. Usually empty. Ignored unless the outcome status is changed. If the Response.outcome is changed, and the replies list is empty, HL7Connect will build a reply for trhe response


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, Association, Replies, HL7Connect.Events.ReceiveDicom, ReceiveDicom