Procedure

ExpandTemplate

Module

uTemplates

Last Modified

7/15/2014 3:26:44 PM

Scope

Interfaced

Declaration

procedure ExpandTemplate(tmpl: TTemplate);

Calls Hierarchy


ExpandTemplate
 ├TTemplate.GetChildren
 ├GetTemplateChildren
 ├AddTemplate
 │ ├TTemplate.Create
 │ │ └TTemplate.ReminderDialogIEN
 │ └TTemplate.AddChild
 │   └TTemplate.GetItems
 │     └ExpandTemplate...
 └TTemplate.ItemIENs
   └TTemplate.GetItems...

Called-By Hierarchy


                                                                    ExpandTemplate
                                                          TdmodShared.ExpandNode┤ 
                                                        TdmodShared.SelectNode┤ │ 
                                                      TfrmDrawers.OpenToNode┘ │ │ 
                                               TfrmDrawers.ReloadTemplates┤   │ │ 
                                            TfrmDrawers.sbTemplatesClick┤ │   │ │ 
                                     TfrmDrawers.ExternalReloadTemplates┘ │   │ │ 
                                                    TdmodShared.Reload┘   │   │ │ 
                                      TfrmTemplateEditor.FormDestroy┘     │   │ │ 
                                           TfrmDrawers.mnuGotoDefaultClick┘   │ │ 
                                                        TdmodShared.ExpandTree┤ │ 
                                                               EditTemplates┘ │ │ 
                                       TfrmDCSumm.popSummMemoTemplateClick┤   │ │ 
                                            TfrmDCSumm.mnuNewTemplateClick┤   │ │ 
                                          TfrmDCSumm.mnuEditTemplatesClick┤   │ │ 
                                    TfrmDCSumm.mnuEditSharedTemplatesClick┤   │ │ 
                                      TfrmDCSumm.mnuNewSharedTemplateClick┤   │ │ 
                                     TfrmConsults.popNoteMemoTemplateClick┤   │ │ 
                                        TfrmConsults.mnuEditTemplatesClick┤   │ │ 
                                          TfrmConsults.mnuNewTemplateClick┤   │ │ 
                                  TfrmConsults.mnuEditSharedTemplatesClick┤   │ │ 
                                    TfrmConsults.mnuNewSharedTemplateClick┤   │ │ 
                                         TfrmDrawers.mnuEditTemplatesClick┤   │ │ 
                                           TfrmDrawers.mnuNewTemplateClick┤   │ │ 
                                      TfrmSurgery.popNoteMemoTemplateClick┤   │ │ 
                                         TfrmSurgery.mnuEditTemplatesClick┤   │ │ 
                                           TfrmSurgery.mnuNewTemplateClick┤   │ │ 
                                   TfrmSurgery.mnuEditSharedTemplatesClick┤   │ │ 
                                     TfrmSurgery.mnuNewSharedTemplateClick┤   │ │ 
                                        TfrmNotes.popNoteMemoTemplateClick┤   │ │ 
                                           TfrmNotes.mnuEditTemplatesClick┤   │ │ 
                                             TfrmNotes.mnuNewTemplateClick┤   │ │ 
                                     TfrmNotes.mnuEditSharedTemplatesClick┤   │ │ 
                                       TfrmNotes.mnuNewSharedTemplateClick┘   │ │ 
                                              TfrmDrawers.tvTemplatesExpanding┤ │ 
                                        TfrmTemplateEditor.tvPersonalExpanding┤ │ 
                                          TfrmTemplateEditor.tvSharedExpanding┘ │ 
                                                              TTemplate.GetItems┘ 
                                                     TdmodShared.ExpandNode...┤   
                                                                    BuildNodes┤   
                                                                   ..(rec)..┤ │   
                                                          TdmodShared.Resync┘ │   
                                          TfrmTemplateEditor.cbShHideClick┤   │   
                                        TfrmTemplateEditor.cbActiveClick┘ │   │   
                                         TfrmTemplateEditor.cbPerHideClick┤   │   
                                        TfrmTemplateEditor.cbActiveClick┘ │   │   
                                                 TfrmTemplateEditor.Resync┘   │   
                                          TfrmTemplateEditor.btnNewClick┤     │   
                                                      EditTemplates...┤ │     │   
                                    TfrmTemplateEditor.mnuAutoGenClick┤ │     │   
                             TfrmTemplateEditor.mnuImportTemplateClick┘ │     │   
                                        TfrmTemplateEditor.sbMoveUpClick┤     │   
                                      TfrmTemplateEditor.sbMoveDownClick┤     │   
                                        TfrmTemplateEditor.sbDeleteClick┤     │   
                                 TfrmTemplateEditor.mnuNodeDeleteClick┤ │     │   
                                      TfrmTemplateEditor.tvTreeKeyDown┘ │     │   
                                       TfrmTemplateEditor.tvTreeDragDrop┤     │   
                                    TfrmTemplateEditor.sbCopyLeftClick┤ │     │   
                                   TfrmTemplateEditor.sbCopyRightClick┤ │     │   
                                  TfrmTemplateEditor.mnuNodePasteClick┘ │     │   
                                         TfrmTemplateEditor.mnuSortClick┤     │   
                                       TfrmTemplateEditor.TemplateLocked┘     │   
                                         TfrmTemplateEditor.FormCreate┘       │   
                                                              SaveAllTemplates┤   
                                            TfrmTemplateEditor.btnApplyClick┤ │   
                                        TfrmTemplateEditor.mnuRefreshClick┘ │ │   
                                               TfrmTemplateEditor.btnOKClick┤ │   
                                           TfrmTemplateEditor.FormCloseQuery┘ │   
                                                                   MarkDeleted┤   
                                                                   ..(rec)..┤ │   
                                         TfrmTemplateEditor.sbDeleteClick...┤ │   
                                                    TfrmTemplateEditor.Clone┘ │   
                                         TfrmTemplateEditor.btnNewClick...┤   │   
                                       TfrmTemplateEditor.edtNameOldChange┤   │   
                                     TfrmTemplateEditor.tvTreeNodeEdited┤ │   │   
                                      TfrmTemplateEditor.mnuAutoGenClick┘ │   │   
                                          TfrmTemplateEditor.cbActiveClick┤   │   
                                         TfrmTemplateEditor.cbExcludeClick┤   │   
                                           TfrmTemplateEditor.edtGapChange┤   │   
                                          TfrmTemplateEditor.sbMoveUpClick┤   │   
                                        TfrmTemplateEditor.sbMoveDownClick┤   │   
                                       TfrmTemplateEditor.sbDeleteClick...┤   │   
                                      TfrmTemplateEditor.tvTreeDragDrop...┤   │   
                                                                 ..(rec)..┤   │   
                                           TfrmTemplateEditor.reBoilChange┤   │   
                                          TfrmTemplateEditor.reNotesChange┤   │   
                                                TfrmTemplateEditor.cbClick┤   │   
                                   TfrmTemplateEditor.cbDisplayOnlyClick┤ │   │   
                                     TfrmTemplateEditor.cbFirstLineClick┤ │   │   
                                   TfrmTemplateEditor.cbOneItemOnlyClick┤ │   │   
                                  TfrmTemplateEditor.cbHideDlgItemsClick┤ │   │   
                                     TfrmTemplateEditor.cbHideItemsClick┤ │   │   
                                        TfrmTemplateEditor.cbIndentClick┤ │   │   
                                          TfrmTemplateEditor.cbLockClick┘ │   │   
                                          TfrmTemplateEditor.cbxTypeChange┤   │   
                                       TfrmTemplateEditor.cbxRemDlgsChange┘   │   
                                                       TTemplate.CreateFromXML┤   
                                                                   ..(rec)..┤ │   
                                           TfrmTemplateEditor.btnNewClick...┘ │   
                                                            TTemplate.AddChild┤   
                                                                 AddTemplate┘ │   
                                                          LoadTemplateData┤   │   
                                          TfrmDrawers.ReloadTemplates...┤ │   │   
                                            TfrmTemplateEditor.InitTrees┘ │   │   
                                         TfrmTemplateEditor.FormCreate┤   │   │   
                                        TfrmTemplateEditor.RefreshData┘   │   │   
                                  TfrmTemplateEditor.mnuRefreshClick┘     │   │   
                                                         ExpandTemplate...┤   │   
                                                         GetLinkedTemplate┤   │   
                                        TfrmDCSumm.mnuActLoadBoilerClick┤ │   │   
                                             TfrmDCSumm.cmdChangeClick┘ │ │   │   
                                            TfrmDCSumm.InsertNewSumm┤   │ │   │   
                                         TfrmDCSumm.mnuActNewClick┤ │   │ │   │   
                                      TfrmDCSumm.cmdNewSummClick┘ │ │   │ │   │   
                                  TfrmDCSumm.mnuActAddIDEntryClick┘ │   │ │   │   
                                           TfrmDCSumm.InsertAddendum┤   │ │   │   
                                      TfrmDCSumm.mnuActAddendClick┘ │   │ │   │   
                                              TfrmDCSumm.LoadForEdit┤   │ │   │   
                                       TfrmDCSumm.InsertNewSumm...┤ │   │ │   │   
                                        TfrmDCSumm.mnuActEditClick┘ │   │ │   │   
                                           TfrmDCSumm.SaveEditedSumm┤   │ │   │   
                                        TfrmDCSumm.SaveCurrentSumm┘ │   │ │   │   
                                   TfrmDCSumm.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┘   │   │   │ │   │   
                                      TfrmDCSumm.LstSummsToPrint┤   │   │ │   │   
                      TfrmFrame.mnuFilePrintSelectedItemsClick┘ │   │   │ │   │   
                                         TfrmDCSumm.RequestPrint┤   │   │ │   │   
                                   TfrmFrame.mnuFilePrintClick┘ │   │   │ │   │   
                                     TfrmDCSumm.InsertNewSumm...┤   │   │ │   │   
                                         TfrmDCSumm.mnuViewClick┤   │   │ │   │   
                                     TfrmDCSumm.SetViewContext┤ │   │   │ │   │   
                                      TfrmDCSumm.DisplayPage┤ │ │   │   │ │   │   
                      TfrmDCSumm.mnuViewReturntoDefaultClick┘ │ │   │   │ │   │   
                          TfrmDCSumm.mnuViewSaveAsDefaultClick┘ │   │   │ │   │   
                                         TfrmDCSumm.StartNewEdit┤   │   │ │   │   
                                  TfrmDCSumm.mnuActNewClick...┤ │   │   │ │   │   
                              TfrmDCSumm.mnuActAddIDEntryClick┤ │   │   │ │   │   
                                  TfrmDCSumm.mnuActAddendClick┤ │   │   │ │   │   
                                    TfrmDCSumm.mnuActEditClick┘ │   │   │ │   │   
                        TfrmDCSumm.mnuActDetachFromIDParentClick┤   │   │ │   │   
                                    TfrmDCSumm.mnuActDeleteClick┤   │   │ │   │   
                                  TfrmDCSumm.SaveEditedSumm...┘ │   │   │ │   │   
                                      TfrmDCSumm.mnuActSaveClick┤   │   │ │   │   
                                      TfrmDCSumm.mnuActSignClick┤   │   │ │   │   
                                         TfrmDCSumm.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┘               │   │   │ │   │   
                                            TfrmDCSumm.FormClose┤   │   │ │   │   
                       TfrmDCSumm.mnuActIdentifyAddlSignersClick┤   │   │ │   │   
                           TfrmDCSumm.popSummMemoAddlSignClick┘ │   │   │ │   │   
                                 TfrmDCSumm.ProcessNotifications┤   │   │ │   │   
                                        TfrmDCSumm.DisplayPage┘ │   │   │ │   │   
                                    TfrmDCSumm.SetViewContext...┤   │   │ │   │   
                                      TfrmDCSumm.tvSummsDragDrop┤   │   │ │   │   
                                     TfrmDCSumm.tvSummsStartDrag┤   │   │ │   │   
                          TfrmDCSumm.mnuActAttachtoIDParentClick┘   │   │ │   │   
                                        TfrmDCSumm.mnuActChangeClick┘   │ │   │   
                                      TfrmConsults.mnuActLoadBoilerClick┤ │   │   
                                           TfrmConsults.cmdChangeClick┘ │ │   │   
                                        TfrmConsults.CompleteConsult┤   │ │   │   
                                  TfrmConsults.mnuActCompleteClick┤ │   │ │   │   
                                TfrmConsults.mnuActAddIDEntryClick┘ │   │ │   │   
                                         TfrmConsults.InsertAddendum┤   │ │   │   
                              TfrmConsults.mnuActMakeAddendumClick┘ │   │ │   │   
                                            TfrmConsults.LoadForEdit┤   │ │   │   
                                  TfrmConsults.mnuActNoteEditClick┘ │   │ │   │   
                                TfrmConsults.mnuActCompleteClick┘   │   │ │   │   
                                      TfrmConsults.SaveEditedConsult┤   │ │   │   
                                      TfrmConsults.SaveCurrentNote┘ │   │ │   │   
                                 TfrmConsults.AllowContextChange┤   │   │ │   │   
                            TfrmFrame.AllowContextChangeAll...┘ │   │   │ │   │   
                                     TfrmConsults.SetViewContext┤   │   │ │   │   
                                      TfrmConsults.DisplayPage┤ │   │   │ │   │   
                      TfrmConsults.mnuViewReturntoDefaultClick┘ │   │   │ │   │   
                                       TfrmConsults.mnuViewClick┤   │   │ │   │   
                                TfrmConsults.SetViewContext...┘ │   │   │ │   │   
                      TfrmConsults.mnuActDetachFromIDParentClick┤   │   │ │   │   
                              TfrmConsults.mnuActNoteDeleteClick┤   │   │ │   │   
                             TfrmConsults.SaveEditedConsult...┘ │   │   │ │   │   
                           TfrmConsults.mnuActSignatureSaveClick┤   │   │ │   │   
                           TfrmConsults.mnuActSignatureSignClick┤   │   │ │   │   
                                       TfrmConsults.SaveSignItem┤   │   │ │   │   
                                      TfrmReview.cmdOKClick...┘ │   │   │ │   │   
                                 TfrmConsults.mnuActConsultClick┤   │   │ │   │   
                                       TfrmConsults.RequestPrint┤   │   │ │   │   
                            TfrmConsults.mnuActPrintSF513Click┤ │   │   │ │   │   
                                   TfrmFrame.mnuFilePrintClick┘ │   │   │ │   │   
                          TfrmConsults.mnuActDisplayResultsClick┤   │   │ │   │   
                             TfrmConsults.ProcessNotifications┘ │   │   │ │   │   
                                    TfrmConsults.DisplayPage┘   │   │   │ │   │   
                            TfrmConsults.mnuActDisplaySF513Click┤   │   │ │   │   
                              TfrmConsults.mnuActPrintSF513Click┤   │   │ │   │   
                          TfrmConsults.mnuActDisplayDetailsClick┤   │   │ │   │   
                                          TfrmConsults.FormClose┤   │   │ │   │   
                     TfrmConsults.mnuActIdentifyAddlSignersClick┤   │   │ │   │   
                         TfrmConsults.popNoteMemoAddlSignClick┘ │   │   │ │   │   
                            TfrmConsults.ProcessNotifications...┤   │   │ │   │   
                               TfrmConsults.mnuActNotePrintClick┤   │   │ │   │   
                            TfrmConsults.popNoteMemoPrintClick┘ │   │   │ │   │   
                                       TfrmConsults.StartNewEdit┤   │   │ │   │   
                              TfrmConsults.mnuActCompleteClick┤ │   │   │ │   │   
                            TfrmConsults.mnuActAddIDEntryClick┤ │   │   │ │   │   
                          TfrmConsults.mnuActMakeAddendumClick┤ │   │   │ │   │   
                           TfrmConsults.mnuActNoteEditClick...┘ │   │   │ │   │   
                                TfrmConsults.tvCsltNotesDragDrop┤   │   │ │   │   
                               TfrmConsults.tvCsltNotesStartDrag┤   │   │ │   │   
                        TfrmConsults.mnuActAttachtoIDParentClick┤   │   │ │   │   
                                 TfrmConsults.LstConsultsToPrint┘   │   │ │   │   
                      TfrmFrame.mnuFilePrintSelectedItemsClick┘     │   │ │   │   
                                      TfrmConsults.mnuActChangeClick┘   │ │   │   
                                            ExecuteTemplateOrBoilerPlate┤ │   │   
                                          TfrmTemplateEditor.cbxLinkExit┤ │   │   
                                       TfrmSurgery.mnuActLoadBoilerClick┤ │   │   
                                            TfrmSurgery.cmdChangeClick┘ │ │   │   
                                           TfrmSurgery.InsertNewNote┤   │ │   │   
                                        TfrmSurgery.mnuActNewClick┘ │   │ │   │   
                                     TfrmSurgery.cmdNewNoteClick┘   │   │ │   │   
                                          TfrmSurgery.InsertAddendum┤   │ │   │   
                                     TfrmSurgery.mnuActAddendClick┘ │   │ │   │   
                                             TfrmSurgery.LoadForEdit┤   │ │   │   
                                       TfrmSurgery.mnuActEditClick┘ │   │ │   │   
                                       TfrmSurgery.mnuActChangeClick┘   │ │   │   
                                         TfrmNotes.mnuActLoadBoilerClick┘ │   │   
                                              TfrmNotes.cmdChangeClick┘   │   │   
                                             TfrmNotes.InsertNewNote┤     │   │   
                                          TfrmNotes.mnuActNewClick┤ │     │   │   
                                       TfrmNotes.cmdNewNoteClick┘ │ │     │   │   
                                   TfrmNotes.mnuActAddIDEntryClick┘ │     │   │   
                                            TfrmNotes.InsertAddendum┤     │   │   
                                       TfrmNotes.mnuActAddendClick┘ │     │   │   
                                               TfrmNotes.LoadForEdit┤     │   │   
                                         TfrmNotes.mnuActEditClick┘ │     │   │   
                                         TfrmNotes.mnuActChangeClick┤     │   │   
                                          TfrmNotes.UpdateNoteAuthor┘     │   │   
                                        TfrmNotes.InsertNewNote...┤       │   │   
                                                  AssignBoilerText┤       │   │   
                              TfrmNotes.mnuActLoadBoilerClick...┘ │       │   │   
                                TfrmNotes.mnuActLoadBoilerClick...┘       │   │   
                                           TfrmTemplateEditor.InitTrees...┘   │   
                                                         TTemplate.RemoveChild┤   
                                         TfrmTemplateEditor.sbDeleteClick...┘ │   
                                                     TTemplate.ItemBoilerplate┤   
                                                   TTemplate.FullBoilerplate┘ │   
                                                         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┤ │   │   
                                    TfrmDCSumm.popSummMemoPreviewClick┤ │ │   │   
                                  TfrmConsults.popNoteMemoPreviewClick┤ │ │   │   
                                   TfrmSurgery.popNoteMemoPreviewClick┤ │ │   │   
                                     TfrmNotes.popNoteMemoPreviewClick┘ │ │   │   
                                        TfrmDrawers.mnuCopyTemplateClick┤ │   │   
                                        TfrmTemplateEditor.mnuBPTryClick┘ │   │   
                                      TfrmTemplateEditor.tvTreeKeyDown┘   │   │   
                                     TfrmTemplateEditor.DisplayBoilerplate┤   │   
                                             TfrmTemplateEditor.ShowInfo┤ │   │   
                                                      EditTemplates...┤ │ │   │   
                                       TfrmTemplateEditor.tvTreeChange┤ │ │   │   
                                    TfrmTemplateEditor.cbActiveClick┤ │ │ │   │   
                                      TfrmTemplateEditor.tvTreeEnter┤ │ │ │   │   
                                 TfrmTemplateEditor.cbShHideClick...┤ │ │ │   │   
                                TfrmTemplateEditor.cbPerHideClick...┤ │ │ │   │   
                                 TfrmTemplateEditor.sbDeleteClick...┤ │ │ │   │   
                                        TfrmTemplateEditor.Resync...┤ │ │ │   │   
                                    TfrmTemplateEditor.SharedEditing┤ │ │ │   │   
                                     TfrmTemplateEditor.FormCreate┤ │ │ │ │   │   
                              TfrmTemplateEditor.cbEditSharedClick┘ │ │ │ │   │   
                                    TfrmTemplateEditor.cbxTypeChange┘ │ │ │   │   
                                       TfrmTemplateEditor.reBoilChange┤ │ │   │   
                                    TfrmTemplateEditor.mnuAutoGenClick┤ │ │   │   
                             TfrmTemplateEditor.mnuImportTemplateClick┘ │ │   │   
                                         TfrmTemplateEditor.edtGapChange┘ │   │   
                                           TfrmTemplateEditor.reBoilChange┘   │   
                                                    TTemplate.SetPersonalOwner┤   
                                                                   ..(rec)..┤ │   
                                        TfrmTemplateEditor.tvTreeDragDrop...┘ │   
                                                               TTemplate.Clone┤   
                                                 TfrmTemplateEditor.Clone...┘ │   
                                                            TTemplate.ItemIENs┤   
                                                           ExpandTemplate...┤ │   
                                                         SaveAllTemplates...┤ │   
                                                       TTemplate.BackupItems┤ │   
                                                TTemplate.CreateFromXML...┤ │ │   
                                                        TTemplate.Clone...┤ │ │   
                                         TfrmTemplateEditor.btnNewClick...┘ │ │   
                                                       TTemplate.ClearBackup┤ │   
                                                              SaveTemplate┤ │ │   
                                                     SaveAllTemplates...┤ │ │ │   
                                         TfrmTemplateEditor.InitTrees...┘ │ │ │   
                                                               ClearBackup┘ │ │   
                                                        ReleaseTemplates┤   │ │   
                                                 TdmodShared.Reload...┤ │   │ │   
                                               uTemplates.finalization┤ │   │ │   
                                     TfrmTemplateEditor.RefreshData...┘ │   │ │   
                                           TfrmTemplateEditor.FormCreate┤   │ │   
                                          TfrmTemplateEditor.FormDestroy┘   │ │   
                                                           TTemplate.Changed┘ │   
                                                             BackupDiffers┤   │   
                                     TfrmTemplateEditor.btnApplyClick...┤ │   │   
                                           TfrmTemplateEditor.FormCreate┤ │   │   
                                           TfrmTemplateEditor.btnOKClick┤ │   │   
                                       TfrmTemplateEditor.FormCloseQuery┘ │   │   
                                                           SaveTemplate...┤   │   
                                            TfrmTemplateEditor.UpdateApply┘   │   
                                  TfrmTemplateEditor.edtNameOldChange...┤     │   
                                        TfrmTemplateEditor.cbActiveClick┤     │   
                                       TfrmTemplateEditor.cbExcludeClick┤     │   
                                         TfrmTemplateEditor.edtGapChange┤     │   
                                        TfrmTemplateEditor.reNotesChange┤     │   
                                           TfrmTemplateEditor.cbClick...┤     │   
                                        TfrmTemplateEditor.cbxTypeChange┤     │   
                                     TfrmTemplateEditor.cbxRemDlgsChange┤     │   
                                      TfrmTemplateEditor.cbxCOMObjChange┤     │   
                                    TfrmTemplateEditor.edtCOMParamChange┤     │   
                                          TfrmTemplateEditor.cbxLinkExit┘     │   
                                                        TTemplate.SortChildren┤   
                                             TfrmTemplateEditor.mnuSortClick┘ │   
                                                        TTemplate.CanExportXML┤   
                                                                   ..(rec)..┤ │   
                                   TfrmTemplateEditor.mnuExportTemplateClick┘ │   
                                            TTemplate.UpdateImportedFieldNames┤   
                                                                   ..(rec)..┤ │   
                                   TfrmTemplateEditor.mnuImportTemplateClick┘ │   
                                                      TTemplate.AssignFileLink┤   
                                                                   ..(rec)..┤ │   
                                                       TTemplate.SetFileLink┘ │   
                                                            MarkDeleted...┤   │   
                                                     TTemplate.SetRealType┤   │   
                                               TTemplate.SetTemplateType┤ │   │   
                                        TfrmTemplateEditor.cbxTypeChange┘ │   │   
                                               TTemplate.SetReminderDialog┤   │   
                                             TTemplate.AssignFileLink...┤ │   │   
                                     TfrmTemplateEditor.cbxRemDlgsChange┘ │   │   
                                            TfrmTemplateEditor.cbxLinkExit┘   │   
                                             TfrmTemplateEditor.btnNewClick...┤   
                                              TfrmTemplateEditor.sbMoveUpClick┤   
                                            TfrmTemplateEditor.sbMoveDownClick┤   
                                          TfrmTemplateEditor.tvTreeDragDrop...┤   
                                                  TfrmTemplateEditor.AllowMove┤   
                                        TfrmTemplateEditor.EnableNavControls┤ │   
                                         TfrmTemplateEditor.EnableControls┤ │ │   
                                      TfrmTemplateEditor.tvTreeChange...┘ │ │ │   
                                          TfrmTemplateEditor.cbActiveClick┤ │ │   
                                       TfrmTemplateEditor.cbShHideClick...┤ │ │   
                                      TfrmTemplateEditor.cbPerHideClick...┤ │ │   
                                              TfrmTemplateEditor.Resync...┘ │ │   
                                           TfrmTemplateEditor.tvTreeDragOver┤ │   
                                        TfrmTemplateEditor.tvTreeDragDrop...┤ │   
                                                  TfrmTemplateEditor.PasteOK┘ │   
                                      TfrmTemplateEditor.popTemplatesPopup┤   │   
                                      TfrmTemplateEditor.mnuNodePasteClick┤   │   
                                       TfrmTemplateEditor.mnuTemplateClick┘   │   
                                                   TfrmTemplateEditor.Clone...┘   

