Procedure

TfrmConsults.SetResultMenus

Module

fConsults

Last Modified

7/15/2014 3:26:34 PM

Visibility

Private

Owner

TfrmConsults

Declaration

procedure SetResultMenus ;

Calls Hierarchy


TfrmConsults.SetResultMenus
 ├CanReceiveAttachment
 ├TNotifications.GetFollowUp
 └TfrmConsults.UserIsSigner
   └GetCurrentSigners

Called-By Hierarchy


                                                     TfrmConsults.SetResultMenus
                                                  TfrmConsults.CompleteConsult┤ 
                                            TfrmConsults.mnuActCompleteClick┤ │ 
                                          TfrmConsults.mnuActAddIDEntryClick┘ │ 
                                                   TfrmConsults.InsertAddendum┤ 
                                        TfrmConsults.mnuActMakeAddendumClick┘ │ 
                                                 TfrmConsults.lstConsultsClick┤ 
                                               TfrmConsults.tvConsultsChange┘ │ 
                                TfrmConsults.mnuActDetachFromIDParentClick┤   │ 
                                                  TfrmConsults.NotifyOrder┤   │ 
                                                    TfrmFrame.UMNewOrder┘ │   │ 
                                    TfrmConsults.mnuActDisplayDetailsClick┤   │ 
                               TfrmConsults.mnuActIdentifyAddlSignersClick┤   │ 
                                   TfrmConsults.popNoteMemoAddlSignClick┘ │   │ 
                                         TfrmConsults.ProcessNotifications┤   │ 
                                                TfrmConsults.DisplayPage┘ │   │ 
                                                 TfrmConsults.LoadConsults┤   │ 
                                                 TfrmConsults.UpdateList┤ │   │ 
                                             TfrmConsults.mnuViewClick┤ │ │   │ 
                                         TfrmConsults.SetViewContext┘ │ │ │   │ 
                                          TfrmConsults.DisplayPage┤   │ │ │   │ 
                          TfrmConsults.mnuViewReturntoDefaultClick┘   │ │ │   │ 
                                    TfrmConsults.mnuActNoteDeleteClick┤ │ │   │ 
                                      TfrmConsults.SaveEditedConsult┘ │ │ │   │ 
                                      TfrmConsults.SaveCurrentNote┘   │ │ │   │ 
                                 TfrmConsults.AllowContextChange┤     │ │ │   │ 
                               TfrmFrame.AllowContextChangeAll┘ │     │ │ │   │ 
                                    TfrmFrame.FormCloseQuery┤   │     │ │ │   │ 
                                  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.ctxContextorPending┤   │     │ │ │   │ 
                              TfrmFrame.StartCCOWContextor┘ │   │     │ │ │   │ 
                                    TfrmFrame.FormCreate┘   │   │     │ │ │   │ 
                             TfrmFrame.ctxContextorCommitted┤   │     │ │ │   │ 
                           TfrmFrame.StartCCOWContextor...┘ │   │     │ │ │   │ 
                      TfrmFrame.mnuFileResumeContextGetClick┤   │     │ │ │   │ 
                      TfrmFrame.mnuFileResumeContextSetClick┘   │     │ │ │   │ 
                                  TfrmConsults.SetViewContext...┤     │ │ │   │ 
                                    TfrmConsults.mnuViewClick...┤     │ │ │   │ 
                      TfrmConsults.mnuActDetachFromIDParentClick┤     │ │ │   │ 
                           TfrmConsults.mnuActNoteDeleteClick...┤     │ │ │   │ 
                           TfrmConsults.mnuActSignatureSaveClick┤     │ │ │   │ 
                           TfrmConsults.mnuActSignatureSignClick┤     │ │ │   │ 
                                       TfrmConsults.SaveSignItem┤     │ │ │   │ 
                                         TfrmReview.cmdOKClick┘ │     │ │ │   │ 
                                               ReviewChanges┘   │     │ │ │   │ 
                        TfrmFrame.AllowContextChangeAll...┤     │     │ │ │   │ 
                                  TfrmFrame.FormCloseQuery┤     │     │ │ │   │ 
                              TfrmFrame.mnuFileReviewClick┤     │     │ │ │   │ 
                                           UpdateEncounter┘     │     │ │ │   │ 
                         TfrmFrame.mnuFileEncounterClick┤       │     │ │ │   │ 
                                 TfrmFrame.ViewInfo...┤ │       │     │ │ │   │ 
                    TfrmODMedIV.SetValuesFromResponses┤ │       │     │ │ │   │ 
                             TfrmODMedIV.SetupDialog┤ │ │       │     │ │ │   │ 
                   TfrmODMedIV.cboSolutionMouseClick┘ │ │       │     │ │ │   │ 
                       TfrmODMedIV.cboSolutionExit┘   │ │       │     │ │ │   │ 
                  TfrmODMedIV.cboSolutionMouseClick...┤ │       │     │ │ │   │ 
                     TfrmODMedIV.cboAdditiveMouseClick┤ │       │     │ │ │   │ 
                         TfrmODMedIV.cboAdditiveExit┘ │ │       │     │ │ │   │ 
                                TfrmODAuto.SetupDialog┤ │       │     │ │ │   │ 
                                   ActivateOrderDialog┤ │       │     │ │ │   │ 
                           TfrmRemDlg.btnFinishClick┤ │ │       │     │ │ │   │ 
           TfrmConsults.mnuActNewConsultRequestClick┤ │ │       │     │ │ │   │ 
                   TfrmConsults.cmdNewConsultClick┘ │ │ │       │     │ │ │   │ 
                TfrmConsults.mnuActNewProcedureClick┤ │ │       │     │ │ │   │ 
                      TfrmConsults.cmdNewProcClick┘ │ │ │       │     │ │ │   │ 
                                        ChangeOrders┤ │ │       │     │ │ │   │ 
                      TfrmOrders.mnuActChangeClick┤ │ │ │       │     │ │ │   │ 
                        TfrmMeds.mnuActChangeClick┘ │ │ │       │     │ │ │   │ 
                                     ChangeOrdersEvt┤ │ │       │     │ │ │   │ 
                                          CopyOrders┤ │ │       │     │ │ │   │ 
                        TfrmOrders.mnuActCopyClick┤ │ │ │       │     │ │ │   │ 
                          TfrmMeds.mnuActCopyClick┤ │ │ │       │     │ │ │   │ 
                           TfrmODActive.btnOKClick┘ │ │ │       │     │ │ │   │ 
                                      TransferOrders┤ │ │       │     │ │ │   │ 
                        TfrmOrders.mnuActCopyClick┤ │ │ │       │     │ │ │   │ 
                          TfrmMeds.mnuActCopyClick┤ │ │ │       │     │ │ │   │ 
                           TfrmODActive.btnOKClick┘ │ │ │       │     │ │ │   │ 
                            TfrmOrders.lstWriteClick┤ │ │       │     │ │ │   │ 
               TfrmOrders.PlaceOrderForDefaultDialog┤ │ │       │     │ │ │   │ 
                  TfrmOrders.DisplayDefaultDlgList┤ │ │ │       │     │ │ │   │ 
                       TfrmOrders.ResetOrderPage┘ │ │ │ │       │     │ │ │   │ 
               TfrmOrders.btnDelayedOrderClick┘   │ │ │ │       │     │ │ │   │ 
                                 DisplayEvntDialog┤ │ │ │       │     │ │ │   │ 
                             SetDelayEventForMed┘ │ │ │ │       │     │ │ │   │ 
                      TfrmMeds.mnuActCopyClick┘   │ │ │ │       │     │ │ │   │ 
                                 DisplayEvntDialog┤ │ │ │       │     │ │ │   │ 
                                  SetViewForCopy┘ │ │ │ │       │     │ │ │   │ 
                    TfrmOrders.mnuActCopyClick┘   │ │ │ │       │     │ │ │   │ 
                                 DisplayEvntDialog┘ │ │ │       │     │ │ │   │ 
                                ExecuteChangeEvt┘   │ │ │       │     │ │ │   │ 
                 TfrmOrders.mnuActChgEvntClick┘     │ │ │       │     │ │ │   │ 
                             TfrmMeds.mnuActNewClick┤ │ │       │     │ │ │   │ 
                           TfrmOMNavA.ActivateDialog┤ │ │       │     │ │ │   │ 
                         TfrmOMNavA.grdMenuKeyDown┤ │ │ │       │     │ │ │   │ 
                         TfrmOMNavA.grdMenuMouseUp┘ │ │ │       │     │ │ │   │ 
                                TfrmOMSet.DoNextItem┘ │ │       │     │ │ │   │ 
                              TfrmOMSet.InsertList┤   │ │       │     │ │ │   │ 
                               ActivateOrderList┘ │   │ │       │     │ │ │   │ 
                     TfrmRemDlg.btnFinishClick┤   │   │ │       │     │ │ │   │ 
                             ActivateOrderHTML┤   │   │ │       │     │ │ │   │ 
                    TfrmOrders.lstWriteClick┤ │   │   │ │       │     │ │ │   │ 
    TfrmOrders.PlaceOrderForDefaultDialog...┘ │   │   │ │       │     │ │ │   │ 
                              ActivateOrderSet┤   │   │ │       │     │ │ │   │ 
                   TfrmRemDlg.btnFinishClick┤ │   │   │ │       │     │ │ │   │ 
