Procedure

SelectTestGroups

Module

fLabTestGroups

Last Modified

7/15/2014 3:26:38 PM

Scope

Interfaced

Declaration

procedure SelectTestGroups(FontSize: Integer);

Calls Hierarchy


SelectTestGroups
 ├TfrmBase508Form.Create
 │ ├TfrmBase508Form.UpdateAccessibilityActions
 │ ├UnfocusableControlEnter
 │ └AdjustControls
 │   ├TfrmBase508Form.ModifyUnfocusableControl
 │   └..(rec)..
 └TfrmLabTestGroups.lstListClick
   └TfrmLabTestGroups.TestGroupEnable

Called-By Hierarchy


                                     SelectTestGroups
                            TfrmLabs.tvReportsClick┘ 
                             TfrmLabs.DisplayPage┤   
                            TfrmLabs.LoadTreeView┤   
                           TfrmLabs.DisplayPage┤ │   
         TfrmOptionsReportsCustom.btnApplyClick┘ │   
          TfrmOptionsReportsCustom.btnOKClick┘   │   
                      TfrmLabs.cmdOtherTestsClick┤   
                         TfrmLabs.chkMaxFreqClick┤   
                    TfrmLabs.ProcessNotifications┤   
                           TfrmLabs.DisplayPage┘ │   
                                        ..(rec)..┤   
                        TfrmLabs.tvReportsKeyDown┤   
                  TfrmFrame.lstCIRNLocationsClick┘   
                            TfrmFrame.SetUpCIRN┘     
                       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┘         

Calls

Name Declaration Comments
TfrmBase508Form.Create constructor Create(AOwner: TComponent); override; -
TfrmLabTestGroups.lstListClick procedure lstListClick(Sender: TObject); -

Called-By

Name Declaration Comments
TfrmLabs.tvReportsClick procedure tvReportsClick(Sender: TObject); -


Source

82    procedure SelectTestGroups(FontSize: Integer);
83    var
84      frmLabTestGroups: TfrmLabTestGroups;
85      W, H: integer;
86    begin
87      frmLabTestGroups := TfrmLabTestGroups.Create(Application);
88      try
89        with frmLabTestGroups do
90        begin
91          Font.Size := FontSize;
92          W := ClientWidth;
93          H := ClientHeight;
94          ResizeToFont(FontSize, W, H);
95          ClientWidth := W; pnlLabTestGroups.Width := W;
96          ClientHeight := H; pnlLabTestGroups.Height := H;
97          with lblTestGroup do begin
98            AutoSize := False;
99            Height := lstList.Height div 3;
100           Width := cmdAddTest.Width * 4 div 3;
101           AutoSize := True;
102         end;
103         with lblOrder do begin
104           AutoSize := False;
105           Height := lstList.Height div 3;
106           Width := cmdAddTest.Width div 2 + 10;
107           AutoSize := True;
108         end;
109         FastAssign(frmLabs.lstTests.Items, lstList.Items);
110         if lstList.Items.Count > 0 then lstList.ItemIndex := 0;
111         lstListClick(frmLabTestGroups);
112         ShowModal;
113       end;
114     finally
115       frmLabTestGroups.Release;
116     end;
117   end;