Procedure

TfrmGraphs.CheckExpandedLabs

Module

fGraphs

Last Modified

7/15/2014 3:26:36 PM

Comments

When using Reports graph and Float graph, multispec lab tests need to update correctly

Visibility

Private

Owner

TfrmGraphs

Declaration

procedure CheckExpandedLabs(aListView: TListView);

Calls Hierarchy


TfrmGraphs.CheckExpandedLabs
 └TfrmGraphs.cboDateRangeChange
   ├TfrmGraphs.SelCopy
   ├TfrmGraphs.HideGraphs
   ├TfrmGraphs.DateSteps
   ├TfrmGraphs.FilterListView
   │ ├TfrmGraphs.TypeIsDisplayed
   │ ├TfrmGraphs.DateRangeItems
   │ │ ├rpcDateItem
   │ │ │ └onoff
   │ │ ├TfrmGraphs.FileNameX
   │ │ ├TfrmGraphs.UpdateView
   │ │ └TfrmGraphs.DateRangeMultiItems
   │ ├TfrmGraphs.FileNameX
   │ ├TfrmGraphs.UpdateView
   │ └TfrmGraphs.SortListView
   │   ├TfrmGraphs.lvwItemsTopColumnClick
   │   ├TfrmGraphs.lvwItemsBottomColumnClick
   │   └TfrmGraphs.AssignProfile
   │     └TfrmGraphs.SetProfile
   │       └TfrmGraphs.ProfileName
   │         └TfrmGraphs.DCName
   │           └rpcClass
   │             └onoff
   ├TfrmGraphs.SelReset
   ├TfrmGraphs.DisplayData
   │ ├TfrmGraphs.SetFontSize
   │ ├TfrmGraphs.ItemsClick
   │ │ ├TfrmGraphs.CheckExpandedLabs...
   │ │ ├TfrmGraphs.HideGraphs
   │ │ ├TfrmGraphs.CheckToAddData
   │ │ │ ├TfrmGraphs.LabData
   │ │ │ │ ├rpcGetItemData
   │ │ │ │ │ └onoff
   │ │ │ │ ├TfrmGraphs.SpecRefCheck
   │ │ │ │ │ └TfrmGraphs.RefUnits
   │ │ │ │ │   └TfrmGraphs.SelectRef
   │ │ │ │ │     └CheckRef
   │ │ │ │ ├TfrmGraphs.SpecRefSet
   │ │ │ │ │ └MultiRef
   │ │ │ │ ├TfrmGraphs.FileNameX
   │ │ │ │ ├TfrmGraphs.LabCheck
   │ │ │ │ ├TfrmGraphs.DateRangeMultiItems
   │ │ │ │ └TfrmGraphs.LabAdd
   │ │ │ └rpcGetItemData...
   │ │ ├TfrmGraphs.DisplayData...
   │ │ └TfrmGraphs.ZoomUpdate
   │ │   ├TfrmGraphs.ZoomTo
   │ │   │ └TfrmGraphs.SizeDates
   │ │   │   ├TfrmGraphs.GraphFooter
   │ │   │   └TfrmGraphs.SeriesForLabels
   │ │   └TfrmGraphs.ZoomUpdateInfo
   │ │     ├TfrmGraphs.InfoMessage
   │ │     └TfrmGraphs.MergedLabsSelected
   │ ├TfrmGraphs.MakeSeparate
   │ │ ├TfrmGraphs.chartBaseMouseMove
   │ │ │ └TfrmGraphs.InactivateHint
   │ │ ├TfrmGraphs.MakeSeparateItems
   │ │ │ ├TfrmGraphs.GraphTypeNum
   │ │ │ ├TfrmGraphs.TitleInfo
   │ │ │ │ └TfrmGraphs.RefUnits...
   │ │ │ ├TfrmGraphs.MakeChart
   │ │ │ │ ├TfrmGraphs.HideDates
   │ │ │ │ ├TfrmGraphs.ChartOnZoom
   │ │ │ │ │ ├TfrmGraphs.SizeDates...
   │ │ │ │ │ └TfrmGraphs.ZoomUpdateInfo...
   │ │ │ │ ├TfrmGraphs.ChartOnUndoZoom
   │ │ │ │ │ ├TfrmGraphs.SizeDates...
   │ │ │ │ │ ├TfrmGraphs.InfoMessage
   │ │ │ │ │ └TfrmGraphs.MergedLabsSelected
   │ │ │ │ ├TfrmGraphs.chartBaseClickSeries
   │ │ │ │ │ ├TfrmGraphs.InactivateHint
   │ │ │ │ │ └TfrmGraphs.SeriesClicks
   │ │ │ │ │   ├TfrmGraphs.ValueText
   │ │ │ │ │   │ ├TfrmGraphs.NonNumText
   │ │ │ │ │   │ │ ├TfrmGraphs.FileNameX
   │ │ │ │ │   │ │ ├TfrmGraphs.ItemName
   │ │ │ │ │   │ │ └TfrmGraphs.SetRefNonNum
   │ │ │ │ │   │ │   └TfrmGraphs.RefUnits...
   │ │ │ │ │   │ ├TfrmGraphs.ItemCheck
   │ │ │ │ │   │ ├TfrmGraphs.CheckMedNum
   │ │ │ │ │   │ ├TfrmGraphs.FileNameX
   │ │ │ │ │   │ ├TfrmGraphs.ValueDates
   │ │ │ │ │   │ ├TfrmGraphs.ResultValue
   │ │ │ │ │   │ │ ├TfrmGraphs.serDatelineTopGetMarkText
   │ │ │ │ │   │ │ └TfrmGraphs.BPValue
   │ │ │ │ │   │ └TfrmGraphs.OtherInfo
   │ │ │ │ │   │   └TfrmGraphs.SetRef
   │ │ │ │ │   │     └TfrmGraphs.RefUnits...
   │ │ │ │ │   ├TfrmGraphs.LabNameResults
   │ │ │ │ │   └TfrmGraphs.AllTypeDate
   │ │ │ │ │     ├TfrmGraphs.CheckToAddData...
   │ │ │ │ │     ├TfrmGraphs.TempData
   │ │ │ │ │     │ ├TfrmGraphs.ItemName
   │ │ │ │ │     │ └TfrmGraphs.SetRef...
   │ │ │ │ │     └ReportBox
   │ │ │ │ │       └CreateReportBox
   │ │ │ │ │         └TfrmBase508Form.Create
   │ │ │ │ │           ├TfrmBase508Form.UpdateAccessibilityActions
   │ │ │ │ │           ├UnfocusableControlEnter
   │ │ │ │ │           └AdjustControls
   │ │ │ │ │             ├TfrmBase508Form.ModifyUnfocusableControl
   │ │ │ │ │             └..(rec)..
   │ │ │ │ ├TfrmGraphs.chartBaseClickLegend
   │ │ │ │ │ └TfrmGraphs.ItemDateRange
   │ │ │ │ │   ├TfrmGraphs.ValueText...
   │ │ │ │ │   └ReportBox...
   │ │ │ │ ├TfrmGraphs.mnuPopGraphDetailsClick
   │ │ │ │ │ ├TfrmGraphs.ItemCheck
   │ │ │ │ │ ├TfrmGraphs.HSAbbrev
   │ │ │ │ │ ├TfrmGraphs.ValueText...
   │ │ │ │ │ ├TfrmGraphs.LabNameResults
   │ │ │ │ │ ├TfrmGraphs.AllTypeDate...
   │ │ │ │ │ ├TfrmGraphs.OneDayTypeDetails
   │ │ │ │ │ │ ├TfrmGraphs.FileNameX
   │ │ │ │ │ │ ├TfrmGraphs.ItemName
   │ │ │ │ │ │ ├rpcDetailDay
   │ │ │ │ │ │ │ └onoff
   │ │ │ │ │ │ ├TfrmGraphs.NotifyApps
   │ │ │ │ │ │ └ReportBox...
   │ │ │ │ │ └TfrmGraphs.AllDetails
   │ │ │ │ │   ├TfrmGraphs.HSAbbrev
   │ │ │ │ │   ├rpcDetailSelected
   │ │ │ │ │   │ └onoff
   │ │ │ │ │   ├TfrmGraphs.NotifyApps
   │ │ │ │ │   ├ReportBox...
   │ │ │ │ │   └TfrmGraphs.ItemDateRange...
   │ │ │ │ ├TfrmGraphs.chartBaseMouseDown
   │ │ │ │ │ ├TfrmGraphs.InactivateHint
   │ │ │ │ │ └TfrmGraphs.MouseClicks
   │ │ │ │ │   └TfrmGraphs.LabelClicks
   │ │ │ │ │     ├TfrmGraphs.mnuPopGraphDetailsClick...
   │ │ │ │ │     ├TfrmGraphs.ValueText...
   │ │ │ │ │     ├TfrmGraphs.LabNameResults
   │ │ │ │ │     └TfrmGraphs.AllTypeDate...
   │ │ │ │ ├TfrmGraphs.chartBaseMouseUp
   │ │ │ │ └TfrmGraphs.chartBaseMouseMove...
   │ │ │ ├TfrmGraphs.PadLeftEvent
   │ │ │ ├TfrmGraphs.MakeLineSeries
   │ │ │ │ ├TfrmGraphs.MakeSeriesInfo
   │ │ │ │ │ ├TfrmGraphs.GetData
   │ │ │ │ │ │ └TfrmGraphs.FMCorrectedDate
   │ │ │ │ │ └TfrmGraphs.NextColor
   │ │ │ │ ├TfrmGraphs.NextPointerStyle
   │ │ │ │ ├TfrmGraphs.BPCheck
   │ │ │ │ │ └TfrmGraphs.MakeSeriesBP
   │ │ │ │ ├TfrmGraphs.FMCorrectedDate
   │ │ │ │ ├TfrmGraphs.HighLow
   │ │ │ │ │ └TfrmGraphs.FMToDateTime
   │ │ │ │ ├TfrmGraphs.BPAdd
   │ │ │ │ │ └TfrmGraphs.BorderValue
   │ │ │ │ ├TfrmGraphs.NumAdd
   │ │ │ │ │ ├TfrmGraphs.StdDev
   │ │ │ │ │ ├TfrmGraphs.BorderValue
   │ │ │ │ │ └TfrmGraphs.InvVal
   │ │ │ │ ├TfrmGraphs.NonNumSave
   │ │ │ │ ├TfrmGraphs.MakeSeriesRef
   │ │ │ │ │ └TfrmGraphs.BorderValue
   │ │ │ │ ├TfrmGraphs.MakeSeriesPoint
   │ │ │ │ ├TfrmGraphs.PainAdd
   │ │ │ │ └TfrmGraphs.FixedDates
   │ │ │ ├TfrmGraphs.MakeBarSeries
   │ │ │ │ ├TfrmGraphs.MakeSeriesPoint
   │ │ │ │ ├TfrmGraphs.MakeSeriesInfo...
   │ │ │ │ ├TfrmGraphs.NextPointerStyle
   │ │ │ │ ├TfrmGraphs.FMCorrectedDate
   │ │ │ │ ├TfrmGraphs.HighLow...
   │ │ │ │ ├TfrmGraphs.InfoMessage
   │ │ │ │ ├TfrmGraphs.MergedLabsSelected
   │ │ │ │ └TfrmGraphs.FixedDates
   │ │ │ ├TfrmGraphs.MakeVisitGanttSeries
   │ │ │ │ ├TfrmGraphs.MakeSeriesPoint
   │ │ │ │ ├TfrmGraphs.MakeSeriesInfo...
   │ │ │ │ ├TfrmGraphs.FMCorrectedDate
   │ │ │ │ ├TfrmGraphs.HighLow...
   │ │ │ │ └TfrmGraphs.FixedDates
   │ │ │ ├TfrmGraphs.MakePointSeries
   │ │ │ │ ├TfrmGraphs.MakeSeriesInfo...
   │ │ │ │ ├TfrmGraphs.NextPointerStyle
   │ │ │ │ ├TfrmGraphs.FMCorrectedDate
   │ │ │ │ ├TfrmGraphs.HighLow...
   │ │ │ │ └TfrmGraphs.TempCheck
   │ │ │ ├TfrmGraphs.MakeGanttSeries
   │ │ │ │ ├TfrmGraphs.MakeSeriesPoint
   │ │ │ │ ├TfrmGraphs.MakeSeriesInfo...
   │ │ │ │ ├TfrmGraphs.FMCorrectedDate
   │ │ │ │ ├TfrmGraphs.HighLow...
   │ │ │ │ └TfrmGraphs.FixedDates
   │ │ │ └TfrmGraphs.MakeOtherSeries
   │ │ │   ├TfrmGraphs.MakeNonNumerics
   │ │ │   │ ├TfrmGraphs.PadNonNum
   │ │ │   │ │ ├TfrmGraphs.StackNonNum
   │ │ │   │ │ └TfrmGraphs.MakeSeriesPoint
   │ │ │   │ ├TfrmGraphs.MakeSeriesPoint
   │ │ │   │ ├TfrmGraphs.PadLeftNonNumeric
   │ │ │   │ ├TfrmGraphs.ChartOnUndoZoom...
   │ │ │   │ └TfrmGraphs.MakeNonNumSeries
   │ │ │   │   └TfrmGraphs.MakeSeriesPoint
   │ │ │   ├TfrmGraphs.DisplayFreeText
   │ │ │   └TfrmGraphs.MakeComments
   │ │ │     └TfrmGraphs.MakeSeriesPoint
   │ │ └TfrmGraphs.AdjustTimeframe
   │ │   └TfrmGraphs.BottomAxis
   │ │     └..(rec)..
   │ ├TfrmGraphs.MakeTogetherMaybe
   │ │ ├TfrmGraphs.MakeSeparate...
   │ │ └TfrmGraphs.MakeTogether
   │ │   ├TfrmGraphs.GraphTypeNum
   │ │   ├TfrmGraphs.MakeChart...
   │ │   ├TfrmGraphs.PortionSize
   │ │   ├TfrmGraphs.SizeTogether
   │ │   ├TfrmGraphs.MakeTogetherNoLines
   │ │   │ ├TfrmGraphs.GraphTypeNum
   │ │   │ └TfrmGraphs.MakeDateline
   │ │   │   ├TfrmGraphs.MakeBarSeries...
   │ │   │   ├TfrmGraphs.MakeVisitGanttSeries...
   │ │   │   ├TfrmGraphs.MakePointSeries...
   │ │   │   └TfrmGraphs.MakeGanttSeries...
   │ │   ├TfrmGraphs.MakeTogetherOnlyLines
   │ │   │ ├TfrmGraphs.TitleInfo...
   │ │   │ ├TfrmGraphs.MakeLineSeries...
   │ │   │ └TfrmGraphs.DisplayFreeText
   │ │   ├TfrmGraphs.MakeTogetherAnyLines
   │ │   │ ├TfrmGraphs.SingleLabTest
   │ │   │ ├TfrmGraphs.TitleInfo...
   │ │   │ ├TfrmGraphs.GraphTypeNum
   │ │   │ ├TfrmGraphs.MakeLineSeries...
   │ │   │ ├TfrmGraphs.DisplayFreeText
   │ │   │ └TfrmGraphs.MakeDateline...
   │ │   ├TfrmGraphs.MakeOtherSeries...
   │ │   └TfrmGraphs.GraphBoundry
   │ │     ├TfrmGraphs.chartBaseMouseMove...
   │ │     └TfrmGraphs.AdjustTimeframe...
   │ └TfrmGraphs.DisplayDataInfo
   │   ├TfrmGraphs.ChangeStyle
   │   │ ├TfrmGraphs.ChartStyle
   │   │ │ └TfrmGraphs.HideDates
   │   │ └TfrmGraphs.ChartColor
   │   ├TfrmGraphs.InfoMessage
   │   └TfrmGraphs.MergedLabsSelected
   ├TfrmGraphs.lstViewsTopChange
   │ └TfrmGraphs.ViewsChange
   │   ├TfrmGraphs.InactivateHint
   │   ├TfrmGraphs.DisplayData...
   │   ├TfrmGraphs.CheckProfile
   │   │ ├GetGraphProfiles
   │   │ │ └rpcGetGraphProfiles
   │   │ │   └onoff
   │   │ ├GetATestGroup
   │   │ │ └rpcATestGroup
   │   │ ├TfrmGraphs.ExpandTax
   │   │ │ └rpcTaxonomy
   │   │ │   └onoff
   │   │ └TfrmGraphs.LoadDisplayCheck
   │   │   ├TfrmGraphs.TypeIsLoaded
   │   │   ├TfrmGraphs.LoadType
   │   │   │ ├TfrmGraphs.FileNameX
   │   │   │ └rpcGetItems
   │   │   │   └onoff
   │   │   ├TfrmGraphs.TypeIsDisplayed
   │   │   └TfrmGraphs.DisplayType
   │   │     └TfrmGraphs.FileNameX
   │   ├TfrmGraphs.cboDateRangeChange...
   │   ├TfrmGraphs.ViewDefinition
   │   ├TfrmGraphs.AssignProfile...
   │   ├TfrmGraphs.lvwItemsTopColumnClick
   │   ├TfrmGraphs.lvwItemsBottomColumnClick
   │   └TfrmGraphs.AutoSelect
   │     ├TfrmGraphs.lvwItemsTopClick
   │     │ ├GraphTurboOn
   │     │ ├TfrmGraphs.Switch
   │     │ │ ├rpcFastItems
   │     │ │ │ └onoff
   │     │ │ ├rpcFastData
   │     │ │ │ └onoff
   │     │ │ ├rpcFastLabs
   │     │ │ │ └onoff
   │     │ │ └TfrmGraphs.FastLab
   │     │ │   └TfrmGraphs.SaveTestData
   │     │ │     ├TfrmGraphs.ItemName
   │     │ │     └TfrmGraphs.LabData...
   │     │ └TfrmGraphs.ItemsClick...
   │     └TfrmGraphs.lvwItemsBottomClick
   │       ├GraphTurboOn
   │       ├TfrmGraphs.Switch...
   │       └TfrmGraphs.ItemsClick...
   └TfrmGraphs.lstViewsBottomChange
     └TfrmGraphs.ViewsChange...