Calls

Name Declaration Comments
AddTemplate function AddTemplate(DataString: string; Owner: TTemplate = nil): TTemplate; -
TTemplate.GetChildren function GetChildren: TTemplateChildren; -
GetTemplateChildren procedure GetTemplateChildren(ID: string); -
TTemplate.ItemIENs function ItemIENs: string; -

Called-By

Name Declaration Comments
TdmodShared.ExpandNode function ExpandNode(Tree: TTreeView; Node: TTreeNode; var EmptyCount: integer; AllowInactive: boolean = FALSE): boolean; -
TTemplate.GetItems function GetItems: TList; -


Source

559   procedure ExpandTemplate(tmpl: TTemplate);
560   var
561     i: integer;
562     TmpSL: TStringList;
563   
564   begin
565     if(not tmpl.Expanded) then
566     begin
567       if(tmpl.Children <> tcNone) then
568       begin
569         StatusText(sLoading);
570         try
571           TmpSL := TStringList.Create;
572           try
573             GetTemplateChildren(tmpl.FID);
574             FastAssign(RPCBrokerV.Results, TmpSL);
575             for i := 0 to TmpSL.Count-1 do
576               AddTemplate(TmpSL[i], tmpl);
577           finally
578             TmpSL.Free;
579           end;
580         finally
581           StatusText('');
582         end;
583       end;
584       tmpl.Expanded := TRUE;
585       with tmpl,tmpl.FBkup do
586       begin
587         BItemIENs := ItemIENs;
588         SavedItemIENs := TRUE;
589       end;
590     end;
591   end;