Procedure

ReminderMenuBuilder

Module

uReminders

Last Modified

10/8/2014 2:49:30 PM

Scope

Global

Declaration

procedure ReminderMenuBuilder(MI: TMenuItem; RemStr: string;
                              IncludeActions, IncludeEval, ViewFolders: boolean);

Calls Hierarchy


ReminderMenuBuilder
 ├Add
 │ ├ReminderClinMaintClicked
 │ │ ├ReportBox
 │ │ │ └CreateReportBox
 │ │ │   └TfrmBase508Form.Create
 │ │ │     ├TfrmBase508Form.UpdateAccessibilityActions
 │ │ │     ├UnfocusableControlEnter
 │ │ │     └AdjustControls
 │ │ │       ├TfrmBase508Form.ModifyUnfocusableControl
 │ │ │       └..(rec)..
 │ │ ├DetailReminder
 │ │ │ └InteractiveRemindersActive
 │ │ │   └GetRemindersActive
 │ │ └ReminderName
 │ │   └TReminderDialog.GetPrintName
 │ ├ReminderEduClicked
 │ │ ├ReportBox...
 │ │ └EducationTopicDetail
 │ ├ReminderInqClicked
 │ │ ├ReportBox...
 │ │ ├ReminderInquiry
 │ │ └ReminderName...
 │ ├ReminderWebClicked
 │ │ ├GotoWebPage
 │ │ └GetWebPageAddress
 │ ├ReminderEvalClicked
 │ │ └EvalReminder
 │ │   ├EvaluateReminder
 │ │   │ └EvaluateReminders
 │ │   ├ReminderEvaluated
 │ │   └ReminderName...
 │ ├ReminderViewFolderClicked
 │ │ ├GetRemFolders
 │ │ │ └GetReminderFolders
 │ │ └SetRemFolders
 │ │   ├BeginReminderUpdate
 │ │   ├SetReminderFolders
 │ │   └EndReminderUpdate
 │ ├GetRemFolders...
 │ └ReminderIconLegendClicked
 │   └ShowIconLegend
 │     ├TfrmBase508Form.Create...
 │     ├TfrmFrame.TabExists
 │     ├TfrmIconLegend.ShowTab
 │     └TfrmIconLegend.SetFontSize
 │       └TfrmIconLegend.SnapLabels
 ├GetEducationTopics
 │ ├GetEducationTopicsForReminder
 │ └GetEducationSubtopics
 ├AddEducationTopics
 │ ├GetEducationTopics...
 │ ├Add...
 │ └..(rec)..
 ├GetWebPages
 │ └GetReminderWebPages
 └AddWebPages
   ├Add...
   └GetWebPageName

