Procedure

TfrmGraphs.OneDayTypeDetails

Module

fGraphs

Last Modified

7/15/2014 3:26:36 PM

Visibility

Private

Owner

TfrmGraphs

Declaration

procedure OneDayTypeDetails(aTypeItem: string);

Calls Hierarchy


TfrmGraphs.OneDayTypeDetails
 ├TfrmGraphs.FileNameX
 ├TfrmGraphs.ItemName
 ├rpcDetailDay
 │ └onoff
 ├TfrmGraphs.NotifyApps
 └ReportBox
   └CreateReportBox
     └TfrmBase508Form.Create
       ├TfrmBase508Form.UpdateAccessibilityActions
       ├UnfocusableControlEnter
       └AdjustControls
         ├TfrmBase508Form.ModifyUnfocusableControl
         └..(rec)..

Called-By Hierarchy


                                   TfrmGraphs.OneDayTypeDetails
                           TfrmGraphs.mnuPopGraphDetailsClick┘ 
                                       TfrmGraphs.MakeChart┤   
                             TfrmGraphs.MakeSeparateItems┤ │   
                                TfrmGraphs.MakeSeparate┘ │ │   
                               TfrmGraphs.DisplayData┤   │ │   
                             TfrmFrame.ClearPatient┤ │   │ │   
                           TfrmFrame.SetupPatient┘ │ │   │ │   
                      UpdatePatientInfoForAlert┤   │ │   │ │   
                   TfrmFrame.mnuFileNextClick┘ │   │ │   │ │   
                 TfrmFrame.mnuFileOpenClick┤   │   │ │   │ │   
                     TfrmFrame.UMInitiate┤ │   │   │ │   │ │   
            TfrmFrame.mnuFileNextClick...┤ │   │   │ │   │ │   
            TfrmFrame.mnuFileRefreshClick┤ │   │   │ │   │ │   
            TfrmOrders.CheckOrderStatus┤ │ │   │   │ │   │ │   
        TfrmOrders.mnuActChgEvntClick┤ │ │ │   │   │ │   │ │   
           TfrmOrders.mnuActHoldClick┤ │ │ │   │   │ │   │ │   
         TfrmOrders.mnuActUnholdClick┤ │ │ │   │   │ │   │ │   
          TfrmOrders.mnuActRenewClick┤ │ │ │   │   │ │   │ │   
         TfrmOrders.mnuActChangeClick┤ │ │ │   │   │ │   │ │   
           TfrmOrders.mnuActCopyClick┘ │ │ │   │   │ │   │ │   
                 TfrmMeds.mnuActDCClick┤ │ │   │   │ │   │ │   
                TfrmMeds.CheckMedStatus┘ │ │   │   │ │   │ │   
             TfrmMeds.mnuActHoldClick┤   │ │   │   │ │   │ │   
            TfrmMeds.mnuActRenewClick┤   │ │   │   │ │   │ │   
           TfrmMeds.mnuActUnholdClick┤   │ │   │   │ │   │ │   
           TfrmMeds.mnuActChangeClick┤   │ │   │   │ │   │ │   
             TfrmMeds.mnuActCopyClick┤   │ │   │   │ │   │ │   
           TfrmMeds.mnuActRefillClick┘   │ │   │   │ │   │ │   
                       TfrmFrame.ViewInfo┘ │   │   │ │   │ │   
                    TfrmDCSumm.ViewInfo┤   │   │   │ │   │ │   
                  TfrmConsults.ViewInfo┤   │   │   │ │   │ │   
          TfrmFrame.pnlRemindersMouseUp┤   │   │   │ │   │ │   
           TfrmFrame.RemindersChanged┘ │   │   │   │ │   │ │   
               TfrmFrame.FormCreate┘   │   │   │   │ │   │ │   
                 TfrmFrame.pnlCIRNClick┤   │   │   │ │   │ │   
           TfrmFrame.pnlVistaWebClick┤ │   │   │   │ │   │ │   
                TfrmFrame.FormKeyDown┘ │   │   │   │ │   │ │   
              TfrmFrame.pnlPatientClick┤   │   │   │ │   │ │   
                TfrmFrame.pnlVisitClick┤   │   │   │ │   │ │   
          TfrmFrame.pnlPrimaryCareClick┤   │   │   │ │   │ │   
            TfrmFrame.pnlRemindersClick┤   │   │   │ │   │ │   
             TfrmFrame.pnlPostingsClick┤   │   │   │ │   │ │   
                 TfrmFrame.pnlFlagClick┤   │   │   │ │   │ │   
                   TfrmFrame.laMHVClick┤   │   │   │ │   │ │   
                  TfrmFrame.laVAA2Click┤   │   │   │ │   │ │   
                    TfrmOrders.ViewInfo┤   │   │   │ │   │ │   
                      TfrmMeds.ViewInfo┤   │   │   │ │   │ │   
                   TfrmSurgery.ViewInfo┤   │   │   │ │   │ │   
                     TfrmNotes.ViewInfo┤   │   │   │ │   │ │   
                  TfrmProblems.ViewInfo┘   │   │   │ │   │ │   
          TfrmFrame.mnuFileNotifRemoveClick┤   │   │ │   │ │   
                  TfrmFrame.NextButtonClick┘   │   │ │   │ │   
                TfrmFrame.SetUpNextButton┘     │   │ │   │ │   
          TfrmFrame.mnuFileOpenClick...┤       │   │ │   │ │   
                   TfrmFrame.FormResize┘       │   │ │   │ │   
                 TfrmFrame.ChangeFont┘         │   │ │   │ │   
         TfrmFrame.LoadSizesForUser┤           │   │ │   │ │   
    TfrmFrame.LoadUserPreferences┘ │           │   │ │   │ │   
           TfrmFrame.UMInitiate┘   │           │   │ │   │ │   
         TfrmFrame.mnuFontSizeClick┘           │   │ │   │ │   
                  TfrmFrame.mnuFileOpenClick...┤   │ │   │ │   
               TfrmFrame.AllowCCOWContextChange┤   │ │   │ │   
                TfrmFrame.mnuFileNextClick...┤ │   │ │   │ │   
                TfrmFrame.mnuFileOpenClick...┤ │   │ │   │ │   
       TfrmFrame.mnuFileResumeContextSetClick┘ │   │ │   │ │   
                    TfrmFrame.UpdateCCOWContext┤   │ │   │ │   
                TfrmFrame.mnuFileOpenClick...┤ │   │ │   │ │   
              TfrmFrame.ctxContextorCommitted┤ │   │ │   │ │   
               TfrmFrame.StartCCOWContextor┘ │ │   │ │   │ │   
                     TfrmFrame.FormCreate┘   │ │   │ │   │ │   
       TfrmFrame.mnuFileResumeContextGetClick┘ │   │ │   │ │   
         TfrmFrame.mnuFileResumeContextSetClick┘   │ │   │ │   
                            TfrmReports.ClearPtData┤ │   │ │   
                        TfrmFrame.ClearPatient...┘ │ │   │ │   
                                  TfrmReports.Graph┤ │   │ │   
                       TfrmReports.tvReportsClick┘ │ │   │ │   
                TfrmFrame.lstCIRNLocationsClick┤   │ │   │ │   
                          TfrmFrame.SetUpCIRN┘ │   │ │   │ │   
                  TfrmFrame.SetupPatient...┘   │   │ │   │ │   
                        TfrmReports.DisplayPage┤   │ │   │ │   
                       TfrmReports.LoadTreeView┤   │ │   │ │   
                      TfrmReports.DisplayPage┤ │   │ │   │ │   
         TfrmOptionsReportsDefault.btnOKClick┤ │   │ │   │ │   
      TfrmOptionsReportsDefault.btnResetClick┤ │   │ │   │ │   
       TfrmOptionsReportsCustom.btnApplyClick┘ │   │ │   │ │   
        TfrmOptionsReportsCustom.btnOKClick┘   │   │ │   │ │   
               TfrmReports.ProcessNotifications┤   │ │   │ │   
                      TfrmReports.DisplayPage┘ │   │ │   │ │   
                   TfrmReports.tvReportsKeyDown┤   │ │   │ │   
                TfrmReports.tvProceduresKeyDown┤   │ │   │ │   
                    TfrmReports.chkMaxFreqClick┤   │ │   │ │   
           TfrmOptionsReportsDefault.btnOKClick┤   │ │   │ │   
        TfrmOptionsReportsDefault.btnResetClick┤   │ │   │ │   
      TfrmOptionsReportsCustom.btnApplyClick...┘   │ │   │ │   
                        TfrmGraphs.chkItemsTopClick┤ │   │ │   
                     TfrmGraphs.chkItemsBottomClick┤ │   │ │   
                 TfrmGraphs.mnuPopGraphIsolateClick┤ │   │ │   
                      TfrmGraphs.cboDateRangeChange┤ │   │ │   
                    TfrmReports.lstDateRangeClick┤ │ │   │ │   
                         TfrmReports.GraphPanel┘ │ │ │   │ │   
                         TfrmReports.Graph...┤   │ │ │   │ │   
                TfrmReports.tvReportsClick...┘   │ │ │   │ │   
                            TfrmGraphs.Initialize┤ │ │   │ │   
                      TfrmFrame.ClearPatient...┤ │ │ │   │ │   
                TfrmFrame.mnuToolsGraphingClick┤ │ │ │   │ │   
                         TfrmLabs.grdLabClick┤ │ │ │ │   │ │   
                      TfrmLabs.tvReportsClick┤ │ │ │ │   │ │   
                       TfrmLabs.DisplayPage┤ │ │ │ │ │   │ │   
                      TfrmLabs.LoadTreeView┤ │ │ │ │ │   │ │   
                     TfrmLabs.DisplayPage┤ │ │ │ │ │ │   │ │   