Called-By Hierarchy


                             TfrmGraphs.CheckExpandedLabs
                                  TfrmGraphs.ItemsClick┘ 
                               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.ViewsChange┤ │ │   
                   TfrmGraphs.lstViewsTopChange┤ │ │ │   
                     TfrmGraphs.Initialize...┤ │ │ │ │   
                       TfrmGraphs.GraphSwitch┤ │ │ │ │   
                       TfrmGraphs.GraphSwap┘ │ │ │ │ │   
          TfrmGraphs.mnuPopGraphSwapClick┘   │ │ │ │ │   
             TfrmGraphs.cboDateRangeChange...┤ │ │ │ │   
                    TfrmGraphs.ViewSelections┘ │ │ │ │   
              TfrmReports.tvReportsClick...┤   │ │ │ │   
         TfrmGraphs.btnGraphSelectionsClick┘   │ │ │ │   
      TfrmReports.btnGraphSelectionsClick┘     │ │ │ │   
                TfrmGraphs.lstViewsBottomChange┘ │ │ │   
                     TfrmGraphs.Initialize...┤   │ │ │   
                    TfrmGraphs.GraphSwitch...┤   │ │ │   
             TfrmGraphs.cboDateRangeChange...┤   │ │ │   
                 TfrmGraphs.ViewSelections...┘   │ │ │   
             TfrmGraphs.mnuPopGraphMergeLabsClick┘ │ │   
                           TfrmGraphs.ItemsClick...┤ │   
                          TfrmGraphs.ViewsChange...┤ │   
                  TfrmGraphs.mnuPopGraphRemoveClick┘ │   
                       TfrmGraphs.lvwItemsBottomClick┤   
                           TfrmGraphs.Initialize...┤ │   
                            TfrmGraphs.CheckContext┤ │   
                              TfrmGraphs.FormShow┘ │ │   
                       TfrmGraphs.chkDualViewsClick┤ │   
                         TfrmGraphs.Initialize...┤ │ │   
                              TfrmGraphs.FormShow┤ │ │   
                                           Layout┤ │ │   
                             TfrmGraphs.GetSize┘ │ │ │   
                          TfrmGraphs.FormShow┘   │ │ │   
             TfrmGraphs.mnuPopGraphDualViewsClick┤ │ │   
                     TfrmGraphs.ViewSelections...┘ │ │   
                          TfrmGraphs.GraphSwitch...┤ │   
                              TfrmGraphs.SplitClick┤ │   
                 TfrmGraphs.mnuPopGraphSplitClick┘ │ │   
                   TfrmGraphs.mnuPopGraphClearClick┤ │   
                              TfrmGraphs.AutoSelect┤ │   
                        TfrmGraphs.ViewsChange...┘ │ │   
                    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┘     

