RPC HELP TRPCBroker CreateContext Method Example: Difference between revisions
From VistApedia
Jump to navigationJump to search
Created page with "<h2>Call Example</h2> The following program code demonstrates the use of the Call method in a hypothetical example of bringing back demographic information for a patient and t..." |
(No difference)
|
Latest revision as of 13:52, 5 July 2015
Call Example
The following program code demonstrates the use of the Call method in a hypothetical example of bringing back demographic information for a patient and then displaying the results in a memo box:
procedure TForm1.Button1Click(Sender: TObject);
begin
brkrRPCBroker1.RemoteProcedure := 'GET PATIENT DEMOGRAPHICS';
brkrRPCBroker1.Param[0].Value := 'DFN';
brkrRPCBroker1.Param[0].PType := reference;
brkrRPCBroker1.Call;
Memo1.Lines := brkrRPCBroker1.Results;
end;
NOTE: For a demonstration using the Call method, please run the BrokerExample.EXE located in the ..\BDK32\Samples\BrokerEx directory.