Ignore:
Timestamp:
May 8, 2015, 7:52:55 AM (10 years ago)
Author:
healthsevak
Message:

Committing the files for first time to this new branch

File:
1 edited

Legend:

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

    r830 r1693  
    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.