procedure BeDocumentReceiver(name : String; handler : IHL7ConnectDocumentTransferOut);
Provide a COM interface to which HL7Connect will send documents.
The name provided must be the name of an outgoing CDA interface that is defined as a COM interface, configured to be externally driven.
You must provide an implementation of the IHL7ConnectMessageTransfer COM interface that will be called sequentially for each message to be sent to the named HL7Connect interface
To avoid difficult COM threading problems, the thread that calls this method is used to poll the HL7Connect server for documents, and it will only return from this interface once document receiving is over. This will occur when: