This COM interface is defined and implemented by HL7Connect for use by other applications.

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

The event handler can do anything it wants with the Document but it must leave it the compulsory CDA headers populated. If the interface wishes to reject the Document, it should set the response accordingly (before the script is executed, the response is "accepted", though the kernel will override this later when it processes the document if the script does not reject it).

The Document is logged prior to this event

XSLT: the input is the document message, the output replaces the original document


Properties

Document : IHL7ConnectDocument
Response : IDocumentResponse
EventName : String
Iface : IHL7ConnectInterface
IsTestCase : Boolean
Parameter : String

Methods

SendToInterface(Name : String)
SendToInterfaceWithParams(Name : String, OutTranslationParam : String, InTranslationParam : String)
SendToVirtualQueue(Name : String)
SendToVirtualQueueWithPartition(Name : String, Partition : String)

© Kestral Computing P/L 2000 - 2003. HL7Connect v2.00-063 generated on 30-Nov 2015.
Keywords: IReceiveDocumentEvent, TReceiveDocumentEvent