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

This event is called when a message is received from an interface and the message has passed the sequence numbering and HL7 Validation checks. It exists to allow the user to impose custom validation checks, do message translation, and send the messages to interfaces or virtual queues.

The event handler can do anything it wants with the Message but it must leave it parsable and with the compulsory headers in the MSH populated. If the interface wishes to reject the message, it should set ErrorMessage and optionally ErrorCode

The message is logged prior to this event.

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


Properties

Message : IHL7ConnectMessage
ErrorMessage : String
ErrorCode : String
ResponseCode : String
Handled : Boolean
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)
SetError(Code : String, Message : String)
SetErrorCode(message : String, responseCode : String, errorCode : String)

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