Procedure

ShowPatientSelectMessages

Module

fPtSelMsg

Last Modified

7/15/2014 3:26:38 PM

Scope

Interfaced

Declaration

procedure ShowPatientSelectMessages(const AMsg: string);

Calls Hierarchy


ShowPatientSelectMessages
 └TfrmBase508Form.Create
   ├TfrmBase508Form.UpdateAccessibilityActions
   ├UnfocusableControlEnter
   └AdjustControls
     ├TfrmBase508Form.ModifyUnfocusableControl
     └..(rec)..

Called-By Hierarchy


                      ShowPatientSelectMessages
                       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; -

Called-By

Name Declaration Comments
TfrmFrame.SetupPatient procedure SetupPatient(AFlaggedList : TStringList = nil); -


Source

44    procedure ShowPatientSelectMessages(const AMsg: string);
45    begin
46      if assigned(frmPtSelMsg) then
47      begin
48        frmPtSelMsg.Free;
49        frmPtSelMsg := nil;
50      end;
51      if Length(AMsg) = 0 then Exit;
52      frmPtSelMsg := TfrmPtSelMsg.Create(Application);
53      ResizeAnchoredFormToFont(frmPtSelMsg);
54      frmPtSelMsg.memMessages.Lines.SetText(PChar(AMsg));  // Text := AMsg doesn't seem to work
55      frmPtSelMsg.memMessages.SelStart := 0;
56      if User.PtMsgHang = 0
57        then frmPtSelMsg.timClose.Enabled := False
58        else
59        begin
60          //frmPtSelMsg.timClose.Interval := User.PtMsgHang * 1000;
61          frmPtSelMsg.FSeconds := User.PtMsgHang;
62          frmPtSelMsg.timClose.Enabled := True;
63        end;
64      frmPtSelMsg.Show;
65    end;