Function

AreTemplateFieldsRequired

Module

uTemplateFields

Last Modified

3/11/2015 8:41:54 AM

Scope

Interfaced

Declaration

function AreTemplateFieldsRequired(const Text: string; FldValues: TORStringList =  nil): boolean;

Calls Hierarchy


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

Called-By Hierarchy


                                                                           AreTemplateFieldsRequired
                                                                 TfrmTemplateDialog.FormCloseQuery┤ 
                                                                    TReminderDialog.FinishProblems┘ 
                                                                      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┘     │ │   
                                                       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┘         │ │   
                                                                      TfrmRemDlg.btnClearClick┤ │   
                                                         TfrmRemDlg.ProcessReminderFromNodeStr┘ │   
                                                                     TfrmRemDlg.btnNextClick┤   │   
                                                                     TfrmRemDlg.btnBackClick┘   │   
                                                                       TfrmRemDlg.btnFinishClick┘   

Calls

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

Called-By

Name Declaration Comments
TReminderDialog.FinishProblems procedure FinishProblems(List: TStrings; var MissingTemplateFields: boolean); -
TfrmTemplateDialog.FormCloseQuery procedure FormCloseQuery(Sender: TObject; var CanClose: Boolean); -


Source

557   function AreTemplateFieldsRequired(const Text: string; FldValues: TORStringList =  nil): boolean;
558   var
559     flen, CtrlID, i, j: integer;
560     Entry: TTemplateDialogEntry;
561     Fld: TTemplateField;
562     Temp, NewTxt, FldName: string;
563     FoundEntry: boolean;
564   
565   begin
566     if(not assigned(uEntries)) then
567       uEntries := TStringList.Create;
568     Temp := Text;
569     Result := FALSE;
570     repeat
571       i := pos(TemplateFieldBeginSignature, Temp);
572       if(i > 0) then
573       begin
574         CtrlID := 0;
575         if(copy(Temp, i + TemplateFieldSignatureLen, 1) = FieldIDDelim) then
576         begin
577           CtrlID := StrToIntDef(copy(Temp, i + TemplateFieldSignatureLen + 1, FieldIDLen-1), 0);
578           delete(Temp,i + TemplateFieldSignatureLen, FieldIDLen);
579         end;
580         j := pos(TemplateFieldEndSignature, copy(Temp, i + TemplateFieldSignatureLen, MaxInt));
581         if(j > 0) then
582         begin
583           inc(j, i + TemplateFieldSignatureLen - 1);
584           flen := j - i - TemplateFieldSignatureLen;
585           FldName := copy(Temp, i + TemplateFieldSignatureLen, flen);
586           Fld := GetTemplateField(FldName, FALSE);
587           delete(Temp,i,flen + TemplateFieldSignatureLen + 1);
588         end
589         else
590         begin
591           delete(Temp,i,TemplateFieldSignatureLen);
592           Fld := nil;
593         end;
594         if(CtrlID > 0) and (assigned(Fld)) and (Fld.Required) then
595         begin
596           FoundEntry := FALSE;
597           for j := 0 to uEntries.Count-1 do
598           begin
599             Entry := TTemplateDialogEntry(uEntries.Objects[j]);
600             if(assigned(Entry)) then
601             begin
602               NewTxt := Entry.GetControlText(CtrlID, TRUE, FoundEntry, FALSE);
603               if FoundEntry and (NewTxt = '') then{(Trim(NewTxt) = '') then //CODE ADDED BACK IN - ZZZZZZBELLC}
604                 Result := TRUE;
605             end;
606             if FoundEntry then break;
607           end;
608           if (not FoundEntry) and assigned(FldValues) then
609           begin
610             j := FldValues.IndexOfPiece(IntToStr(CtrlID));
611             if(j < 0) or (Piece(FldValues[j],U,2) = '') then
612               Result := TRUE;
613           end;
614         end;
615       end;
616     until((i = 0) or Result);
617   end;