Function

TTemplateDialogEntry.GetControlText

Module

uTemplateFields

Last Modified

3/11/2015 8:41:54 AM

Visibility

Protected

Owner

TTemplateDialogEntry

Declaration

function GetControlText(CtrlID: integer; NoCommas: boolean;
                        var FoundEntry: boolean; AutoWrap: boolean;
                        emField: string = ''): string;

Calls Hierarchy


TTemplateDialogEntry.GetControlText
 ├GetTemplateField
 │ ├LoadTemplateFieldByIEN
 │ ├LoadTemplateField
 │ └TTemplateField.Create
 │   ├TemplateFieldCode2Field
 │   └TemplateDateCode2DateType
 ├GetOriginalItem
 │ ├GetTemplateField...
 │ └StripEmbedded
 └TfraTemplateFieldButton.GetButtonText

Called-By Hierarchy


                                                                       TTemplateDialogEntry.GetControlText
                                                                                   ResolveTemplateFields┤ 
                                                                                               GetText┤ │ 
                                                                                    DoTemplateDialog┤ │ │ 
                                                                           CheckBoilerplate4Fields┤ │ │ │ 
                                                                             DoTemplateDialog...┤ │ │ │ │ 
                                                                                ShowTemplateData┘ │ │ │ │ 
                                                           TfrmDrawers.mnuPreviewTemplateClick┤   │ │ │ │ 
                                                          TfrmDCSumm.popSummMemoPreviewClick┤ │   │ │ │ │ 
                                                        TfrmConsults.popNoteMemoPreviewClick┤ │   │ │ │ │ 
                                                         TfrmSurgery.popNoteMemoPreviewClick┤ │   │ │ │ │ 
                                                           TfrmNotes.popNoteMemoPreviewClick┘ │   │ │ │ │ 
                                                              TfrmTemplateEditor.mnuBPTryClick┘   │ │ │ │ 
                                                            TfrmTemplateEditor.tvTreeKeyDown┘     │ │ │ │ 
                                                                                 TTemplate.GetText┘ │ │ │ 
                                                                    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┘   │   │ │ │ 
                                                          TfrmDrawers.mnuPreviewTemplateClick...┤   │ │ │ 
                                                                TfrmDrawers.mnuCopyTemplateClick┤   │ │ │ 
                                                             TfrmTemplateEditor.mnuBPTryClick...┘   │ │ │ 
                                                                  TfrmTemplateDialog.btnPreviewClick┘ │ │ 
                                                                          TTemplateDialogEntry.GetText┤ │ 
                                                                          TfrmTemplateDialog.BuildCB┤ │ │ 
                                                               TfrmTemplateDialog.BuildAllControls┘ │ │ │ 
                                                                             DoTemplateDialog...┤   │ │ │ 
                                                                    TfrmTemplateDialog.FormPaint┘   │ │ │ 
                                                                     TfrmTemplateDialog.FieldChanged┘ │ │ 
                                                                     TfrmTemplateDialog.BuildCB...┘   │ │ 
                                                                                TRemDlgElement.AddText┘ │ 
                                                                             TReminderDialog.AddText┤   │ 
                                                                             TfrmRemDlg.UpdateText┤ │   │ 
                                                                      TfrmRemDlg.ProcessReminder┤ │ │   │ 
                                                                            ViewRemDlgFromForm┤ │ │ │   │ 
                                                                                  ViewRemDlg┤ │ │ │ │   │ 
                                                                        ViewReminderDialog┤ │ │ │ │ │   │ 
                                                          TfrmDrawers.tvRemindersMouseUp┤ │ │ │ │ │ │   │ 
                                                          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...┘   │       │ │ │ │ │ │ │   │ 
                                                          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...┘           │ │ │ │ │ │ │   │ 
                                                          TfrmDrawers.tvRemindersKeyDown┘ │ │ │ │ │ │   │ 
                                                                ViewReminderDialogTemplate┘ │ │ │ │ │   │ 
                                                                  ViewRemDlgTemplateFromForm┘ │ │ │ │   │ 
                                                           TTemplate.ExecuteReminderDialog┘   │ │ │ │   │ 
                                                            ExecuteTemplateOrBoilerPlate┤     │ │ │ │   │ 
                                                               TfrmDrawers.InsertText...┘     │ │ │ │   │ 
                                                                      TfrmRemDlg.btnClearClick┤ │ │ │   │ 
                                                         TfrmRemDlg.ProcessReminderFromNodeStr┘ │ │ │   │ 
                                                                     TfrmRemDlg.btnNextClick┤   │ │ │   │ 
                                                                     TfrmRemDlg.btnBackClick┘   │ │ │   │ 
                                                                        TfrmRemDlg.BuildControls┤ │ │   │ 
                                                                 TfrmRemDlg.ProcessReminder...┤ │ │ │   │ 
                                                                        TfrmRemDlg.UMResyncRem┤ │ │ │   │ 
                                                                    TfrmRemDlg.ProcessTemplate┤ │ │ │   │ 
                                                                       ViewRemDlgFromForm...┘ │ │ │ │   │ 
                                                                        TfrmRemDlg.SetFontSize┘ │ │ │   │ 
                                                                       ViewRemDlgFromForm...┤   │ │ │   │ 
                                                                     TfrmFrame.ChangeFont...┘   │ │ │   │ 
                                                                        TfrmRemDlg.btnVisitClick┤ │ │   │ 
                                                                   TfrmRemDlg.ProcessTemplate...┘ │ │   │ 
                                                                         TfrmRemDlg.btnFinishClick┤ │   │ 
                                                                    TReminderDialog.FinishProblems┘ │   │ 
                                                                   TfrmRemDlg.ProcessReminder...┤   │   │ 
                                                                       TfrmRemDlg.btnFinishClick┘   │   │ 
                                                                                           ..(rec)..┘   │ 
                                                                               AreTemplateFieldsRequired┤ 
                                                                     TfrmTemplateDialog.FormCloseQuery┤ │ 
                                                                     TReminderDialog.FinishProblems...┘ │ 
                                                                     TTemplateDialogEntry.GetFieldValues┘ 
                                                                       TRemDlgElement.FieldPanelChange┘   
                                                                                            GetPanel┘     
                                                                      TRemDlgElement.BuildControls┘       
                                                                   TReminderDialog.BuildControls┤         
                                                                   TfrmRemDlg.BuildControls...┘ │         
                                                                                       ..(rec)..┘         

