Procedure

SetText

Module

rTIU

Last Modified

7/15/2014 3:26:44 PM

Scope

Interfaced

Declaration

procedure SetText(var ErrMsg: string; NoteText: TStrings; NoteIEN: Int64; Suppress: Integer);

Calls Hierarchy


SetText
 └InitParams

Called-By Hierarchy


                                                                 SetText
                                                            PutNewNote┤ 
                                        TfrmConsults.CompleteConsult┤ │ 
                                  TfrmConsults.mnuActCompleteClick┤ │ │ 
                                TfrmConsults.mnuActAddIDEntryClick┘ │ │ 
                                           TfrmSurgery.InsertNewNote┤ │ 
                                        TfrmSurgery.mnuActNewClick┘ │ │ 
                                     TfrmSurgery.cmdNewNoteClick┘   │ │ 
                                             TfrmNotes.InsertNewNote┘ │ 
                                          TfrmNotes.mnuActNewClick┤   │ 
                                       TfrmNotes.cmdNewNoteClick┘ │   │ 
                                   TfrmNotes.mnuActAddIDEntryClick┘   │ 
                                                           PutAddendum┤ 
                                         TfrmConsults.InsertAddendum┤ │ 
                              TfrmConsults.mnuActMakeAddendumClick┘ │ │ 
                                          TfrmSurgery.InsertAddendum┤ │ 
                                     TfrmSurgery.mnuActAddendClick┘ │ │ 
                                            TfrmNotes.InsertAddendum┘ │ 
                                       TfrmNotes.mnuActAddendClick┘   │ 
                                                         PutEditedNote┤ 
                                      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.DisplayPage┤ │   │ │ 
                      TfrmConsults.mnuViewReturntoDefaultClick┘ │   │ │ 
                                       TfrmConsults.mnuViewClick┤   │ │ 
                                TfrmConsults.SetViewContext...┘ │   │ │ 
                      TfrmConsults.mnuActDetachFromIDParentClick┤   │ │ 
                              TfrmConsults.mnuActNoteDeleteClick┤   │ │ 
                             TfrmConsults.SaveEditedConsult...┘ │   │ │ 
                           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.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.mnuActCompleteClick┘   │   │ │ 
                                TfrmConsults.tvCsltNotesDragDrop┤   │ │ 
                               TfrmConsults.tvCsltNotesStartDrag┤   │ │ 
                        TfrmConsults.mnuActAttachtoIDParentClick┤   │ │ 
                                 TfrmConsults.LstConsultsToPrint┘   │ │ 
                      TfrmFrame.mnuFilePrintSelectedItemsClick┘     │ │ 
                                          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.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┘     │ │ 
                                            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┘     │ 
                                                          PutNewDCSumm┤ 
                                            TfrmDCSumm.InsertNewSumm┘ │ 
                                         TfrmDCSumm.mnuActNewClick┤   │ 
                                      TfrmDCSumm.cmdNewSummClick┘ │   │ 
                                  TfrmDCSumm.mnuActAddIDEntryClick┘   │ 
                                                         PutDCAddendum┤ 
                                           TfrmDCSumm.InsertAddendum┘ │ 
                                      TfrmDCSumm.mnuActAddendClick┘   │ 
                                                       PutEditedDCSumm┤ 
                                           TfrmDCSumm.SaveEditedSumm┘ │ 
                                        TfrmDCSumm.SaveCurrentSumm┘   │ 
                                   TfrmDCSumm.AllowContextChange┤     │ 
                            TfrmFrame.AllowContextChangeAll...┘ │     │ 
                                      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...┘ │     │ 
                                            TfrmDCSumm.FormClose┤     │ 
                       TfrmDCSumm.mnuActIdentifyAddlSignersClick┤     │ 
                           TfrmDCSumm.popSummMemoAddlSignClick┘ │     │ 
                                 TfrmDCSumm.ProcessNotifications┤     │ 
                                        TfrmDCSumm.DisplayPage┘ │     │ 
                                    TfrmDCSumm.SetViewContext...┤     │ 
                                      TfrmDCSumm.tvSummsDragDrop┤     │ 
                                     TfrmDCSumm.tvSummsStartDrag┤     │ 
                          TfrmDCSumm.mnuActAttachtoIDParentClick┘     │ 
                                                 TfrmDCSumm.DoAutoSave┤ 
                                    TfrmDCSumm.popSummMemoSpellClick┤ │ 
                                  TfrmDCSumm.popSummMemoGrammarClick┤ │ 
                                         TfrmDCSumm.timAutoSaveTimer┤ │ 
                             TfrmDCSumm.popSummMemoSaveContinueClick┘ │ 
                                               TfrmConsults.DoAutoSave┤ 
                                  TfrmConsults.popNoteMemoSpellClick┤ │ 
                                TfrmConsults.popNoteMemoGrammarClick┤ │ 
                                       TfrmConsults.timAutoSaveTimer┤ │ 
                           TfrmConsults.popNoteMemoSaveContinueClick┘ │ 
                                                TfrmSurgery.DoAutoSave┤ 
                                        TfrmSurgery.timAutoSaveTimer┤ │ 
                            TfrmSurgery.popNoteMemoSaveContinueClick┤ │ 
                                   TfrmSurgery.popNoteMemoSpellClick┤ │ 
                                 TfrmSurgery.popNoteMemoGrammarClick┘ │ 
                                                  TfrmNotes.DoAutoSave┘ 
                                          TfrmNotes.timAutoSaveTimer┤   
                              TfrmNotes.popNoteMemoSaveContinueClick┤   
                                     TfrmNotes.popNoteMemoSpellClick┤   
                                   TfrmNotes.popNoteMemoGrammarClick┘   