Called-By Hierarchy


                                                                               ReminderMenuBuilder
                                                                               ReminderTreePopup┤ 
                                                                       SetReminderPopupRoutine┘ │ 
                                                                                ReminderMenu┘   │ 
                                                                           RemContextPopup┘     │ 
                                                                       BuildReminderTree┘       │ 
                                                          TfrmDrawers.RemindersChanged┤         │ 
                                                             TfrmDrawers.ShowDrawers┘ │         │ 
                                                         TfrmDrawers.CreateDrawers┤   │         │ 
                                                           TfrmDCSumm.FormCreate┤ │   │         │ 
                                                         TfrmConsults.FormCreate┤ │   │         │ 
                                                          TfrmSurgery.FormCreate┤ │   │         │ 
                                                            TfrmNotes.FormCreate┘ │   │         │ 
                                                        TfrmDrawers.DisplayDrawers┘   │         │ 
                                                         TfrmConsults.DisplayPCE┤     │         │ 
                                                 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.cmdPCEClick┤ │     │         │ 
                                                    TfrmConsults.lstNotesClick┤ │     │         │ 
                                                TfrmConsults.CompleteConsult┤ │ │     │         │ 
                                          TfrmConsults.mnuActCompleteClick┤ │ │ │     │         │ 
                                        TfrmConsults.mnuActAddIDEntryClick┘ │ │ │     │         │ 
                                                 TfrmConsults.InsertAddendum┤ │ │     │         │ 
                                      TfrmConsults.mnuActMakeAddendumClick┘ │ │ │     │         │ 
                                                    TfrmConsults.LoadForEdit┤ │ │     │         │ 
                                       TfrmConsults.mnuActNoteEditClick...┘ │ │ │     │         │ 
                                                                 SaveOrAbort┤ │ │     │         │ 
                                         TfrmConsults.SaveEditedConsult...┘ │ │ │     │         │ 
                                           TfrmConsults.SaveEditedConsult...┤ │ │     │         │ 
                                       TfrmConsults.mnuActSignatureSignClick┤ │ │     │         │ 
                                                TfrmConsults.SaveSignItem...┤ │ │     │         │ 
                              TfrmConsults.mnuActIdentifyAddlSignersClick...┤ │ │     │         │ 
                                              TfrmConsults.tvCsltNotesChange┘ │ │     │         │ 
                                         TfrmConsults.SaveEditedConsult...┤   │ │     │         │ 
                                     TfrmConsults.mnuActSignatureSignClick┤   │ │     │         │ 
                                      TfrmConsults.ProcessNotifications...┘   │ │     │         │ 
                                                    TfrmConsults.AssignRemForm┘ │     │         │ 
                                                          ViewRemDlgFromForm┘   │     │         │ 
                                                                ViewRemDlg┤     │     │         │ 
                                                      ViewReminderDialog┤ │     │     │         │ 
                                        TfrmDrawers.tvRemindersMouseUp┤ │ │     │     │         │ 
                                     TfrmDrawers.RemindersChanged...┘ │ │ │     │     │         │ 
                                        TfrmDrawers.tvRemindersKeyDown┘ │ │     │     │         │ 
                                              ViewReminderDialogTemplate┘ │     │     │         │ 
                                                ViewRemDlgTemplateFromForm┘     │     │         │ 
                                         TTemplate.ExecuteReminderDialog┘       │     │         │ 
                                          ExecuteTemplateOrBoilerPlate┤         │     │         │ 
                                                TfrmDrawers.InsertText┘         │     │         │ 
                                     TfrmDrawers.tvTemplatesDblClick┤           │     │         │ 
                                      TfrmDrawers.tvTemplatesKeyDown┤           │     │         │ 
                                          TfrmDrawers.NewRECDragDrop┤           │     │         │ 
                                    TfrmDrawers.SetRichEditControl┘ │           │     │         │ 
                                           TfrmDCSumm.FormCreate┤   │           │     │         │ 
                                         TfrmConsults.FormCreate┤   │           │     │         │ 
                                          TfrmSurgery.FormCreate┤   │           │     │         │ 
                                            TfrmNotes.FormCreate┘   │           │     │         │ 
                                  TfrmDrawers.mnuInsertTemplateClick┘           │     │         │ 
                            TfrmDCSumm.popSummMemoInsTemplateClick┤             │     │         │ 
                          TfrmConsults.popNoteMemoInsTemplateClick┤             │     │         │ 
                           TfrmSurgery.popNoteMemoInsTemplateClick┤             │     │         │ 
                             TfrmNotes.popNoteMemoInsTemplateClick┘             │     │         │ 
                                                          TfrmSurgery.DisplayPCE┤     │         │ 
                                                       TfrmSurgery.cmdPCEClick┤ │     │         │ 
                                                   TfrmSurgery.tvSurgeryChange┤ │     │         │ 
                                                  TfrmSurgery.SaveEditedNote┤ │ │     │         │ 
                                               TfrmSurgery.SaveCurrentNote┘ │ │ │     │         │ 
                                          TfrmSurgery.AllowContextChange┤   │ │ │     │         │ 
                                    TfrmFrame.AllowContextChangeAll...┘ │   │ │ │     │         │ 
                                              TfrmSurgery.SetViewContext┤   │ │ │     │         │ 
                                               TfrmSurgery.DisplayPage┤ │   │ │ │     │         │ 
                               TfrmSurgery.mnuViewReturntoDefaultClick┘ │   │ │ │     │         │ 
                                                TfrmSurgery.RequestPrint┤   │ │ │     │         │ 
                                           TfrmFrame.mnuFilePrintClick┘ │   │ │ │     │         │ 
                                                TfrmSurgery.mnuViewClick┤   │ │ │     │         │ 
                                         TfrmSurgery.SetViewContext...┘ │   │ │ │     │         │ 
                                                TfrmSurgery.StartNewEdit┤   │ │ │     │         │ 
                                            TfrmSurgery.mnuActNewClick┤ │   │ │ │     │         │ 
                                         TfrmSurgery.cmdNewNoteClick┘ │ │   │ │ │     │         │ 
                                         TfrmSurgery.mnuActAddendClick┤ │   │ │ │     │         │ 
                                           TfrmSurgery.mnuActEditClick┘ │   │ │ │     │         │ 
                                           TfrmSurgery.mnuActDeleteClick┤   │ │ │     │         │ 
                                         TfrmSurgery.SaveEditedNote...┘ │   │ │ │     │         │ 
                                             TfrmSurgery.mnuActSaveClick┤   │ │ │     │         │ 
                                             TfrmSurgery.mnuActSignClick┤   │ │ │     │         │ 
                                                TfrmSurgery.SaveSignItem┤   │ │ │     │         │ 
                                              TfrmReview.cmdOKClick...┘ │   │ │ │     │         │ 
                                                   TfrmSurgery.FormClose┤   │ │ │     │         │ 
                              TfrmSurgery.mnuActIdentifyAddlSignersClick┤   │ │ │     │         │ 
                                  TfrmSurgery.popNoteMemoAddlSignClick┘ │   │ │ │     │         │ 
                                        TfrmSurgery.ProcessNotifications┘   │ │ │     │         │ 
                                               TfrmSurgery.DisplayPage┘     │ │ │     │         │ 
                                                 TfrmSurgery.mnuActSignClick┤ │ │     │         │ 
                                              TfrmSurgery.mnuViewDetailClick┤ │ │     │         │ 
                                         TfrmSurgery.ProcessNotifications...┤ │ │     │         │ 
                                                TfrmSurgery.LoadSurgeryCases┘ │ │     │         │ 
                                               TfrmSurgery.mnuViewClick...┤   │ │     │         │ 
                                               TfrmSurgery.StartNewEdit...┤   │ │     │         │ 
                                          TfrmSurgery.mnuActDeleteClick...┤   │ │     │         │ 
                                               TfrmSurgery.mnuActSaveClick┤   │ │     │         │ 
                                               TfrmSurgery.mnuActSignClick┤   │ │     │         │ 
                                               TfrmSurgery.SaveSignItem...┤   │ │     │         │ 
                             TfrmSurgery.mnuActIdentifyAddlSignersClick...┘   │ │     │         │ 
                                                     TfrmSurgery.lstNotesClick┘ │     │         │ 
                                                   TfrmSurgery.InsertNewNote┤   │     │         │ 
                                             TfrmSurgery.mnuActNewClick...┘ │   │     │         │ 
                                                  TfrmSurgery.InsertAddendum┤   │     │         │ 
                                             TfrmSurgery.mnuActAddendClick┘ │   │     │         │ 
                                                     TfrmSurgery.LoadForEdit┤   │     │         │ 
                                               TfrmSurgery.mnuActEditClick┘ │   │     │         │ 
                                               TfrmSurgery.SaveEditedNote...┤   │     │         │ 
                                                 TfrmSurgery.mnuActSignClick┤   │     │         │ 
                                                 TfrmSurgery.SaveSignItem...┤   │     │         │ 
                               TfrmSurgery.mnuActIdentifyAddlSignersClick...┤   │     │         │ 
                                              TfrmSurgery.tvSurgeryChange...┘   │     │         │ 
                                                            TfrmNotes.DisplayPCE┘     │         │ 
                                                       TfrmNotes.lstNotesClick┤       │         │ 
                                                     TfrmNotes.InsertNewNote┤ │       │         │ 
                                                  TfrmNotes.mnuActNewClick┤ │ │       │         │ 
                                               TfrmNotes.cmdNewNoteClick┘ │ │ │       │         │ 
                                           TfrmNotes.mnuActAddIDEntryClick┘ │ │       │         │ 
                                                    TfrmNotes.InsertAddendum┤ │       │         │ 
                                               TfrmNotes.mnuActAddendClick┘ │ │       │         │ 
                                                       TfrmNotes.LoadForEdit┤ │       │         │ 
                                                 TfrmNotes.mnuActEditClick┘ │ │       │         │ 
                                                    TfrmNotes.SaveEditedNote┤ │       │         │ 
                                                 TfrmNotes.SaveCurrentNote┘ │ │       │         │ 
                                            TfrmNotes.AllowContextChange┤   │ │       │         │ 
                                    TfrmFrame.AllowContextChangeAll...┘ │   │ │       │         │ 
                                               TfrmNotes.LstNotesToPrint┤   │ │       │         │ 
                              TfrmFrame.mnuFilePrintSelectedItemsClick┘ │   │ │       │         │ 
                                                  TfrmNotes.RequestPrint┤   │ │       │         │ 
                                           TfrmFrame.mnuFilePrintClick┘ │   │ │       │         │ 
                                                  TfrmNotes.mnuViewClick┤   │ │       │         │ 
                                              TfrmNotes.SetViewContext┤ │   │ │       │         │ 
                                               TfrmNotes.DisplayPage┤ │ │   │ │       │         │ 
                               TfrmNotes.mnuViewReturntoDefaultClick┘ │ │   │ │       │         │ 
                                   TfrmNotes.mnuViewSaveAsDefaultClick┘ │   │ │       │         │ 
                                                  TfrmNotes.StartNewEdit┤   │ │       │         │ 
                                           TfrmNotes.mnuActNewClick...┤ │   │ │       │         │ 
                                       TfrmNotes.mnuActAddIDEntryClick┤ │   │ │       │         │ 
                                           TfrmNotes.mnuActAddendClick┤ │   │ │       │         │ 
                                             TfrmNotes.mnuActEditClick┘ │   │ │       │         │ 
                                 TfrmNotes.mnuActDetachFromIDParentClick┤   │ │       │         │ 
                                             TfrmNotes.mnuActDeleteClick┤   │ │       │         │ 
                                           TfrmNotes.SaveEditedNote...┘ │   │ │       │         │ 
                                               TfrmNotes.mnuActSaveClick┤   │ │       │         │ 
                                               TfrmNotes.mnuActSignClick┤   │ │       │         │ 
                                                  TfrmNotes.SaveSignItem┤   │ │       │         │ 
                                              TfrmReview.cmdOKClick...┘ │   │ │       │         │ 
                                                     TfrmNotes.FormClose┤   │ │       │         │ 
                                TfrmNotes.mnuActIdentifyAddlSignersClick┤   │ │       │         │ 
                                    TfrmNotes.popNoteMemoAddlSignClick┘ │   │ │       │         │ 
                                          TfrmNotes.ProcessNotifications┤   │ │       │         │ 
                                                 TfrmNotes.DisplayPage┘ │   │ │       │         │ 
                                             TfrmNotes.SetViewContext...┤   │ │       │         │ 
                                               TfrmNotes.tvNotesDragDrop┤   │ │       │         │ 
                                   TfrmNotes.mnuActAttachtoIDParentClick┘   │ │       │         │ 
                                                   TfrmNotes.mnuActSignClick┤ │       │         │ 
                                                   TfrmNotes.SaveSignItem...┤ │       │         │ 
                                                TfrmNotes.mnuViewDetailClick┤ │       │         │ 
                                 TfrmNotes.mnuActIdentifyAddlSignersClick...┤ │       │         │ 
                                                     TfrmNotes.tvNotesChange┤ │       │         │ 
                                               TfrmNotes.SaveEditedNote...┤ │ │       │         │ 
                                                 TfrmNotes.mnuActSignClick┤ │ │       │         │ 
                                         TfrmNotes.ProcessNotifications...┤ │ │       │         │ 
                                                       TfrmNotes.LoadNotes┘ │ │       │         │ 
                                            TfrmNotes.LstNotesToPrint...┤   │ │       │         │ 
                                               TfrmNotes.mnuViewClick...┤   │ │       │         │ 
                                               TfrmNotes.StartNewEdit...┤   │ │       │         │ 
                                 TfrmNotes.mnuActDetachFromIDParentClick┤   │ │       │         │ 
                                          TfrmNotes.mnuActDeleteClick...┤   │ │       │         │ 
                                               TfrmNotes.mnuActSaveClick┤   │ │       │         │ 
                                               TfrmNotes.mnuActSignClick┤   │ │       │         │ 
                                               TfrmNotes.SaveSignItem...┤   │ │       │         │ 
                             TfrmNotes.mnuActIdentifyAddlSignersClick...┤   │ │       │         │ 
                                   TfrmNotes.mnuActAttachtoIDParentClick┤   │ │       │         │ 
                                               TfrmNotes.DoAttachIDChild┘   │ │       │         │ 
                                             TfrmNotes.tvNotesDragDrop┤     │ │       │         │ 
                                 TfrmNotes.mnuActAttachtoIDParentClick┘     │ │       │         │ 
                                                 TfrmNotes.lvNotesSelectItem┘ │       │         │ 
                                                TfrmNotes.tvNotesChange...┘   │       │         │ 
                                                        UpdateEncounterInfo...┤       │         │ 
                                                       TfrmNotes.AssignRemForm┘       │         │ 
                                                       ViewRemDlgFromForm...┘         │         │ 
                                                     TfrmReminderTree.RemindersChanged┘         │ 
                                                         TfrmReminderTree.FormCreate┤           │ 
                                                        TfrmReminderTree.FormDestroy┘           │ 
                                                                          ReminderTreePopupCover┤ 
                                                                  SetReminderPopupCoverRoutine┘ │ 
                                                                       TfrmCover.DisplayPage┘   │ 
                                                                  TfrmCover.CoverItemClick┘     │ 
                                                                            ReminderTreePopupDlg┤ 
                                                                    SetReminderPopupDlgRoutine┘ │ 
                                                                             ReminderMenu...┘   │ 
                                                                          ReminderMenuItemSelect┘ 
                                                                  SetReminderMenuSelectRoutine┘   
                                                                 TfrmReminderTree.FormCreate┘     

