function NewMessageWithExpiry(Msg : IHL7Message; Source : IHL7ConnectInterface; Days : Integer; Archive : Boolean) : IHL7ConnectMessage;

Class IHL7ConnectKernel

Create and store a new HL7Connect Message using the supplied HL7Message as a source and the interface as the nominal source.

This routine is used where a script wishes to create an entirely new message and send it to an outgoing interface.

You must provide a source interface

No validation is performed. If storage is not possible then an exception will be returned

You must specify how many days until the message expires, after which it will be removed from the database, along with a flag for whether to archive the message when it is removed from the main message store. Days = 0 means to never delete the message


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