TfrmOptionsReportsCustom.btnApplyClick...┘ │ │ │ │ │ │   │ │   
                TfrmLabs.cmdOtherTestsClick┤ │ │ │ │ │   │ │   
                   TfrmLabs.chkMaxFreqClick┤ │ │ │ │ │   │ │   
              TfrmLabs.ProcessNotifications┤ │ │ │ │ │   │ │   
                     TfrmLabs.DisplayPage┘ │ │ │ │ │ │   │ │   
                                  ..(rec)..┤ │ │ │ │ │   │ │   
                  TfrmLabs.tvReportsKeyDown┤ │ │ │ │ │   │ │   
         TfrmFrame.lstCIRNLocationsClick...┘ │ │ │ │ │   │ │   
                                    ..(rec)..┘ │ │ │ │   │ │   
                     TfrmReports.ClearPtData...┤ │ │ │   │ │   
                           TfrmReports.Graph...┘ │ │ │   │ │   
                              TfrmGraphs.FormShow┤ │ │   │ │   
                TfrmGraphs.btnChangeSettingsClick┤ │ │   │ │   
                 TfrmReports.btnChangeViewClick┘ │ │ │   │ │   
                     TfrmGraphs.CheckExpandedLabs┤ │ │   │ │   
                          TfrmGraphs.ItemsClick┘ │ │ │   │ │   
                    TfrmGraphs.DisplayData...┤   │ │ │   │ │   
               TfrmGraphs.lvwItemsBottomClick┤   │ │ │   │ │   
                   TfrmGraphs.Initialize...┤ │   │ │ │   │ │   
                    TfrmGraphs.CheckContext┤ │   │ │ │   │ │   
                      TfrmGraphs.FormShow┘ │ │   │ │ │   │ │   
               TfrmGraphs.chkDualViewsClick┤ │   │ │ │   │ │   
                 TfrmGraphs.Initialize...┤ │ │   │ │ │   │ │   
                      TfrmGraphs.FormShow┤ │ │   │ │ │   │ │   
                                   Layout┤ │ │   │ │ │   │ │   
                     TfrmGraphs.GetSize┘ │ │ │   │ │ │   │ │   
                  TfrmGraphs.FormShow┘   │ │ │   │ │ │   │ │   
     TfrmGraphs.mnuPopGraphDualViewsClick┤ │ │   │ │ │   │ │   
                TfrmGraphs.ViewSelections┘ │ │   │ │ │   │ │   
          TfrmReports.tvReportsClick...┤   │ │   │ │ │   │ │   
     TfrmGraphs.btnGraphSelectionsClick┘   │ │   │ │ │   │ │   
  TfrmReports.btnGraphSelectionsClick┘     │ │   │ │ │   │ │   
                     TfrmGraphs.GraphSwitch┤ │   │ │ │   │ │   
                     TfrmGraphs.GraphSwap┘ │ │   │ │ │   │ │   
        TfrmGraphs.mnuPopGraphSwapClick┘   │ │   │ │ │   │ │   
                      TfrmGraphs.SplitClick┤ │   │ │ │   │ │   
         TfrmGraphs.mnuPopGraphSplitClick┘ │ │   │ │ │   │ │   
           TfrmGraphs.mnuPopGraphClearClick┤ │   │ │ │   │ │   
                      TfrmGraphs.AutoSelect┤ │   │ │ │   │ │   
                   TfrmGraphs.ViewsChange┘ │ │   │ │ │   │ │   
           TfrmGraphs.lstViewsTopChange┤   │ │   │ │ │   │ │   
             TfrmGraphs.Initialize...┤ │   │ │   │ │ │   │ │   
            TfrmGraphs.GraphSwitch...┤ │   │ │   │ │ │   │ │   
     TfrmGraphs.cboDateRangeChange...┤ │   │ │   │ │ │   │ │   
         TfrmGraphs.ViewSelections...┘ │   │ │   │ │ │   │ │   
        TfrmGraphs.lstViewsBottomChange┘   │ │   │ │ │   │ │   
             TfrmGraphs.Initialize...┤     │ │   │ │ │   │ │   
            TfrmGraphs.GraphSwitch...┤     │ │   │ │ │   │ │   
     TfrmGraphs.cboDateRangeChange...┤     │ │   │ │ │   │ │   
         TfrmGraphs.ViewSelections...┘     │ │   │ │ │   │ │   
            TfrmGraphs.lvwItemsBottomChange┘ │   │ │ │   │ │   
                  TfrmGraphs.lvwItemsTopClick┘   │ │ │   │ │   
                   TfrmGraphs.Initialize...┤     │ │ │   │ │   
                        TfrmGraphs.FormShow┤     │ │ │   │ │   
            TfrmGraphs.chkDualViewsClick...┤     │ │ │   │ │   
                  TfrmGraphs.GraphSwitch...┤     │ │ │   │ │   
                   TfrmGraphs.SplitClick...┤     │ │ │   │ │   
           TfrmGraphs.mnuPopGraphClearClick┤     │ │ │   │ │   
                   TfrmGraphs.AutoSelect...┤     │ │ │   │ │   
           TfrmGraphs.mnuPopGraphResetClick┤     │ │ │   │ │   
                      TfrmGraphs.FormShow┤ │     │ │ │   │ │   
    TfrmGraphs.mnuPopGraphHorizontalClick┤ │     │ │ │   │ │   
      TfrmGraphs.mnuPopGraphVerticalClick┤ │     │ │ │   │ │   
        TfrmGraphs.mnuPopGraphRemoveClick┤ │     │ │ │   │ │   
      TfrmGraphs.mnuPopGraphZoomBackClick┘ │     │ │ │   │ │   
               TfrmGraphs.lvwItemsTopChange┘     │ │ │   │ │   
                        TfrmGraphs.ViewsChange...┤ │ │   │ │   
             TfrmGraphs.mnuPopGraphMergeLabsClick┘ │ │   │ │   
                           TfrmGraphs.ItemsClick...┤ │   │ │   
                          TfrmGraphs.ViewsChange...┤ │   │ │   
                  TfrmGraphs.mnuPopGraphRemoveClick┘ │   │ │   
                         TfrmGraphs.MakeTogetherMaybe┘   │ │   
                          TfrmGraphs.DisplayData...┘     │ │   
                                  TfrmGraphs.MakeTogether┘ │   
                        TfrmGraphs.MakeTogetherMaybe...┘   │   
                                     TfrmGraphs.LabelClicks┘   
                                   TfrmGraphs.MouseClicks┘     
                          TfrmGraphs.chartBaseMouseDown┘       
                          TfrmGraphs.chkItemsTopClick┤         
                       TfrmGraphs.chkItemsBottomClick┤         
                              TfrmGraphs.MakeChart...┘         

