Procedure

TfrmConsults.ClearPtData

Directives

Override

Module

fConsults

Last Modified

7/15/2014 3:26:34 PM

Comments

Clear all controls that contain patient specific information

Visibility

Public

Overrides

TfrmPage.ClearPtData

Owner

TfrmConsults

Declaration

procedure ClearPtData; override;

Calls Hierarchy


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

Called-By Hierarchy


                         TfrmConsults.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; -
TfrmConsults.ClearEditControls procedure ClearEditControls; -
TfrmPage.ClearPtData procedure ClearPtData; virtual; -
KillDocTreeObjects procedure KillDocTreeObjects(TreeView: TORTreeView); -
TfrmDrawers.ResetTemplates procedure ResetTemplates; -

Called-By

Name Declaration Comments
TfrmFrame.ClearPatient procedure ClearPatient; -


Source

609   procedure TfrmConsults.ClearPtData;
610   { clear all controls that contain patient specific information }
611   begin
612     inherited ClearPtData;
613     ClearEditControls;
614     lstConsults.Clear;
615     memConsult.Clear;
616     memResults.Clear;
617     uChanging := True;
618     tvCsltNotes.Items.BeginUpdate;
619     KillDocTreeObjects(tvCsltNotes);
620     tvCsltNotes.Items.Clear;
621     tvCsltNotes.Items.EndUpdate;
622     tvConsults.Items.BeginUpdate;
623     tvConsults.Items.Clear;
624     tvConsults.Items.EndUpdate;
625     uChanging := False;
626     lstNotes.Clear ;
627     memPCEShow.Clear;
628     uPCEShow.Clear;
629     frmDrawers.ResetTemplates;
630     FOrderID := '';
631   end;