Procedure

TfrmNotes.ClearPtData

Directives

Override

Module

fNotes

Last Modified

7/15/2014 3:26:38 PM

Comments

Clear all controls that contain patient specific information

Visibility

Public

Overrides

TfrmPage.ClearPtData

Owner

TfrmNotes

Declaration

procedure ClearPtData; override;

Calls Hierarchy


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

Called-By Hierarchy


                            TfrmNotes.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; -
TfrmNotes.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

524   procedure TfrmNotes.ClearPtData;
525   { clear all controls that contain patient specific information }
526   begin
527     inherited ClearPtData;
528     ClearEditControls;
529     uChanging := True;
530     tvNotes.Items.BeginUpdate;
531     KillDocTreeObjects(tvNotes);
532     tvNotes.Items.Clear;
533     tvNotes.Items.EndUpdate;
534     lvNotes.Items.Clear;
535     uChanging := False;
536     lstNotes.Clear;
537     memNote.Clear;
538     memPCEShow.Clear;
539     uPCEShow.Clear;
540     uPCEEdit.Clear;
541     frmDrawers.ResetTemplates;
542     NoteTotal := sCallV('ORCNOTE GET TOTAL', [Patient.DFN]);
543   end;