Function

TResponses.NextInstance

Module

fODBase

Last Modified

7/15/2014 3:26:40 PM

Visibility

Public

Owner

TResponses

Declaration

function NextInstance(const APromptID: string; LastInstance: Integer): Integer;

Called-By Hierarchy


                                   TResponses.NextInstance
                                 TResponses.GetOrderText┤ 
                              TfrmODMisc.ControlChange┤ │ 
                              TfrmODMisc.SetupDialog┘ │ │ 
                               TfrmODGen.ControlChange┤ │ 
                               TfrmODGen.SetupDialog┤ │ │ 
                             TfrmODGen.PlaceDateTime┤ │ │ 
                           TfrmODGen.PlaceControls┘ │ │ │ 
                          TfrmODGen.SetDialogIEN┘   │ │ │ 
                         TfrmODGen.SetupDialog┘     │ │ │ 
                             TfrmODGen.PlaceFreeText┤ │ │ 
                        TfrmODGen.PlaceControls...┘ │ │ │ 
                              TfrmODGen.PlaceNumeric┤ │ │ 
                        TfrmODGen.PlaceControls...┘ │ │ │ 
                           TfrmODGen.PlaceSetOfCodes┤ │ │ 
                        TfrmODGen.PlaceControls...┘ │ │ │ 
                                TfrmODGen.PlaceYesNo┤ │ │ 
                        TfrmODGen.PlaceControls...┘ │ │ │ 
                               TfrmODGen.PlaceLookup┤ │ │ 
                        TfrmODGen.PlaceControls...┘ │ │ │ 
                                 TfrmODGen.PlaceMemo┘ │ │ 
                        TfrmODGen.PlaceControls...┘   │ │ 
                             TfrmODMedIn.ControlChange┤ │ 
                             TfrmODMedIn.SetupDialog┤ │ │ 
                     TfrmODMedIn.cboMedicationSelect┘ │ │ 
                          TfrmODMedIn.CheckFormAlt┘   │ │ 
                     TfrmODMedIn.cboDispenseExit┤     │ │ 
               TfrmODMedIn.cboDispenseMouseClick┘     │ │ 
            TfrmODMedIn.cboMedicationSelect...┘       │ │ 
                          TfrmODMedOut.SetInstructions┤ │ 
                            TfrmODMedOut.SetupDialog┤ │ │ 
                    TfrmODMedOut.cboMedicationSelect┤ │ │ 
                         TfrmODMedOut.CheckFormAlt┘ │ │ │ 
                    TfrmODMedOut.cboDispenseExit┤   │ │ │ 
              TfrmODMedOut.cboDispenseMouseClick┘   │ │ │ 
           TfrmODMedOut.cboMedicationSelect...┘     │ │ │ 
                        TfrmODMedOut.cmdComplexClick┘ │ │ 
                            TfrmODMedOut.ControlChange┤ │ 
                            TfrmODMedOut.SetupDialog┤ │ │ 
                 TfrmODMedOut.cboMedicationSelect...┘ │ │ 
                              TfrmODText.ControlChange┤ │ 
                              TfrmODProc.ControlChange┤ │ 
                              TfrmODProc.SetupDialog┤ │ │ 
                        TfrmODProc.radInpatientClick┤ │ │ 
                       TfrmODProc.radOutpatientClick┤ │ │ 
                            TfrmODProc.cboProcSelect┤ │ │ 
                            TfrmODProc.memReasonExit┤ │ │ 
                 TfrmODProc.SetProvDiagPromptingMode┤ │ │ 
                             TfrmODProc.InitDialog┤ │ │ │ 
                           TfrmODProc.FormCreate┤ │ │ │ │ 
                        TfrmODProc.cboProcSelect┘ │ │ │ │ 
                            TfrmODProc.SetupDialog┤ │ │ │ 
                          TfrmODProc.cboProcSelect┤ │ │ │ 
                    TfrmODProc.ReadServerVariables┘ │ │ │ 
                           TfrmODProc.FormCreate┤   │ │ │ 
                          TfrmODProc.SetupDialog┘   │ │ │ 
                         TfrmODProc.cboServiceChange┤ │ │ 
                  TfrmODProc.mnuPopProvDxDeleteClick┤ │ │ 
                        TfrmODProc.txtProvDiagChange┘ │ │ 
                              TfrmODCslt.ControlChange┤ │ 
                              TfrmODCslt.SetupDialog┤ │ │ 
                        TfrmODCslt.radInpatientClick┤ │ │ 
                       TfrmODCslt.radOutpatientClick┤ │ │ 
                         TfrmODCslt.treServiceChange┤ │ │ 
                      TfrmODCslt.treServiceKeyDown┘ │ │ │ 
                            TfrmODCslt.memReasonExit┤ │ │ 
                         TfrmODCslt.cboServiceSelect┤ │ │ 
                         TfrmODCslt.cboServiceExit┘ │ │ │ 
                 TfrmODCslt.SetProvDiagPromptingMode┤ │ │ 
                             TfrmODCslt.InitDialog┤ │ │ │ 
                           TfrmODCslt.FormCreate┘ │ │ │ │ 
                            TfrmODCslt.SetupDialog┤ │ │ │ 
                    TfrmODCslt.treServiceChange...┤ │ │ │ 
                    TfrmODCslt.cboServiceSelect...┤ │ │ │ 
                    TfrmODCslt.ReadServerVariables┘ │ │ │ 
                          TfrmODCslt.SetupDialog┘   │ │ │ 
                  TfrmODCslt.mnuPopProvDxDeleteClick┤ │ │ 
                        TfrmODCslt.txtProvDiagChange┘ │ │ 
                               TfrmODRad.ControlChange┤ │ 
                               TfrmODRad.SetupDialog┤ │ │ 
                                TfrmODRad.InitDialog┤ │ │ 
                             TfrmODRad.SetupDialog┤ │ │ │ 
                         TfrmODRad.ImageTypeChange┘ │ │ │ 
                         TfrmODRad.cboImTypeExit┤   │ │ │ 
                TfrmODRad.cboImTypeDropDownClose┘   │ │ │ 
                     TfrmODRad.cboAvailModMouseClick┤ │ │ 
                      TfrmODRad.cboAvailModKeyDown┘ │ │ │ 
                            TfrmODRad.cmdRemoveClick┤ │ │ 
                        TfrmODRad.cboProcedureSelect┤ │ │ 
                        TfrmODRad.cboProcedureExit┘ │ │ │ 
                         TfrmODRad.cboCategoryChange┤ │ │ 
                            TfrmODRad.memHistoryExit┤ │ │ 
                            TfrmODRad.calPreOpChange┘ │ │ 
                               TfrmODLab.ControlChange┤ │ 
                               TfrmODLab.SetupDialog┤ │ │ 
                                  TfrmODLab.Validate┤ │ │ 
                        TfrmODLab.cboAvailTestSelect┤ │ │ 
                             TfrmODLab.SetupDialog┤ │ │ │ 
                        TfrmODLab.cboAvailTestExit┘ │ │ │ 
                         TfrmODLab.cboCollSampChange┤ │ │ 
                             TfrmODLab.SetupDialog┤ │ │ │ 
                   TfrmODLab.cboAvailTestSelect...┘ │ │ │ 
                          TfrmODLab.cboUrgencyChange┤ │ │ 
                         TfrmODLab.cboSpecimenChange┤ │ │ 
                         TfrmODLab.cboCollTimeChange┤ │ │ 
                        TfrmODLab.cboFrequencyChange┤ │ │ 
                             TfrmODLab.SetupDialog┤ │ │ │ 
                   TfrmODLab.cboAvailTestSelect...┘ │ │ │ 
                         TfrmODLab.cboCollTypeChange┤ │ │ 
                       TfrmODLab.txtOrderCommentExit┤ │ │ 
                      TfrmODLab.txtAntiCoagulantExit┤ │ │ 
                        TfrmODLab.txtUrineVolumeExit┤ │ │ 
                        TfrmODLab.grpPeakTroughClick┤ │ │ 
                      TfrmODLab.txtAddlCommentExit┘ │ │ │ 
                           TfrmODLab.txtDoseTimeExit┤ │ │ 
                           TfrmODLab.txtDrawTimeExit┤ │ │ 
                       TfrmODLab.cboCollSampKeyPause┤ │ │ 
                     TfrmODLab.cboCollSampMouseClick┤ │ │ 
                           TfrmODLab.cboCollTimeExit┤ │ │ 
                     TfrmODLab.cboSpecimenMouseClick┤ │ │ 
                       TfrmODLab.cboSpecimenKeyPause┘ │ │ 
                        TfrmODLab.DisplayChangedOrders┤ │ 
                                  TfrmODLab.Validate┘ │ │ 
                               TfrmODBBank.SetupDialog┤ │ 
                           TfrmODBBank.SetOnQuickOrder┤ │ 
                           TfrmODBBank.cboQuickClick┘ │ │ 
                          TfrmODBBank.cboReasonsChange┤ │ 
                        TfrmODBBank.cboAvailTestSelect┤ │ 
                             TfrmODBBank.SetupDialog┤ │ │ 
                        TfrmODBBank.cboAvailTestExit┘ │ │ 
                        TfrmODBBank.cboAvailCompSelect┤ │ 
                        TfrmODBBank.cboAvailCompExit┘ │ │ 
                        TfrmODBBank.cboModifiersChange┤ │ 
                      TfrmODBBank.memDiagCommentChange┤ │ 
                            TfrmODBBank.btnRemoveClick┤ │ 
                             TfrmODBBank.SetupDialog┤ │ │ 
                      TfrmODBBank.SetOnQuickOrder...┘ │ │ 
                    TfrmODBBank.btnUpdateCommentsClick┤ │ 
                         TfrmODBBank.calWantTimeChange┤ │ 
                           TfrmODBBank.chkConsentClick┤ │ 
                          TfrmODBBank.cboUrgencyChange┤ │ 
                             TfrmODBBank.SetupDialog┤ │ │ 
                      TfrmODBBank.SetOnQuickOrder...┘ │ │ 
                          TfrmODBBank.cboSurgeryChange┤ │ 
                             TfrmODBBank.SetupDialog┤ │ │ 
                      TfrmODBBank.SetOnQuickOrder...┤ │ │ 
                   TfrmODBBank.cboAvailCompSelect...┤ │ │ 
                         TfrmODBBank.tQuantityChange┘ │ │ 
                           TfrmODBBank.tQuantityChange┤ │ 
                         TfrmODBBank.calCollTimeChange┤ │ 
                       TfrmODBBank.cboCollTypeChange┘ │ │ 
                             TfrmODMedIV.ControlChange┤ │ 
                  TfrmODMedIV.SetValuesFromResponses┤ │ │ 
                           TfrmODMedIV.SetupDialog┤ │ │ │ 
                 TfrmODMedIV.cboSolutionMouseClick┘ │ │ │ 
                     TfrmODMedIV.cboSolutionExit┘   │ │ │ 
                           TfrmODMedIV.cboTypeChange┤ │ │ 
                        TfrmODMedIV.ClearAllFields┘ │ │ │ 
                          TfrmODMedIV.InitDialog┤   │ │ │ 
                        TfrmODMedIV.FormCreate┘ │   │ │ │ 
                      TfrmODMedIV.cmdRemoveClick┘   │ │ │ 
                         TfrmODMedIV.chkDoseNowClick┤ │ │ 
                             TfrmODMedIV.chkPRNClick┤ │ │ 
                TfrmODMedIV.cboSolutionMouseClick...┤ │ │ 
                       TfrmODMedIV.cboAddFreqCloseUp┤ │ │ 
                     TfrmODMedIV.cboAddFreqKeyDown┘ │ │ │ 
                       TfrmODMedIV.cboDurationChange┤ │ │ 
                   TfrmODMedIV.cboInfusionTimeChange┤ │ │ 
                       TfrmODMedIV.cboPriorityChange┤ │ │ 
                          TfrmODMedIV.cboRouteChange┤ │ │ 
                   TfrmODMedIV.txtAllIVRoutesClick┘ │ │ │ 
                     TfrmODMedIV.cboRouteKeyDown┘   │ │ │ 
                   TfrmODMedIV.cboAdditiveMouseClick┤ │ │ 
                       TfrmODMedIV.cboAdditiveExit┘ │ │ │ 
                       TfrmODMedIV.txtSelectedChange┤ │ │ 
                       TfrmODMedIV.cboScheduleChange┤ │ │ 
                           TfrmODMedIV.txtNSSClick┘ │ │ │ 
                  TfrmODMedIV.cboScheduleKeyDown┘   │ │ │ 
                      TfrmODMedIV.cboSelectedCloseUp┤ │ │ 
                    TfrmODMedIV.cboSelectedKeyDown┘ │ │ │ 
                          TfrmODMedIV.cmdRemoveClick┤ │ │ 
                      TfrmODMedIV.txtXDurationChange┤ │ │ 
                        TfrmODMedIV.txtXDurationExit┤ │ │ 
                           TfrmODMedIV.txtRateChange┘ │ │ 
                            TfrmODVitals.ControlChange┤ │ 
                            TfrmODVitals.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┘   │ │ 
                            TfrmODMedNVA.ControlChange┤ │ 
                            TfrmODMedNVA.SetupDialog┤ │ │ 
                               TfrmODMedNVA.Validate┤ │ │ 
                         TfrmODMedNVA.btnSelectClick┤ │ │ 
                         TfrmODMedNVA.UMDelayClick┘ │ │ │ 
                          TfrmODMedNVA.tabDoseChange┤ │ │ 
                         TfrmODMedNVA.cboRouteChange┤ │ │ 
                       TfrmODMedNVA.SetOnMedSelect┘ │ │ │ 
                        TfrmODMedNVA.SetupDialog┤   │ │ │ 
                  TfrmODMedNVA.btnSelectClick...┤   │ │ │ 
                   TfrmODMedNVA.CheckFormAltDose┘   │ │ │ 
                   TfrmODMedNVA.cboDosageClick┘     │ │ │ 
                  TfrmODMedNVA.cboDosageExit┘       │ │ │ 
                   TfrmODMedNVA.timCheckChangesTimer┤ │ │ 
                        TfrmODMedNVA.UpdateRelated┘ │ │ │ 
                        TfrmODMedNVA.SetupDialog┤   │ │ │ 
                  TfrmODMedNVA.btnSelectClick...┤   │ │ │ 
                  TfrmODMedNVA.cboDosageClick...┤   │ │ │ 
                    TfrmODMedNVA.cboDosageChange┤   │ │ │ 
                   TfrmODMedNVA.cboScheduleClick┤   │ │ │ 
                  TfrmODMedNVA.cboScheduleChange┤   │ │ │ 
                       TfrmODMedNVA.grdDosesExit┘   │ │ │ 
                            TfrmODMedNVA.chkPRNClick┤ │ │ 
                 TfrmODMedNVA.lbStatementsClickCheck┘ │ │ 
                                      SaveAsQuickOrder┤ │ 
                                      QuickOrderSave┘ │ │ 
                   TfrmOrders.mnuOptSaveQuickClick┘   │ │ 
                              TfrmODMeds.ControlChange┤ │ 
                              TfrmODMeds.SetupDialog┤ │ │ 
                                 TfrmODMeds.Validate┤ │ │ 
                           TfrmODMeds.btnSelectClick┤ │ │ 
                           TfrmODMeds.UMDelayClick┘ │ │ │ 
                            TfrmODMeds.tabDoseChange┤ │ │ 
                            TfrmODMeds.FormKeyDown┘ │ │ │ 
                           TfrmODMeds.cboRouteChange┤ │ │ 
                         TfrmODMeds.SetOnMedSelect┘ │ │ │ 
                          TfrmODMeds.SetupDialog┤   │ │ │ 
                    TfrmODMeds.btnSelectClick...┤   │ │ │ 
                     TfrmODMeds.CheckFormAltDose┘   │ │ │ 
                     TfrmODMeds.cboDosageClick┘     │ │ │ 
                   TfrmODMeds.cboDosageKeyUp┘       │ │ │ 
                         TfrmODMeds.popDurationClick┤ │ │ 
                          TfrmODMeds.cboXRouteChange┤ │ │ 
                           TfrmODMeds.cboXRouteClick┤ │ │ 
                          TfrmODMeds.cboXRouteExit┘ │ │ │ 
                       TfrmODMeds.txtXDurationChange┤ │ │ 
                       TfrmODMeds.popDurationClick┘ │ │ │ 
                          TfrmODMeds.btnXRemoveClick┤ │ │ 
                        TfrmODMeds.grdDosesKeyDown┘ │ │ │ 
                     TfrmODMeds.timCheckChangesTimer┤ │ │ 
                          TfrmODMeds.UpdateRelated┘ │ │ │ 
                          TfrmODMeds.SetupDialog┤   │ │ │ 
                    TfrmODMeds.btnSelectClick...┤   │ │ │ 
                    TfrmODMeds.cboDosageClick...┤   │ │ │ 
                      TfrmODMeds.cboDosageChange┤   │ │ │ 
                        TfrmODMeds.cboDosageExit┤   │ │ │ 
                     TfrmODMeds.cboScheduleClick┤   │ │ │ 
                     TfrmODMeds.cmdAcceptClick┤ │   │ │ │ 
                        TfrmODMeds.chkPRNClick┤ │   │ │ │ 
                        TfrmODMeds.txtNSSClick┤ │   │ │ │ 
                   TfrmODMeds.cboScheduleEnter┤ │   │ │ │ 
                   TfrmODMeds.UMShowNSSBuilder┘ │   │ │ │ 
                    TfrmODMeds.cboScheduleChange┤   │ │ │ 
                      TfrmODMeds.txtSupplyChange┤   │ │ │ 
                    TfrmODMeds.txtQuantityChange┤   │ │ │ 
                         TfrmODMeds.grdDosesExit┤   │ │ │ 
                     TfrmODMeds.cboXDosageChange┤   │ │ │ 
                      TfrmODMeds.cboXDosageClick┤   │ │ │ 
                     TfrmODMeds.cboXDosageExit┤ │   │ │ │ 
                    TfrmODMeds.cboXDosageKeyUp┘ │   │ │ │ 
                       TfrmODMeds.cboXDosageExit┤   │ │ │ 
                   TfrmODMeds.cboXScheduleChange┤   │ │ │ 
                        TfrmODMeds.txtNSSClick┘ │   │ │ │ 
                    TfrmODMeds.cboXScheduleClick┤   │ │ │ 
                       TfrmODMeds.chkXPRNClick┤ │   │ │ │ 
                   TfrmODMeds.pnlXScheduleExit┘ │   │ │ │ 
                     TfrmODMeds.pnlXScheduleExit┤   │ │ │ 
                TfrmODMeds.txtXDurationChange...┤   │ │ │ 
                     TfrmODMeds.pnlXDurationExit┤   │ │ │ 
                          TfrmODMeds.chkPRNClick┤   │ │ │ 
                      TfrmODMeds.cboScheduleExit┤   │ │ │ 
                       TfrmODMeds.cboDosageKeyUp┤   │ │ │ 
                      TfrmODMeds.cboXDosageKeyUp┘   │ │ │ 
                       TfrmODMeds.chkPtInstructClick┤ │ │ 
                          TfrmODMeds.chkDoseNowClick┤ │ │ 
                        TfrmODMeds.SetOnQuickOrder┘ │ │ │ 
                          TfrmODMeds.SetupDialog┤   │ │ │ 
                    TfrmODMeds.btnSelectClick...┘   │ │ │ 
                              TfrmODMeds.chkPRNClick┤ │ │ 
                       TfrmODMeds.cboXSequenceChange┤ │ │ 
                         TfrmODMeds.txtRefillsChange┘ │ │ 
                                 TfrmODDiet.DietChange┤ │ 
                 TfrmODDiet.SetValuesFromResponsesDO┤ │ │ 
                            TfrmODDiet.SetupDialog┤ │ │ │ 
                 TfrmODDiet.cboDietAvailMouseClick┘ │ │ │ 
                     TfrmODDiet.cboDietAvailExit┘   │ │ │ 
                TfrmODDiet.cboDietAvailMouseClick...┤ │ │ 
                           TfrmODDiet.cmdRemoveClick┘ │ │ 
                                   TfrmODDiet.TFChange┤ │ 
                 TfrmODDiet.SetValuesFromResponsesTF┤ │ │ 
                            TfrmODDiet.SetupDialog┤ │ │ │ 
                   TfrmODDiet.cboProductMouseClick┘ │ │ │ 
                       TfrmODDiet.cboProductExit┘   │ │ │ 
                  TfrmODDiet.cboProductMouseClick...┤ │ │ 
                        TfrmODDiet.cboStrengthChange┤ │ │ 
                          TfrmODDiet.cboStrengthExit┤ │ │ 
                        TfrmODDiet.txtQuantityChange┤ │ │ 
                          TfrmODDiet.txtQuantityExit┤ │ │ 
                         TfrmODDiet.cmdTFRemoveClick┘ │ │ 
                                   TfrmODDiet.ELChange┤ │ 
                 TfrmODDiet.SetValuesFromResponsesEL┤ │ │ 
                            TfrmODDiet.SetupDialog┘ │ │ │ 
                             TfrmODDiet.grpMealClick┤ │ │ 
            TfrmODDiet.SetValuesFromResponsesEL...┘ │ │ │ 
                         TfrmODDiet.calELStartChange┤ │ │ 
                          TfrmODDiet.calELStopChange┘ │ │ 
            TfrmODDiet.SetValuesFromResponsesEL...┘   │ │ 
                                   TfrmODDiet.IPChange┤ │ 
                 TfrmODDiet.SetValuesFromResponsesIP┘ │ │ 
                            TfrmODDiet.SetupDialog┘   │ │ 
                                   TfrmODDiet.AOChange┤ │ 
                 TfrmODDiet.SetValuesFromResponsesAO┘ │ │ 
                            TfrmODDiet.SetupDialog┘   │ │ 
                                   TfrmODDiet.OPChange┤ │ 
                 TfrmODDiet.cboOPDietAvailMouseClick┤ │ │ 
                          TfrmODDiet.nbkDietChange┤ │ │ │ 
                           TfrmODDiet.InitDialog┤ │ │ │ │ 
                          TfrmODDiet.SetupDialog┤ │ │ │ │ 
                                       ..(rec)..┘ │ │ │ │ 
                     TfrmODDiet.cboOPDietAvailExit┤ │ │ │ 
                  TfrmODDiet.cboOPDietAvailKeyDown┘ │ │ │ 
                 TfrmODDiet.SetValuesFromResponsesOP┤ │ │ 
                            TfrmODDiet.SetupDialog┤ │ │ │ 
            TfrmODDiet.cboOPDietAvailMouseClick...┘ │ │ │ 
                         TfrmODDiet.calOPStartChange┤ │ │ 
                          TfrmODDiet.calOPStopChange┤ │ │ 
            TfrmODDiet.SetValuesFromResponsesOP...┘ │ │ │ 
                           TfrmODDiet.grpOPMealClick┤ │ │ 
                         TfrmODDiet.cmdOPRemoveClick┘ │ │ 
                           TfrmODAllergy.ControlChange┘ │ 
                           TfrmODAllergy.SetupDialog┤   │ 
                       TfrmODAllergy.grpObsHistClick┤   │ 
                      TfrmODAllergy.lstAllergySelect┤   │ 
                         TfrmODAllergy.SetupDialog┤ │   │ 
                                         ..(rec)..┘ │   │ 
                       TfrmODAllergy.memCommentsExit┤   │ 
                         TfrmODAllergy.btnAgentClick┤   │ 
                          TfrmODAllergy.FormCreate┘ │   │ 
                      TfrmODAllergy.cboSymptomsClick┤   │ 
               TfrmODAllergy.ckNoKnownAllergiesClick┤   │ 
                 TfrmODAllergy.cboSymptomsMouseClick┘   │ 
                  TfrmODAllergy.cboSymptomsKeyDown┘     │ 
                                      ExecuteComplexDose┤ 
                          TfrmODMedOut.cmdComplexClick┘ │ 
                         TfrmODMedOut.SetInstructions...┤ 
                                 TfrmODBBank.SetupDialog┤ 
                          TfrmODBBank.SetOnQuickOrder...┤ 
                   TfrmODMedIV.SetValuesFromResponses...┤ 
                                  TfrmODAuto.SetupDialog┤ 
                                  ActivateOrderDialog...┤ 
                                   TfrmODMedNVA.Validate┤ 
                            TfrmODMedNVA.SetOnQuickOrder┤ 
                              TfrmODMedNVA.SetupDialog┤ │ 
                        TfrmODMedNVA.btnSelectClick...┘ │ 
                    TfrmODMedNVA.timCheckChangesTimer...┤ 
                                     TfrmODMeds.Validate┤ 
                           TfrmODMeds.SetOnQuickOrder...┤ 
                      TfrmODMeds.timCheckChangesTimer...┤ 
                  TfrmODDiet.SetValuesFromResponsesDO...┤ 
                  TfrmODDiet.SetValuesFromResponsesTF...┘ 

