Changeset 1693 for cprs/branches/HealthSevak-CPRS/CPRS-Chart/rMeds.pas
- Timestamp:
- May 8, 2015, 7:52:55 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/branches/HealthSevak-CPRS/CPRS-Chart/rMeds.pas
r830 r1693 31 31 function MedAdminHistory(OrderID: string): TStrings; 32 32 function MedStatusGroup(const s: string): Integer; 33 procedure LoadActiveMedLists(InPtMeds, OutPtMeds, NonVAMeds: TList; var view: integer );33 procedure LoadActiveMedLists(InPtMeds, OutPtMeds, NonVAMeds: TList; var view: integer; var DateRange: string); 34 34 function GetNewDialog: string; 35 35 function PickUpDefault: string; … … 156 156 end; 157 157 158 procedure LoadActiveMedLists(InPtMeds, OutPtMeds, NonVAMeds: TList; var view: integer );158 procedure LoadActiveMedLists(InPtMeds, OutPtMeds, NonVAMeds: TList; var view: integer; var DateRange: string); 159 159 var 160 160 idx, ASeq: Integer; … … 171 171 ClearMedList(OutPtMeds); 172 172 ClearMedList(NonVAMeds); 173 CallV('ORWPS ACTIVE', [Patient.DFN, User.DUZ, view, True]);173 CallV('ORWPS ACTIVE', [Patient.DFN, User.DUZ, view, '1']); 174 174 ASeq := 0; 175 175 if (view = 0) and (RPCBrokerV.Results.Count > 0) then 176 view := StrToIntDef(RPCBrokerV.Results.Strings[0],0); 176 view := StrToIntDef(Piece(RPCBrokerV.Results.Strings[0], U, 1), 0); 177 DateRange := Piece(RPCBrokerV.Results.Strings[0], U, 2); 177 178 with RPCBrokerV do while Results.Count > 0 do 178 179 begin
Note:
See TracChangeset
for help on using the changeset viewer.