Calls

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

Called-By

Name Declaration Comments
TfrmGraphs.ItemsClick procedure ItemsClick(Sender: TObject; aListView, aOtherListView: TListView; aCheckBox: TCheckBox; aListBox: TORListBox; aList: TStrings; aSection: string); -


Source

4980  procedure TfrmGraphs.CheckExpandedLabs(aListView: TListView);
4981  var
4982    flag: boolean;
4983    i, j: integer;
4984    multicheck, testcheck, typeitem: string;
4985    aList: TStrings;
4986    aGraphItem: TGraphItem;
4987    aListItem: TListItem;
4988  begin
4989    flag := false;     // check if need to convert lab tests
4990    aListItem := aListView.Selected;
4991    while (aListItem <> nil) and (flag = false) do
4992    begin
4993      aGraphItem := TGraphItem(aListItem.SubItems.Objects[3]);
4994      typeitem := UpperCase(Pieces(aGraphItem.Values, '^', 1, 2));
4995      if Piece(typeitem, '^', 1) = '63' then
4996        if length(Piece(typeitem, '.', 2)) = 0 then
4997        for j := 0 to GtslCheck.Count - 1 do
4998        begin
4999          testcheck := GtslCheck[j];
5000          if Pieces(testcheck, '^', 1, 2) = typeitem then
5001            if Piece(testcheck, '^', 3) = '*' then
5002            begin
5003              flag := true;
5004              break;
5005            end;
5006        end;
5007      aListItem := aListView.GetNextItem(aListItem, sdAll, [isSelected]);
5008    end;
5009    if flag then
5010    begin
5011      // copy selected tests - multiples with #.0, #.#
5012      aList := TStringList.Create;
5013      aListItem := aListView.Selected;
5014      while aListItem <> nil do
5015      begin
5016        aGraphItem := TGraphItem(aListItem.SubItems.Objects[3]);
5017        typeitem := UpperCase(Pieces(aGraphItem.Values, '^', 1, 2));
5018        if Piece(typeitem, '^', 1) = '63' then
5019        begin
5020          if length(Piece(typeitem, '.', 2)) = 0 then
5021          begin
5022            for i := 0 to GtslCheck.Count - 1 do
5023            begin
5024              testcheck := GtslCheck[i];
5025              if Pieces(testcheck, '^', 1, 2) = typeitem then
5026                if Piece(testcheck, '^', 3) = '*' then
5027                begin
5028                  if FGraphSetting.MergeLabs then
5029                  begin
5030                    aList.Add(typeitem + '.0');
5031                  end
5032                  else
5033                  begin
5034                    for j := 0 to GtslCheck.Count - 1 do
5035                    begin
5036                      multicheck := GtslCheck[j];
5037                      if Piece(multicheck, '.', 1) = typeitem then
5038                        if Piece(multicheck, '.', 2) <> '0' then
5039                        begin
5040                          aList.Add(multicheck);  // add split lab tests
5041                        end;
5042                    end;
5043                  end;
5044                  break;
5045                end
5046                else
5047                  aList.Add(typeitem);  // add merged lab tests
5048            end;
5049          end
5050          else
5051            aList.Add(typeitem);  // add regular lab tests
5052        end
5053        else
5054          aList.Add(typeitem);  // add non lab items
5055        aListItem := aListView.GetNextItem(aListItem, sdAll, [isSelected]);
5056      end;
5057  
5058      cboDateRangeChange(self);     // update all tests
5059  
5060      // put back selections    (do not need to update other listview)
5061      for i := aListView.Items.Count - 1 downto 0 do
5062      begin
5063        aListItem := aListView.Items[i];
5064        aGraphItem := TGraphItem(aListItem.SubItems.Objects[3]);
5065        typeitem := UpperCase(Pieces(aGraphItem.Values, '^', 1, 2));
5066        for j := 0 to aList.Count - 1 do
5067        begin
5068          if typeitem = aList[j] then
5069          begin
5070            aListView.Items[i].Selected := true;
5071            break;
5072          end;
5073        end;
5074      end;
5075      FreeAndNil(aList);
5076    end;
5077  end;