Calls

Name Declaration Comments
Add function Add(Text: string; Parent: TMenuItem; Tag: integer; Typ: TRemMenuCmd): TORMenuItem; -
AddEducationTopics procedure AddEducationTopics(Item: TMenuItem; EduStr: string); -
AddWebPages procedure AddWebPages(Item: TMenuItem; WebStr: string); -
GetEducationTopics function GetEducationTopics(EIEN: string): string; -
GetWebPages function GetWebPages(EIEN: string): string; overload; -

Called-By

Name Declaration Comments
ReminderMenuItemSelect procedure ReminderMenuItemSelect(AData: pointer; Sender: TObject); -
ReminderTreePopup procedure ReminderTreePopup(AData: pointer; Sender: TObject); -
ReminderTreePopupCover procedure ReminderTreePopupCover(AData: pointer; Sender: TObject); -
ReminderTreePopupDlg procedure ReminderTreePopupDlg(AData: pointer; Sender: TObject); -


Source

1416  procedure ReminderMenuBuilder(MI: TMenuItem; RemStr: string;
1417                                IncludeActions, IncludeEval, ViewFolders: boolean);
1418  var
1419    M: TMethod;
1420    Tmp: string;
1421    Cnt: integer;
1422    RemID: integer;
1423    cmd: TRemMenuCmd;
1424  
1425    function Add(Text: string; Parent: TMenuItem; Tag: integer; Typ: TRemMenuCmd): TORMenuItem;
1426    var
1427      InsertMenu: boolean;
1428      idx: integer;
1429  
1430    begin
1431      Result := nil;
1432      InsertMenu := TRUE;
1433      if(Parent = MI) then
1434      begin
1435        if(MI.Count > Cnt) then
1436        begin
1437          Result := TORMenuItem(MI.Items[Cnt]);
1438          Result.Enabled := TRUE;
1439          Result.Visible := TRUE;
1440          Result.ImageIndex := -1;
1441          while Result.Count > 0 do
1442            Result.Delete(Result.Count-1);
1443          InsertMenu := FALSE;
1444        end;
1445        inc(Cnt);
1446      end;
1447      if(not assigned(Result)) then
1448        Result := TORMenuItem.Create(MI);
1449      if(Text = '') then
1450        Result.Caption := RemMenuNames[Typ]
1451      else
1452        Result.Caption := Text;
1453      Result.Tag := Tag;
1454      Result.Data := RemStr;
1455      if(Tag <> 0) then
1456      begin
1457        case Typ of
1458          rmClinMaint:  M.Code := @ReminderClinMaintClicked;
1459          rmEdu:        M.Code := @ReminderEduClicked;
1460          rmInq:        M.Code := @ReminderInqClicked;
1461          rmWeb:        M.Code := @ReminderWebClicked;
1462          rmEval:       M.Code := @ReminderEvalClicked;
1463          rmDue..rmOther:
1464            begin
1465              M.Code := @ReminderViewFolderClicked;
1466              case Typ of
1467                rmDue:           idx := 0;
1468                rmApplicable:    idx := 2;
1469                rmNotApplicable: idx := 4;
1470                rmEvaluated:     idx := 6;
1471                rmOther:         idx := 8;
1472                else             idx := -1;
1473              end;
1474              if(idx >= 0) and (RemMenuFolder[Typ] in GetRemFolders) then
1475                inc(idx);
1476              Result.ImageIndex := idx;
1477            end;
1478          rmLegend:     M.Code := @ReminderIconLegendClicked;
1479          else
1480            M.Code := nil;
1481        end;
1482        if(assigned(M.Code)) then
1483          Result.OnClick := TNotifyEvent(M)
1484        else
1485          Result.OnClick := nil;
1486      end;
1487      if(InsertMenu) then
1488        Parent.Add(Result);
1489    end;
1490  
1491    procedure AddEducationTopics(Item: TMenuItem; EduStr: string);
1492    var
1493      i, j: integer;
1494      Code: String;
1495      NewEduStr: string;
1496      itm: TMenuItem;
1497  
1498    begin
1499      if(EduStr <> '') then
1500      begin
1501        repeat
1502          i := pos(';', EduStr);
1503          j := pos(U, EduStr);
1504          if(j = 0) then j := length(EduStr)+1;
1505          Code := copy(EduStr,1,i-1);
1506          //AddEducationTopics(Add(copy(EduStr,i+1,j-i-1), Item, StrToIntDef(Code, 0), rmEdu),
1507          //                   GetEducationTopics(EduCode + Code));
1508  
1509          NewEduStr := GetEducationTopics(EduCode + Code);
1510          if(NewEduStr = '') then
1511            Add(copy(EduStr,i+1,j-i-1), Item, StrToIntDef(Code, 0), rmEdu)
1512          else
1513          begin
1514            itm := Add(copy(EduStr,i+1,j-i-1), Item, 0, rmEdu);
1515            Add(copy(EduStr,i+1,j-i-1), itm, StrToIntDef(Code, 0), rmEdu);
1516            Add('', Itm, 0, rmDash);
1517            AddEducationTopics(itm, NewEduStr);
1518          end;
1519  
1520          delete(EduStr,1,j);
1521        until(EduStr = '');
1522      end;
1523    end;
1524  
1525    procedure AddWebPages(Item: TMenuItem; WebStr: string);
1526    var
1527      i, idx: integer;
1528  
1529    begin
1530      if(WebStr <> '') then
1531      begin
1532        repeat
1533          i := pos(U, WebStr);
1534          if(i = 0) then i := length(WebStr)+1;
1535          idx := StrToIntDef(copy(WebStr,1,i-1),-1);
1536          if(idx >= 0) then
1537            Add(GetWebPageName(idx), Item, idx+1, rmWeb);
1538          delete(WebStr,1,i);
1539        until(WebStr = '');
1540      end;
1541    end;
1542  
1543  
1544  begin
1545    RemID := StrToIntDef(copy(Piece(RemStr,U,1),2,MaxInt),0);
1546    Cnt := 0;
1547    M.Data := nil;
1548  
1549    if(RemID > 0) then
1550    begin
1551      Add('', MI, RemID, rmClinMaint);
1552      Tmp := GetEducationTopics(RemCode + IntToStr(RemID));
1553      if(Tmp <> '') then
1554        AddEducationTopics(Add('', MI, 0, rmEdu), Tmp)
1555      else
1556        Add('', MI, 0, rmEdu).Enabled := FALSE;
1557      Add('', MI, RemID, rmInq);
1558      Tmp := GetWebPages(IntToStr(RemID));
1559      if(Tmp <> '') then
1560        AddWebPages(Add('', MI, 0, rmWeb), Tmp)
1561      else
1562        Add('', MI, 0, rmWeb).Enabled := FALSE;
1563  
1564      if(IncludeActions or IncludeEval) then
1565      begin
1566        Add('', MI, 0, rmDash);
1567        Add('', MI, RemID, rmEval);
1568      end;
1569    end;
1570  
1571    if(ViewFolders) then
1572    begin
1573      Add('', MI, 0, rmDash);
1574      for cmd := low(TRemViewCmds) to high(TRemViewCmds) do
1575        Add('', MI, ord(RemMenuFolder[cmd]), cmd);
1576    end;
1577  
1578    Add('', MI, 0, rmDash);
1579    Add('', MI, 1, rmLegend);
1580  
1581    while MI.Count > Cnt do
1582      MI.Delete(MI.Count-1);
1583  end;