Calls

Name Declaration Comments
TfraTemplateFieldButton.GetButtonText function GetButtonText: string; -
GetOriginalItem function GetOriginalItem(istr: string): string; -
GetTemplateField function GetTemplateField(ATemplateField: string; ByIEN: boolean): TTemplateField; -

Called-By

Name Declaration Comments
AreTemplateFieldsRequired function AreTemplateFieldsRequired(const Text: string; FldValues: TORStringList = nil): boolean; -
TTemplateDialogEntry.GetFieldValues function GetFieldValues: string; -
ResolveTemplateFields function ResolveTemplateFields(Text: string; AutoWrap: boolean; Hidden: boolean = FALSE; IncludeEmbedded: boolean = FALSE): string; -


Source

1859  function TTemplateDialogEntry.GetControlText(CtrlID: integer; NoCommas: boolean;
1860                              var FoundEntry: boolean; AutoWrap: boolean;
1861                              emField: string = ''): string;
1862  var
1863    x, i, j, ind, idx: integer;
1864    Ctrl: TControl;
1865    Done: boolean;
1866    iString: string;
1867    iField: TTemplateField;
1868    iTemp: TStringList;
1869  
1870    function GetOriginalItem(istr: string): string;
1871    begin
1872      Result := '';
1873      if emField <> '' then
1874        begin
1875          iField := GetTemplateField(emField,FALSE);
1876          iTemp := nil;
1877          if ifield <> nil then
1878            try
1879              iTemp := TStringList.Create;
1880              iTemp.Text := StripEmbedded(iField.Items);
1881              x := iTemp.IndexOf(istr);
1882              if x >= 0 then
1883                begin
1884                iTemp.Text := iField.Items;
1885                Result := iTemp.Strings[x];
1886                end;
1887            finally
1888              iTemp.Free;
1889            end;
1890        end;
1891    end;
1892  
1893  
1894  begin
1895    Result := '';
1896    Done := FALSE;
1897    ind := -1;
1898    for i := 0 to FControls.Count-1 do
1899    begin
1900      Ctrl := TControl(FControls.Objects[i]);
1901      if(assigned(Ctrl)) and (Ctrl.Tag = CtrlID) then
1902      begin
1903        FoundEntry := TRUE;
1904        Done := TRUE;
1905        if ind < 0 then
1906        begin
1907          idx := FIndents.IndexOfObject(Ctrl);
1908          if idx >= 0 then
1909            ind := StrToIntDef(Piece(FIndents[idx], U, 2), 0)
1910          else
1911            ind := 0;
1912        end;
1913        if(Ctrl is TCPRSTemplateFieldLabel) then
1914        begin
1915          if not TCPRSTemplateFieldLabel(Ctrl).Exclude then begin
1916            if emField <> '' then begin
1917              iField := GetTemplateField(emField,FALSE);
1918              case iField.FldType of
1919                dftHyperlink: if iField.EditDefault <> '' then
1920                                Result := iField.EditDefault
1921                              else
1922                                Result := iField.URL;
1923                dftText:      begin
1924                                iString := iField.Items;
1925                                if copy(iString,length(iString)-1,2) = CRLF then
1926                                  delete(iString,length(iString)-1,2);
1927                                Result := iString;
1928                              end;
1929              else {case}
1930                Result := TCPRSTemplateFieldLabel(Ctrl).Caption
1931              end; {case iField.FldType}
1932              end {if emField}
1933            else
1934              Result := TCPRSTemplateFieldLabel(Ctrl).Caption;
1935          end;
1936        end
1937        else
1938        //!!!!!! CODE ADDED BACK IN - ZZZZZZBELLC !!!!!!
1939        if(Ctrl is TEdit) then
1940          Result := TEdit(Ctrl).Text
1941        else
1942        if(Ctrl is TORComboBox) then begin
1943          Result := TORComboBox(Ctrl).Text;
1944          iString := GetOriginalItem(Result);
1945          if iString <> '' then
1946            Result := iString;
1947          end
1948        else
1949        if(Ctrl is TORDateCombo) then
1950          Result := TORDateCombo(Ctrl).Text + ':' + FloatToStr(TORDateCombo(Ctrl).FMDate)
1951        else
1952       {!!!!!! THIS HAS BEEN REMOVED AS IT CAUSED PROBLEMS WITH REMINDER DIALOGS - ZZZZZZBELLC !!!!!!
1953        if(Ctrl is TORDateBox) then begin
1954          if TORDateBox(Ctrl).IsValid then
1955           Result := TORDateBox(Ctrl).Text
1956          else
1957           Result := '';
1958        end else
1959        }
1960        //!!!!!! CODE ADDED BACK IN - ZZZZZZBELLC !!!!!!
1961        if(Ctrl is TORDateBox) then
1962          Result := TORDateBox(Ctrl).Text
1963        else
1964        if(Ctrl is TRichEdit) then
1965        begin
1966          if((ind = 0) and (not AutoWrap)) then
1967            Result := TRichEdit(Ctrl).Lines.Text
1968          else
1969          begin
1970            for j := 0 to TRichEdit(Ctrl).Lines.Count-1 do
1971            begin
1972              if AutoWrap then
1973              begin
1974                if(Result <> '') then
1975                  Result := Result + ' ';
1976                Result := Result + TRichEdit(Ctrl).Lines[j];
1977              end
1978              else
1979              begin
1980                if(Result <> '') then
1981                  Result := Result + CRLF;
1982                Result := Result + StringOfChar(' ', ind) + TRichEdit(Ctrl).Lines[j];
1983              end;
1984            end;
1985            ind := 0;
1986          end;
1987        end
1988        else
1989       {!!!!!! THIS HAS BEEN REMOVED AS IT CAUSED PROBLEMS WITH REMINDER DIALOGS - ZZZZZZBELLC !!!!!!
1990        if(Ctrl is TEdit) then
1991          Result := TEdit(Ctrl).Text
1992        else }
1993        if(Ctrl is TORCheckBox) then
1994        begin
1995          Done := FALSE;
1996          if(TORCheckBox(Ctrl).Checked) then
1997          begin
1998            if(Result <> '') then
1999            begin
2000              if NoCommas then
2001                Result := Result + '|'
2002              else
2003                Result := Result + ', ';
2004            end;
2005            iString := GetOriginalItem(TORCheckBox(Ctrl).Caption);
2006            if iString <> '' then
2007              Result := Result + iString
2008            else
2009              Result := Result + TORCheckBox(Ctrl).Caption;
2010          end;
2011        end
2012        else
2013        if(Ctrl is TfraTemplateFieldButton) then
2014          begin
2015            Result := TfraTemplateFieldButton(Ctrl).ButtonText;
2016            iString := GetOriginalItem(Result);
2017            if iString <> '' then
2018              Result := iString;
2019          end
2020        else
2021        if(Ctrl is TPanel) then
2022        begin
2023          for j := 0 to Ctrl.ComponentCount-1 do
2024            if Ctrl.Components[j] is TUpDown then
2025            begin
2026              Result := IntToStr(TUpDown(Ctrl.Components[j]).Position);
2027              break;
2028            end;
2029        end;
2030      end;
2031      if Done then break;
2032    end;
2033    if (ind > 0) and (not NoCommas) then
2034      Result := StringOfChar(' ', ind) + Result;
2035  end;