Indy 9
|
TIdHL7 = class(TIdBaseComponent)
HL7 is used in healthcare environments. HL7 is primarily a message format standard, but HL7 messages are often exchanged using the Minimal Lower Layer Protocol which is described in the HL7 Implementation Guide (which does not appear to be available from the web site, but it part of the proper distribution of the standard)
TIdHL7 provides a connection to another system using MLLP. The connection will be monitored and restored as soon as possible if lost. TIdHl7 will act as either client or server depending on it's configuration
property Address: String;
property CommunicationMode: THL7CommunicationMode;
property ConnectionLimit: Word;
property IPMask: String;
property IPRestriction: String;
property IsListener: Boolean;
property IsServer: Boolean;
property ObjTag: TObject;
property OnConnect: TNotifyEvent;
property OnDisconnect: TNotifyEvent;
property Port: Word;
property ReceiveTimeout: Cardinal;
property ReconnectDelay: Cardinal;
property Status: TIdHL7Status;
property StatusDesc: String;
property TimeOut: Cardinal;
function AsynchronousSend(AMsg: String): TSendResponse;
procedure CheckSynchronousSendResult(AResult: TSendResponse; AMsg: String);
function Connected: Boolean;
constructor Create(Component: TComponent); override;
destructor Destroy; override;
procedure EnforceWaitReplyTimeout;
function GetMessage(var VMsg: String): pointer;
function GetReply(var VReply: String): TSendResponse;
function Going: Boolean;
procedure PreStop;
procedure SendMessage(AMsg: String);
procedure SendReply(AMsgHnd: pointer; AReply: String);
procedure Start;
procedure Stop;
function SynchronousSend(AMsg: String; var VReply: String): TSendResponse;
procedure WaitForConnection(AMaxLength: Integer);
property OnMessageArrive: TMessageArriveEvent;
property OnReceiveError: TReceiveErrorEvent;
property OnReceiveMessage: TMessageReceiveEvent;