Ignore:
Timestamp:
May 7, 2015, 12:34:29 PM (9 years ago)
Author:
healthsevak
Message:

Updating the working copy to CPRS version 28

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cprs/trunk/CPRS-Chart/rMeds.pas

    r830 r1679  
    3131function MedAdminHistory(OrderID: string): TStrings;
    3232function MedStatusGroup(const s: string): Integer;
    33 procedure LoadActiveMedLists(InPtMeds, OutPtMeds, NonVAMeds: TList; var view: integer);
     33procedure LoadActiveMedLists(InPtMeds, OutPtMeds, NonVAMeds: TList; var view: integer; var DateRange: string);
    3434function GetNewDialog: string;
    3535function PickUpDefault: string;
     
    156156end;
    157157
    158 procedure LoadActiveMedLists(InPtMeds, OutPtMeds, NonVAMeds: TList; var view: integer);
     158procedure LoadActiveMedLists(InPtMeds, OutPtMeds, NonVAMeds: TList; var view: integer; var DateRange: string);
    159159var
    160160  idx, ASeq: Integer;
     
    171171  ClearMedList(OutPtMeds);
    172172  ClearMedList(NonVAMeds);
    173   CallV('ORWPS ACTIVE', [Patient.DFN, User.DUZ, view, True]);
     173  CallV('ORWPS ACTIVE', [Patient.DFN, User.DUZ, view, '1']);
    174174  ASeq := 0;
    175175  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);
    177178  with RPCBrokerV do while Results.Count > 0 do
    178179  begin
Note: See TracChangeset for help on using the changeset viewer.