Skip to content

Commit 31351d7

Browse files
committed
CPRS 31B Source Code with small mods:
- Broker Changed to fix SID issue - Access code and Verify Code pass on cmd line
1 parent 80ce475 commit 31351d7

705 files changed

Lines changed: 103939 additions & 78470 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Packages/Order Entry Results Reporting/CPRS/CPRS-Chart/BA/UBACore.pas

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -423,11 +423,16 @@ procedure rpcGetSC4Orders;
423423
// if (CIDC is ON) and (PatientInsured is True) then
424424
// return SC/TF for OutPatient Meds, Labs, Prosthetics, Imaging.
425425
// else
426-
// return SC/TF for Outpatient Meds only.
427-
RPCBrokerV.Param[0].PType := literal;
428-
RPCBrokerV.Param[0].Value := Patient.DFN;
429-
RPCBrokerV.RemoteProcedure := 'ORWDBA1 SCLST';
430-
CallBroker;
426+
// return SC/TF for Outpatient Meds only.
427+
LockBroker;
428+
try
429+
RPCBrokerV.Param[0].PType := literal;
430+
RPCBrokerV.Param[0].Value := Patient.DFN;
431+
RPCBrokerV.RemoteProcedure := 'ORWDBA1 SCLST';
432+
CallBroker;
433+
finally
434+
UnlockBroker;
435+
end;
431436
end;
432437

433438
procedure rpcGetProviderPatientDaysDx(ProviderIEN: string;PatientIEN: string);

0 commit comments

Comments
 (0)