Procedure

ShowFlags

Module

fPatientFlagMulti

Last Modified

7/15/2014 3:26:38 PM

Scope

Interfaced

Declaration

procedure ShowFlags(FlagId: integer = 0);

Calls Hierarchy


ShowFlags
 ├TfrmBase508Form.Create
 │ ├TfrmBase508Form.UpdateAccessibilityActions
 │ ├UnfocusableControlEnter
 │ └AdjustControls
 │   ├TfrmBase508Form.ModifyUnfocusableControl
 │   └..(rec)..
 ├SetFormPosition
 │ └TSizeHolder.GetSize
 └TfrmFlags.PutFlagsOnLists

Called-By Hierarchy


                                      ShowFlags
                       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┘ │ 
                        TfrmFrame.ViewInfo...┤ 
                       TfrmCover.lstFlagClick┘ 
                   TfrmCover.lstFlagKeyDown┘   

Calls

Name Declaration Comments
TfrmBase508Form.Create constructor Create(AOwner: TComponent); override; -
TfrmFlags.PutFlagsOnLists procedure PutFlagsOnLists(flags, Cat1List, Cat2List: TStrings); -
SetFormPosition procedure SetFormPosition(AForm: TForm); -

Called-By

Name Declaration Comments
TfrmCover.lstFlagClick procedure lstFlagClick(Sender: TObject); -
TfrmFrame.SetupPatient procedure SetupPatient(AFlaggedList : TStringList = nil); -
TfrmFrame.ViewInfo procedure ViewInfo(Sender: TObject); -


Source

85    procedure ShowFlags(FlagId: integer);
86    var
87      frmFlags: TfrmFlags;
88    begin
89      frmFlags := TfrmFlags.Create(Nil);
90      try
91        SetFormPosition(frmFlags);
92        if HasFlag then
93        begin
94          with frmFlags do begin
95            FFlagID := FlagId;
96            PutFlagsOnLists(FlagList, lstFlagsCat1.Items, lstFlagsCat2.Items);
97          end;
98          frmFlags.memFlags.SelStart := 0;
99          ResizeFormToFont(TForm(frmFlags));
100         frmFlags.ShowModal;
101       end
102     finally
103       frmFlags.Release;
104     end;
105   end;