Calls

Name Declaration Comments
TfrmGraphs.FileNameX function FileNameX(filenum: string): string; -
TfrmGraphs.ItemName function ItemName(filenum, itemnum: string): string; -
TfrmGraphs.NotifyApps procedure NotifyApps(aList: TStrings); -
ReportBox procedure ReportBox(ReportText: TStrings; ReportTitle: string; AllowPrint: boolean); -
rpcDetailDay procedure rpcDetailDay(Dest: TStrings; const PatientDFN: string; ADate1, ADate2: TFMDateTime; ATypeItem: string; complete: boolean); -

Called-By

Name Declaration Comments
TfrmGraphs.mnuPopGraphDetailsClick procedure mnuPopGraphDetailsClick(Sender: TObject); -


Source

4450  procedure TfrmGraphs.OneDayTypeDetails(aTypeItem: string);
4451  var
4452    strdate1, strdate2, titleitem, titletype: string;
4453    date1, date2: TFMDateTime;
4454    tmpList: TStringList;
4455  begin
4456    tmpList := TStringList.Create;
4457    strdate1 := FormatDateTime('mm/dd/yyyy', FDate1);
4458    strdate2 := FormatDateTime('mm/dd/yyyy', FDate2);
4459    FDate1 := StrToDateTime(strdate1);
4460    FDate2 := StrToDateTime(strdate2);
4461    date1 := DateTimeToFMDateTime(FDate1 + 1);
4462    date2 := DateTimeToFMDateTime(FDate2);
4463    titletype := FileNameX(Piece(aTypeItem, '^', 1));
4464    titleitem := ItemName(Piece(aTypeItem, '^', 1), Piece(aTypeItem, '^', 2));
4465    rpcDetailDay(tmpList, Patient.DFN, date1, date2, aTypeItem, true);
4466    NotifyApps(tmpList);
4467    ReportBox(tmpList, titletype + ': ' + titleitem + ' on ' + Patient.Name + ' for ' + FormatFMDateTime('mmm d, yyyy', date1), True);
4468    tmpList.Free;
4469  end;