Called-By

Name Declaration Comments
ActivateOrderDialog function ActivateOrderDialog(const AnID: string; AnEvent: TOrderDelayEvent; AnOwner: TComponent; ARefNum: Integer; ANeedVerify: boolean = True): Boolean; -
ExecuteComplexDose function ExecuteComplexDose(CtrlInits: TCtrlInits; Responses: TResponses): Boolean; -
TResponses.GetOrderText function GetOrderText: string; -
TfrmODMedOut.SetInstructions procedure SetInstructions; -
TfrmODBBank.SetOnQuickOrder procedure SetOnQuickOrder; -
TfrmODMedNVA.SetOnQuickOrder procedure SetOnQuickOrder; -
TfrmODMeds.SetOnQuickOrder procedure SetOnQuickOrder; -
TfrmODBBank.SetupDialog procedure SetupDialog(OrderAction: Integer; const ID: string); override; -
TfrmODAuto.SetupDialog procedure SetupDialog(OrderAction: Integer; const ID: string); override; -
TfrmODMedIV.SetValuesFromResponses procedure SetValuesFromResponses; -
TfrmODDiet.SetValuesFromResponsesDO procedure SetValuesFromResponsesDO; -
TfrmODDiet.SetValuesFromResponsesTF procedure SetValuesFromResponsesTF; -
TfrmODMedNVA.timCheckChangesTimer procedure timCheckChangesTimer(Sender: TObject); -
TfrmODMeds.timCheckChangesTimer procedure timCheckChangesTimer(Sender: TObject); -
TfrmODMedNVA.Validate procedure Validate(var AnErrMsg: string); override; -
TfrmODMeds.Validate procedure Validate(var AnErrMsg: string); override; -


Source

751   function TResponses.NextInstance(const APromptID: string; LastInstance: Integer): Integer;
752   var
753     i: Integer;
754   begin
755     Result := 0;
756     with FResponseList do for i := 0 to Count - 1 do with TResponse(Items[i]) do
757       if (PromptID = APromptID) and (Instance > LastInstance) and
758         ((Result = 0) or ((Result > 0) and (Instance < Result))) then Result := Instance;
759   end;