TfrmConsults.mnuActNewConsultRequestClick...┤ │   │   │ │       │     │ │ │   │ 
     TfrmConsults.mnuActNewProcedureClick...┤ │   │   │ │       │     │ │ │   │ 
                    TfrmOrders.lstWriteClick┤ │   │   │ │       │     │ │ │   │ 
    TfrmOrders.PlaceOrderForDefaultDialog...┤ │   │   │ │       │     │ │ │   │ 
                     TfrmMeds.mnuActNewClick┤ │   │   │ │       │     │ │ │   │ 
                TfrmOMNavA.ActivateDialog...┤ │   │   │ │       │     │ │ │   │ 
                     TfrmOMSet.DoNextItem...┘ │   │   │ │       │     │ │ │   │ 
                       TfrmOMNavA.DoSelectList┘   │   │ │       │     │ │ │   │ 
                     TfrmOMNavA.grdMenuKeyUp┤     │   │ │       │     │ │ │   │ 
                   TfrmOMNavA.grdMenuMouseUp┘     │   │ │       │     │ │ │   │ 
                                        SkipToNext┤   │ │       │     │ │ │   │ 
                         TfrmOMSet.DoNextItem...┘ │   │ │       │     │ │ │   │ 
                            TfrmOMSet.UMDelayEvent┘   │ │       │     │ │ │   │ 
                               TfrmOMSet.InsertList...┤ │       │     │ │ │   │ 
                                TfrmODMeds.SetupDialog┤ │       │     │ │ │   │ 
                             TfrmODMeds.btnSelectClick┤ │       │     │ │ │   │ 
                             TfrmODMeds.UMDelayClick┘ │ │       │     │ │ │   │ 
                                    ExecuteRenewOrders┘ │       │     │ │ │   │ 
                         TfrmOrders.mnuActRenewClick┤   │       │     │ │ │   │ 
                           TfrmMeds.mnuActRenewClick┘   │       │     │ │ │   │ 
                                        EncounterPresent┤       │     │ │ │   │ 
                                      ReadyForNewOrder┤ │       │     │ │ │   │ 
                           TfrmRemDlg.btnFinishClick┤ │ │       │     │ │ │   │ 
        TfrmConsults.mnuActNewConsultRequestClick...┤ │ │       │     │ │ │   │ 
             TfrmConsults.mnuActNewProcedureClick...┤ │ │       │     │ │ │   │ 
                                     ChangeOrders...┤ │ │       │     │ │ │   │ 
                                     ChangeOrdersEvt┤ │ │       │     │ │ │   │ 
                                       CopyOrders...┤ │ │       │     │ │ │   │ 
                                   TransferOrders...┤ │ │       │     │ │ │   │ 
                            TfrmOrders.lstWriteClick┤ │ │       │     │ │ │   │ 
                             TfrmMeds.mnuActNewClick┘ │ │       │     │ │ │   │ 
                                     ReadyForNewOrder1┤ │       │     │ │ │   │ 
            TfrmOrders.PlaceOrderForDefaultDialog...┘ │ │       │     │ │ │   │ 
                              TfrmOrders.mnuActDCClick┤ │       │     │ │ │   │ 
                             TfrmOrders.mnuActRelClick┤ │       │     │ │ │   │ 
                            TfrmOrders.mnuActHoldClick┤ │       │     │ │ │   │ 
                          TfrmOrders.mnuActUnholdClick┤ │       │     │ │ │   │ 
                           TfrmOrders.mnuActRenewClick┤ │       │     │ │ │   │ 
                         TfrmOrders.mnuActReleaseClick┤ │       │     │ │ │   │ 
                         TfrmOrders.mnuActOnChartClick┤ │       │     │ │ │   │ 
                            TfrmOrders.mnuActSignClick┤ │       │     │ │ │   │ 
                                TfrmMeds.mnuActDCClick┤ │       │     │ │ │   │ 
                              TfrmMeds.mnuActHoldClick┤ │       │     │ │ │   │ 
                             TfrmMeds.mnuActRenewClick┤ │       │     │ │ │   │ 
                            TfrmMeds.mnuActUnholdClick┤ │       │     │ │ │   │ 
                              TfrmMeds.mnuActCopyClick┤ │       │     │ │ │   │ 
                            TfrmMeds.mnuActRefillClick┘ │       │     │ │ │   │ 
                                     EncounterPresentEDO┤       │     │ │ │   │ 
                                   ReadyForNewOrder...┤ │       │     │ │ │   │ 
                         TfrmOrders.mnuActChgEvntClick┤ │       │     │ │ │   │ 
                          TfrmOrders.mnuActChangeClick┤ │       │     │ │ │   │ 
                            TfrmOrders.mnuActCopyClick┤ │       │     │ │ │   │ 
                       TfrmOrders.btnDelayedOrderClick┤ │       │     │ │ │   │ 
                            TfrmMeds.mnuActChangeClick┤ │       │     │ │ │   │ 
                              TfrmMeds.mnuActCopyClick┘ │       │     │ │ │   │ 
                                             UpdateVisit┤       │     │ │ │   │ 
                                           EditPCEData┤ │       │     │ │ │   │ 
                             TfrmSurgery.cmdPCEClick┤ │ │       │     │ │ │   │ 
                                 UpdateEncounterInfo┘ │ │       │     │ │ │   │ 
                             TfrmNotes.cmdPCEClick┘   │ │       │     │ │ │   │ 
                        TfrmVitals.btnEnterVitalsClick┘ │       │     │ │ │   │ 
                                             UpdateVisit┤       │     │ │ │   │ 
                                        EncounterPresent┘       │     │ │ │   │ 
                         TfrmProblems.lstProbActsClick┘         │     │ │ │   │ 
                     TfrmProblems.wgProbDataDblClick┤           │     │ │ │   │ 
                           TfrmProblems.lstViewClick┘           │     │ │ │   │ 
                   TfrmProblems.HighlightDuplicate┘             │     │ │ │   │ 
                         TfrmProblems.AddProblem┤               │     │ │ │   │ 
              TfrmProblems.lstProbActsClick...┤ │               │     │ │ │   │ 
                 TfrmProblems.lstProbPickClick┤ │               │     │ │ │   │ 
              TfrmProblems.lstProbPickDblClick┤ │               │     │ │ │   │ 
              TfrmProblems.edProbEntKeyPress┘ │ │               │     │ │ │   │ 
                      TfrmProblems.UMPLLexicon┘ │               │     │ │ │   │ 
                   TfrmdlgProb.bbChangeProbClick┘               │     │ │ │   │ 
                                 TfrmConsults.mnuActConsultClick┤     │ │ │   │ 
                                       TfrmConsults.RequestPrint┤     │ │ │   │ 
                            TfrmConsults.mnuActPrintSF513Click┤ │     │ │ │   │ 
                                   TfrmFrame.mnuFilePrintClick┘ │     │ │ │   │ 
                          TfrmConsults.mnuActDisplayResultsClick┤     │ │ │   │ 
                          TfrmConsults.ProcessNotifications...┘ │     │ │ │   │ 
                            TfrmConsults.mnuActDisplaySF513Click┤     │ │ │   │ 
                              TfrmConsults.mnuActPrintSF513Click┤     │ │ │   │ 
                          TfrmConsults.mnuActDisplayDetailsClick┤     │ │ │   │ 
                                          TfrmConsults.FormClose┤     │ │ │   │ 
                  TfrmConsults.mnuActIdentifyAddlSignersClick...┤     │ │ │   │ 
                            TfrmConsults.ProcessNotifications...┤     │ │ │   │ 
                               TfrmConsults.mnuActNotePrintClick┤     │ │ │   │ 
                            TfrmConsults.popNoteMemoPrintClick┘ │     │ │ │   │ 
                                       TfrmConsults.StartNewEdit┤     │ │ │   │ 
                              TfrmConsults.mnuActCompleteClick┤ │     │ │ │   │ 
                            TfrmConsults.mnuActAddIDEntryClick┤ │     │ │ │   │ 
                          TfrmConsults.mnuActMakeAddendumClick┤ │     │ │ │   │ 
                              TfrmConsults.mnuActNoteEditClick┘ │     │ │ │   │ 
                            TfrmConsults.mnuActCompleteClick┘   │     │ │ │   │ 
                                TfrmConsults.tvCsltNotesDragDrop┤     │ │ │   │ 
                               TfrmConsults.tvCsltNotesStartDrag┤     │ │ │   │ 
                        TfrmConsults.mnuActAttachtoIDParentClick┤     │ │ │   │ 
                                 TfrmConsults.LstConsultsToPrint┘     │ │ │   │ 
                      TfrmFrame.mnuFilePrintSelectedItemsClick┘       │ │ │   │ 
                                 TfrmConsults.mnuActSignatureSaveClick┤ │ │   │ 
                                 TfrmConsults.mnuActSignatureSignClick┤ │ │   │ 
                                          TfrmConsults.SaveSignItem...┤ │ │   │ 
                                       TfrmConsults.mnuActConsultClick┤ │ │   │ 
                                           TfrmConsults.NotifyOrder...┤ │ │   │ 
                                               TfrmConsults.UMNewOrder┤ │ │   │ 
                                        TfrmConsults.ProcessMedResults┘ │ │   │ 
                                   TfrmConsults.mnuActAttachMedClick┤   │ │   │ 
                                   TfrmConsults.mnuActRemoveMedClick┘   │ │   │ 
                                    TfrmConsults.mnuActEditResubmitClick┤ │   │ 
                                     TfrmConsults.cmdEditResubmitClick┘ │ │   │ 
                                      TfrmConsults.LstConsultsToPrint...┘ │   │ 
                                              TfrmConsults.tvConsultsClick┤   │ 
                                            TfrmConsults.mnuViewClick...┤ │   │ 
                              TfrmConsults.mnuActDetachFromIDParentClick┤ │   │ 
                                   TfrmConsults.mnuActNoteDeleteClick...┤ │   │ 
                                   TfrmConsults.mnuActSignatureSaveClick┤ │   │ 
                                   TfrmConsults.mnuActSignatureSignClick┤ │   │ 
                                            TfrmConsults.SaveSignItem...┤ │   │ 
                                         TfrmConsults.mnuActConsultClick┤ │   │ 
                                 TfrmConsults.mnuActEditResubmitClick...┤ │   │ 
                                            TfrmConsults.StartNewEdit...┤ │   │ 
                                       TfrmConsults.ProcessMedResults...┤ │   │ 
                                TfrmConsults.mnuActAttachtoIDParentClick┘ │   │ 
                                              TfrmConsults.DoAttachIDChild┤   │ 
                                        TfrmConsults.tvCsltNotesDragDrop┤ │   │ 
                                TfrmConsults.mnuActAttachtoIDParentClick┘ │   │ 
                                              TfrmConsults.tvConsultsKeyUp┘   │ 
                                              TfrmConsults.mnuActCompleteClick┤ 
                                          TfrmConsults.mnuActMakeAddendumClick┤ 
                                                    TfrmConsults.lstNotesClick┤ 
                                             TfrmConsults.CompleteConsult...┤ │ 
                                              TfrmConsults.InsertAddendum...┤ │ 
                                                    TfrmConsults.LoadForEdit┤ │ 
                                       TfrmConsults.mnuActNoteEditClick...┘ │ │ 
                                                                 SaveOrAbort┤ │ 
                                         TfrmConsults.SaveEditedConsult...┘ │ │ 
                                           TfrmConsults.SaveEditedConsult...┤ │ 
                                       TfrmConsults.mnuActSignatureSignClick┤ │ 
                                                TfrmConsults.SaveSignItem...┤ │ 
                              TfrmConsults.mnuActIdentifyAddlSignersClick...┤ │ 
                                              TfrmConsults.tvCsltNotesChange┘ │ 
                                         TfrmConsults.SaveEditedConsult...┤   │ 
                                     TfrmConsults.mnuActSignatureSignClick┤   │ 
                                      TfrmConsults.ProcessNotifications...┘   │ 
                                     TfrmConsults.mnuActDisplayResultsClick...┤ 
                                          TfrmConsults.mnuActDisplaySF513Click┘ 

