Procedure

TEncounter.Clear

Module

uCore

Last Modified

7/15/2014 3:26:44 PM

Comments

Clears all the fields of an Encounter (usually done upon patient selection

Visibility

Public

Owner

TEncounter

Declaration

procedure Clear;

Calls Hierarchy


TEncounter.Clear
 └TEncounter.SetLocation

Called-By Hierarchy


                           TEncounter.Clear
                     TfrmPtSel.cmdOKClick┤ 
           TfrmPtSel.cboPatientDblClick┘ │ 
               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.UpdateCCOWContext┘ 
          TfrmFrame.mnuFileOpenClick...┤   
        TfrmFrame.ctxContextorCommitted┤   
         TfrmFrame.StartCCOWContextor┘ │   
               TfrmFrame.FormCreate┘   │   
 TfrmFrame.mnuFileResumeContextGetClick┘   

Calls

Name Declaration Comments
TEncounter.SetLocation procedure SetLocation(Value: Integer); -

Called-By

Name Declaration Comments
TfrmPtSel.cmdOKClick procedure cmdOKClick(Sender: TObject); -
TfrmFrame.mnuFileNextClick procedure mnuFileNextClick(Sender: TObject); -
TfrmFrame.UpdateCCOWContext procedure UpdateCCOWContext; -


Source

897   procedure TEncounter.Clear;
898   { clears all the fields of an Encounter (usually done upon patient selection }
899   begin
900     FChanged      := False;
901     FDateTime     := 0;
902     FInpatient    := False;
903     FLocationName := '';
904     FLocationText := '';
905     FProvider     := 0;
906     FProviderName := '';
907     FStandAlone   := False;
908     FVisitCategory := #0;
909     SetLocation(0); // Used to call Notifications - do it last so everything else is set
910   end;