Function

ResolveTemplateFields

Module

uTemplateFields

Last Modified

3/11/2015 8:41:54 AM

Scope

Interfaced

Declaration

function ResolveTemplateFields(Text: string; AutoWrap: boolean; Hidden: boolean = FALSE; IncludeEmbedded: boolean = FALSE): string;

Calls Hierarchy


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

Called-By Hierarchy


                                                                                   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)..┘   

Calls

Name Declaration Comments
AddNewTxt procedure AddNewTxt; -
TTemplateDialogEntry.GetControlText function GetControlText(CtrlID: integer; NoCommas: boolean; var FoundEntry: boolean; AutoWrap: boolean; emField: string = ''): string; -
GetTemplateField function GetTemplateField(ATemplateField: string; ByIEN: boolean): TTemplateField; -
WordWrapText procedure WordWrapText(var Txt: string); -

Called-By

Name Declaration Comments
TRemDlgElement.AddText procedure AddText(Lst: TStrings); -
GetText procedure GetText(SL: TStrings; IncludeEmbeddedFields: Boolean); -
TTemplateDialogEntry.GetText function GetText: string; -


Source

473   function ResolveTemplateFields(Text: string;
474                                  AutoWrap: boolean;
475                                  Hidden: boolean = FALSE;
476                                  IncludeEmbedded: boolean = FALSE): string;
477   var
478     flen, CtrlID, i, j: integer;
479     Entry: TTemplateDialogEntry;
480     iField, Temp, NewTxt, Fld: string;
481     FoundEntry: boolean;
482     TmplFld: TTemplateField;
483   
484     procedure AddNewTxt;
485     begin
486       if(NewTxt <> '') then
487       begin
488         insert(StringOfChar('x',length(NewTxt)), Temp, i);
489         insert(NewTxt, Result, i);
490         inc(i, length(NewTxt));
491       end;
492     end;
493   
494   begin
495     if(not assigned(uEntries)) then
496       uEntries := TStringList.Create;
497     Result := Text;
498     Temp := Text; // Use Temp to allow template fields to contain other template field references
499     repeat
500       i := pos(TemplateFieldBeginSignature, Temp);
501       if(i > 0) then
502       begin
503         CtrlID := 0;
504         if(copy(Temp, i + TemplateFieldSignatureLen, 1) = FieldIDDelim) then
505         begin
506           CtrlID := StrToIntDef(copy(Temp, i + TemplateFieldSignatureLen + 1, FieldIDLen-1), 0);
507           delete(Temp,i + TemplateFieldSignatureLen, FieldIDLen);
508           delete(Result,i + TemplateFieldSignatureLen, FieldIDLen);
509         end;
510         j := pos(TemplateFieldEndSignature, copy(Temp, i + TemplateFieldSignatureLen, MaxInt));
511         Fld := '';
512         if(j > 0) then
513         begin
514           inc(j, i + TemplateFieldSignatureLen - 1);
515           flen := j - i - TemplateFieldSignatureLen;
516           Fld := copy(Temp,i + TemplateFieldSignatureLen, flen);
517           delete(Temp,i,flen + TemplateFieldSignatureLen + 1);
518           delete(Result,i,flen + TemplateFieldSignatureLen + 1);
519         end
520         else
521         begin
522           delete(Temp,i,TemplateFieldSignatureLen);
523           delete(Result,i,TemplateFieldSignatureLen);
524         end;
525         if(CtrlID > 0) then
526         begin
527           FoundEntry := FALSE;
528           for j := 0 to uEntries.Count-1 do
529           begin
530             Entry := TTemplateDialogEntry(uEntries.Objects[j]);
531             if(assigned(Entry)) then
532             begin
533               if IncludeEmbedded then
534                 iField := Fld
535               else
536                 iField := '';
537               NewTxt := Entry.GetControlText(CtrlID, FALSE, FoundEntry, AutoWrap, iField);
538               TmplFld := GetTemplateField(Fld, FALSE);
539               if (assigned(TmplFld)) and (TmplFld.DateType in DateComboTypes) then {if this is a TORDateBox}
540                  NewTxt := Piece(NewTxt,':',1);          {we only want the first piece of NewTxt}
541               AddNewTxt;
542             end;
543             if FoundEntry then break;
544           end;
545           if Hidden and (not FoundEntry) and (Fld <> '') then
546           begin
547             NewTxt := TemplateFieldBeginSignature + Fld + TemplateFieldEndSignature;
548             AddNewTxt;
549           end;
550         end;
551       end;
552     until(i = 0);
553     if not AutoWrap then
554       WordWrapText(Result);
555   end;