Calls

Name Declaration Comments
CanReceiveAttachment function CanReceiveAttachment(DocID: string; var WhyNot: string): boolean; -
TNotifications.GetFollowUp function GetFollowUp: Integer; -
TfrmConsults.UserIsSigner function UserIsSigner(NoteIEN: integer): boolean; -

Called-By

Name Declaration Comments
TfrmConsults.CompleteConsult procedure CompleteConsult(IsIDChild: boolean; AnIDParent: integer; UseClinProcTitles: boolean); -
TfrmConsults.InsertAddendum procedure InsertAddendum; -
TfrmConsults.lstConsultsClick procedure lstConsultsClick(Sender: TObject); -
TfrmConsults.lstNotesClick procedure lstNotesClick(Sender: TObject); -
TfrmConsults.mnuActCompleteClick procedure mnuActCompleteClick(Sender: TObject); -
TfrmConsults.mnuActDisplayResultsClick procedure mnuActDisplayResultsClick(Sender: TObject); -
TfrmConsults.mnuActDisplaySF513Click procedure mnuActDisplaySF513Click(Sender: TObject); -
TfrmConsults.mnuActMakeAddendumClick procedure mnuActMakeAddendumClick(Sender: TObject); -


Source

2414  procedure TfrmConsults.SetResultMenus ;
2415  var
2416    WhyNot: string;
2417  begin
2418    mnuActComplete.Enabled           :=   mnuActConsultResults.Enabled and
2419                                          ((MenuAccessRec.UserLevel = UL_UPDATE) or
2420                                          (MenuAccessRec.UserLevel = UL_UPDATE_AND_ADMIN) or
2421                                          (MenuAccessRec.UserLevel = UL_UNRESTRICTED))
2422                                          and
2423                                         ((ConsultRec.ORStatus=ST_PENDING) or
2424                                         (ConsultRec.ORStatus=ST_ACTIVE) or
2425                                         (ConsultRec.ORStatus=ST_SCHEDULED) or
2426                                         (ConsultRec.ORStatus=ST_PARTIAL_RESULTS) or
2427                                         (ConsultRec.ORStatus=ST_COMPLETE))   ;
2428    mnuActMakeAddendum.Enabled       :=  mnuActConsultResults.Enabled and
2429                                          ((MenuAccessRec.UserLevel = UL_UPDATE) or
2430                                          (MenuAccessRec.UserLevel = UL_UPDATE_AND_ADMIN) or
2431                                          (MenuAccessRec.UserLevel = UL_UNRESTRICTED))
2432                                          and
2433                                         ((lstNotes.ItemIndex > -1) and
2434                                         ((ConsultRec.TIUResultNarrative>0) or
2435                                         (lstNotes.ItemIEN > 0)));
2436    mnuActAddIDEntry.Enabled         :=   mnuActConsultResults.Enabled and
2437                                          uIDNotesActive and
2438                                          (tvCsltNotes.Selected <> nil) and
2439                                          (tvCsltNotes.Selected.ImageIndex in [IMG_SINGLE, IMG_PARENT,
2440                                          IMG_IDNOTE_OPEN, IMG_IDNOTE_SHUT, IMG_IDPAR_ADDENDA_OPEN,
2441                                          IMG_IDPAR_ADDENDA_SHUT]) and
2442                                          CanReceiveAttachment(PDocTreeObject(tvCsltNotes.Selected.Data)^.DocID, WhyNot);
2443    mnuActDetachFromIDParent.Enabled :=   mnuActConsultResults.Enabled and
2444                                          uIDNotesActive and
2445                                          (tvCsltNotes.Selected <> nil) and
2446                                          (tvCsltNotes.Selected.ImageIndex in [IMG_ID_CHILD, IMG_ID_CHILD_ADD]);
2447    mnuActAttachMed.Enabled          :=   mnuActConsultResults.Enabled and
2448                                          (((mnuActComplete.Enabled) or
2449                                          (MenuAccessRec.UserLevel = UL_ADMIN) or
2450                                          (MenuAccessRec.UserLevel = UL_UPDATE_AND_ADMIN)))
2451                                           and (MenuAccessRec.AllowMedResulting);
2452    mnuActRemoveMed.Enabled          :=   mnuActConsultResults.Enabled and
2453                                          ((ConsultRec.ORStatus=ST_COMPLETE) and (MenuAccessRec.AllowMedDissociate));
2454    mnuActNoteEdit.Enabled           :=   mnuActConsultResults.Enabled and
2455                                          ((lstNotes.ItemIndex > -1) and
2456                                          ((ConsultRec.TIUResultNarrative>0) or
2457                                          (lstNotes.ItemIEN > 0) or
2458                                          (FActionType = CN_ACT_COMPLETE) or
2459                                          (FActionType = CN_ACT_ADDENDUM)));
2460    mnuActNoteDelete.Enabled         :=   mnuActConsultResults.Enabled and
2461                                          ((lstNotes.ItemIndex > -1) and
2462                                          ((ConsultRec.TIUResultNarrative>0) or
2463                                          (lstNotes.ItemIEN > 0) or
2464                                          (FActionType = CN_ACT_COMPLETE) or
2465                                          (FActionType = CN_ACT_ADDENDUM)));
2466    mnuActSignatureSign.Enabled      :=   mnuActConsultResults.Enabled and
2467                                          ((lstNotes.ItemIndex > -1) and
2468                                          ((ConsultRec.TIUResultNarrative>0) or
2469                                          (lstNotes.ItemIEN > 0) or
2470                                          (FActionType = CN_ACT_COMPLETE) or
2471                                          (FActionType = CN_ACT_ADDENDUM)))
2472                                          or
2473                                          ((Notifications.Active) and
2474                                          (lstConsults.ItemIEN = CurrNotifIEN) and
2475                                          (Notifications.FollowUp = NF_CONSULT_UNSIGNED_NOTE) and
2476                                          (lstNotes.ItemIndex > -1));
2477    mnuActSignatureList.Enabled      :=   mnuActConsultResults.Enabled and
2478                                          ((lstNotes.ItemIndex > -1) and
2479                                          ((ConsultRec.TIUResultNarrative>0) or
2480                                          (lstNotes.ItemIEN > 0) or
2481                                          (FActionType = CN_ACT_COMPLETE) or
2482                                          (FActionType = CN_ACT_ADDENDUM)))
2483                                          or
2484                                          ((Notifications.Active) and
2485                                          (lstConsults.ItemIEN = CurrNotifIEN) and
2486                                          (Notifications.FollowUp = NF_CONSULT_UNSIGNED_NOTE) and
2487                                          (lstNotes.ItemIndex > -1));
2488    mnuActSignatureSave.Enabled      :=   mnuActConsultResults.Enabled and
2489                                          ((lstNotes.ItemIndex > -1) and
2490                                          ((ConsultRec.TIUResultNarrative>0) or
2491                                          (lstNotes.ItemIEN > 0) or
2492                                          (FActionType = CN_ACT_COMPLETE) or
2493                                          (FActionType = CN_ACT_ADDENDUM)));
2494    mnuActIdentifyAddlSigners.Enabled :=  mnuActConsultResults.Enabled and
2495                                          ((lstNotes.ItemIndex > -1) and
2496                                          ((ConsultRec.TIUResultNarrative>0) or
2497                                          (lstNotes.ItemIEN > 0)));
2498    mnuActNotePrint.Enabled           :=  mnuActConsultResults.Enabled and
2499                                          ((lstNotes.ItemIndex > -1) and
2500                                          ((ConsultRec.TIUResultNarrative>0) or
2501                                          (lstNotes.ItemIEN > 0)));
2502    mnuActChange.Enabled              :=  mnuActConsultResults.Enabled and
2503                                          ((lstNotes.ItemIndex > -1) and (lstNotes.ItemIndex = EditingIndex));
2504    mnuActLoadBoiler.Enabled          :=  mnuActConsultResults.Enabled and
2505                                          ((lstNotes.ItemIndex > -1) and (lstNotes.ItemIndex = EditingIndex));
2506  
2507    if ((lstNotes.ItemIndex > -1) and UserIsSigner(lstNotes.ItemIEN)) then
2508    begin
2509      mnuActSignatureList.Enabled := True;
2510      mnuActSignatureSign.Enabled := True;
2511      mnuActConsultResults.Enabled := True;
2512    end;
2513  
2514    popNoteMemoSignList.Enabled       :=  //(mnuActConsultResults.Enabled) and
2515                                          (mnuActSignatureList.Enabled) ;
2516    popNoteMemoSign.Enabled           :=  //(mnuActConsultResults.Enabled) and
2517                                          mnuActSignatureSign.Enabled ;
2518    popNoteMemoSave.Enabled           :=  //(mnuActConsultResults.Enabled) and
2519                                          mnuActSignatureSave.Enabled ;
2520    popNoteMemoEdit.Enabled           :=  //(mnuActConsultResults.Enabled) and
2521                                          mnuActNoteEdit.Enabled;
2522    popNoteMemoAddend.Enabled         :=  //(mnuActConsultResults.Enabled) and
2523                                          mnuActMakeAddendum.Enabled;
2524    popNoteMemoDelete.Enabled         :=  //(mnuActConsultResults.Enabled) and
2525                                          mnuActNoteDelete.Enabled;
2526    popNoteMemoAddlSign.Enabled       :=  //(mnuActConsultResults.Enabled) and
2527                                          mnuActIdentifyAddlSigners.Enabled;
2528    popNoteMemoPrint.Enabled          :=  (mnuActNotePrint.Enabled);
2529  end;