Procedure

TfrmSurgery.ClearPtData

Directives

Override

Module

fSurgery

Last Modified

7/15/2014 3:26:38 PM

Comments

Clear all controls that contain patient specific information

Visibility

Public

Overrides

TfrmPage.ClearPtData

Owner

TfrmSurgery

Declaration

procedure ClearPtData; override;

Calls Hierarchy


TfrmSurgery.ClearPtData
 ├TfrmPage.ClearPtData
 ├TfrmSurgery.ClearEditControls
 │ ├TPCEData.Clear
 │ │ ├ClearList
 │ │ ├TPCEProc.Clear
 │ │ │ └TPCEItem.Clear
 │ │ │   └TPCEItem.SetComment
 │ │ └TPCEProviderList.Clear
 │ │   └TPCEProviderList.GetPrimaryIdx
 │ └TfrmSurgery.SetEditingIndex
 │   ├KillReminderDialog
 │   │ └TfrmRemDlg.ResetProcessing
 │   │   ├TfrmRemDlg.ClearControls
 │   │   │ ├WipeOutControls
 │   │   │ │ └..(rec)..
 │   │   │ └TfrmRemDlg.GetBox
 │   │   ├TfrmRemDlg.PositionTrees
 │   │   └TfrmRemDlg.KillDlg
 │   └TfrmReminderTree.EnableActions
 │     ├ReminderDialogActive
 │     ├NewRemCoverSheetListActive
 │     └CanEditAllRemCoverSheetLists
 │       └HasMenuOptionAccess
 ├KillCaseTreeObjects
 │ └ResetCaseTreeObjectStrings
 ├TPCEData.Clear...
 └TfrmDrawers.ResetTemplates
   └GetUserTemplateDefaults

Called-By Hierarchy


                          TfrmSurgery.ClearPtData
                         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┘     

Calls

Name Declaration Comments
TPCEData.Clear procedure Clear; -
TfrmSurgery.ClearEditControls procedure ClearEditControls; -
TfrmPage.ClearPtData procedure ClearPtData; virtual; -
KillCaseTreeObjects procedure KillCaseTreeObjects(TreeView: TORTreeView); -
TfrmDrawers.ResetTemplates procedure ResetTemplates; -

Called-By

Name Declaration Comments
TfrmFrame.ClearPatient procedure ClearPatient; -


Source

408   procedure TfrmSurgery.ClearPtData;
409   { clear all controls that contain patient specific information }
410   begin
411     inherited ClearPtData;
412     ClearEditControls;
413     uChanging := True;
414     tvSurgery.Items.BeginUpdate;
415     KillCaseTreeObjects(tvSurgery);
416     tvSurgery.Items.Clear;
417     tvSurgery.Items.EndUpdate;
418     lstNotes.Clear;
419     uChanging := False;
420     memSurgery.Clear;
421     uPCEShow.Clear;
422     uPCEEdit.Clear;
423     frmDrawers.ResetTemplates;
424   end;