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/fGraphData.pas

    r830 r1693  
    8787  function GetATestGroup(testgroup: Integer; userx: int64): TStrings;
    8888  function GetCurrentSetting: string;
    89   function GetDefaultInpatientDate: string;
    90   function GetDefaultOutpatientDate: string;
    9189  function GetGraphProfiles(profiles, permission: string; ext: integer; userx: int64): TStrings;
    9290  function GetGraphStatus: string;
     
    9795  function GraphTurboOn: boolean;
    9896  procedure SetCurrentSetting(aString: string);
    99   procedure SetDefaultInpatientDate(aString: string);
    100   procedure SetDefaultOutpatientDate(aString: string);
    10197  procedure SetGraphStatus(aString: string);
    10298  procedure SetOldDFN(aString: string);
     
    145141  begin
    146142    CurrentSetting := '';
    147     DefaultInpatientDate := '';
    148     DefaultOutpatientDate := '';
    149143    OldDFN := '';
    150144    PublicSetting := '';
     
    185179      FGraphActivity.PersonalSetting := FGraphActivity.PublicSetting;
    186180    FGraphActivity.CurrentSetting := FGraphActivity.PersonalSetting;
    187     FGraphActivity.DefaultInpatientDate := Piece(FGraphActivity.PersonalSetting, '|', 10);
    188     FGraphActivity.DefaultOutpatientDate := Piece(FGraphActivity.PersonalSetting, '|', 9);
    189181    FGraphActivity.PublicEditor := rpcPublicEdit;    // use this as PublicEdit permission for user
    190182  end;
     
    222214  ClearMemos;
    223215  ClearGtsl;
     216  pnlData.Hint := '';
    224217  oldDFN := FGraphActivity.OldDFN;         // cleanup any previous patient cache
    225218  FastAssign(rpcGetTypes(Patient.DFN, false), GtslTypes);
     
    436429procedure TfrmGraphData.btnRefreshClick(Sender: TObject);
    437430begin
     431  frmGraphData.WindowState := wsMaximized;
    438432  ClearMemos;
    439433  FillMemos;
     
    534528end;
    535529
    536 function GetDefaultInpatientDate: string;
    537 begin
    538   Result := FGraphActivity.DefaultInpatientDate;
    539 end;
    540 
    541 function GetDefaultOutpatientDate: string;
    542 begin
    543   Result := FGraphActivity.DefaultOutpatientDate;
    544 end;
    545 
    546530function GetGraphProfiles(profiles, permission: string; ext: integer; userx: int64): TStrings;
    547531var      // temporary fix - converting definitions in GtslAllViews to rpc format
     
    592576        else
    593577        begin
     578          if length(bigline) > 0 then
     579            GtslScratchTemp.Add(bigline);
    594580          break;
    595581        end;
     
    606592      end;
    607593    end;
    608     if length(bigline) > 0 then
    609       GtslScratchTemp.Add(bigline);     
    610594    if allviews or fulltext then
    611595      MixedCaseList(GtslScratchTemp);
     
    687671end;
    688672
    689 procedure SetDefaultInpatientDate(aString: string);
    690 begin
    691   FGraphActivity.DefaultInpatientDate := aString;
    692 end;
    693 
    694 procedure SetDefaultOutpatientDate(aString: string);
    695 begin
    696   FGraphActivity.DefaultOutpatientDate := aString;
    697 end;
    698 
    699673procedure SetGraphStatus(aString: string);
    700674begin
Note: See TracChangeset for help on using the changeset viewer.