Calls

Name Declaration Comments
InitParams procedure InitParams(NoteIEN: Int64; Suppress: Integer); -

Called-By

Name Declaration Comments
TfrmDCSumm.DoAutoSave procedure DoAutoSave(Suppress: integer = 1); -
TfrmConsults.DoAutoSave procedure DoAutoSave(Suppress: integer = 1); -
TfrmSurgery.DoAutoSave procedure DoAutoSave(Suppress: integer = 1); -
TfrmNotes.DoAutoSave procedure DoAutoSave(Suppress: integer = 1); -
PutAddendum procedure PutAddendum(var CreatedDoc: TCreatedDoc; const NoteRec: TNoteRec; AddendumTo: Integer); -
PutDCAddendum procedure PutDCAddendum(var CreatedDoc: TCreatedDoc; const DCSummRec: TDCSummRec; AddendumTo: Integer); -
PutEditedDCSumm procedure PutEditedDCSumm(var UpdatedDoc: TCreatedDoc; const DCSummRec: TDCSummRec; NoteIEN: Integer); -
PutEditedNote procedure PutEditedNote(var UpdatedDoc: TCreatedDoc; const NoteRec: TNoteRec; NoteIEN: Integer); -
PutNewDCSumm procedure PutNewDCSumm(var CreatedDoc: TCreatedDoc; const DCSummRec: TDCSummRec); -
PutNewNote procedure PutNewNote(var CreatedDoc: TCreatedDoc; const NoteRec: TNoteRec); -


Source

851   procedure SetText(var ErrMsg: string; NoteText: TStrings; NoteIEN: Int64; Suppress: Integer);
852   const
853     DOCUMENT_PAGE_SIZE = 300;
854     TX_SERVER_ERROR = 'An error occurred on the server.' ;
855   var
856     i, j, page, pages: Integer;
857   begin
858     // Compute pages, initialize Params
859     pages := ( NoteText.Count div DOCUMENT_PAGE_SIZE );
860     if (NoteText.Count mod DOCUMENT_PAGE_SIZE) > 0 then pages := pages + 1;
861     page := 1;
862     InitParams( NoteIEN, Suppress );
863     // Loop through NoteRec.Lines
864     for i := 0 to NoteText.Count - 1 do
865     begin
866       j := i + 1;
867       //Add each successive line to Param[1].Mult...
868       RPCBrokerV.Param[1].Mult['"TEXT",' + IntToStr(j) + ',0'] := FilteredString(NoteText[i]);
869       // When current page is filled, call broker, increment page, itialize params,
870       // and continue...
871       if ( j mod DOCUMENT_PAGE_SIZE ) = 0 then
872       begin
873         RPCBrokerV.Param[1].Mult['"HDR"'] := IntToStr(page) + U + IntToStr(pages);
874         CallBroker;
875         if RPCBrokerV.Results.Count > 0 then
876           ErrMsg := Piece(RPCBrokerV.Results[0], U, 4)
877         else
878           ErrMsg := TX_SERVER_ERROR;
879         if ErrMsg <> '' then Exit;
880         page := page + 1;
881         InitParams( NoteIEN, Suppress );
882       end; // if
883     end;   // for
884     // finally, file any remaining partial page
885     if ( NoteText.Count mod DOCUMENT_PAGE_SIZE ) <> 0 then
886     begin
887       RPCBrokerV.Param[1].Mult['"HDR"'] := IntToStr(page) + U + IntToStr(pages);
888       CallBroker;
889       if RPCBrokerV.Results.Count > 0 then
890         ErrMsg := Piece(RPCBrokerV.Results[0], U, 4)
891       else
892         ErrMsg := TX_SERVER_ERROR;
893     end;
894   end;