Function

TPCEData.NeededPCEData

Module

uPCE

Last Modified

7/15/2014 3:26:36 PM

Visibility

Public

Owner

TPCEData

Declaration

function NeededPCEData: tRequiredPCEDataTypes;

Calls Hierarchy


TPCEData.NeededPCEData
 ├FutureEncounter
 │ └FMToday
 │   └FMNow
 ├PromptForWorkload
 ├TPCEData.StandAlone
 │ └HasVisit
 ├TPCEData.GetHasCPTList
 │ └AddList
 │   └TPCEItem.HasCPTStr
 ├DataHasCPTCodes
 ├RequireExposures
 └EligbleConditions

Called-By Hierarchy


                                                  TPCEData.NeededPCEData
                                               TPCEData.GetCPTRequired┤ 
                                            TfrmDCSumm.InsertNewSumm┤ │ 
                                         TfrmDCSumm.mnuActNewClick┤ │ │ 
                                      TfrmDCSumm.cmdNewSummClick┘ │ │ │ 
                                  TfrmDCSumm.mnuActAddIDEntryClick┘ │ │ 
                                              TfrmDCSumm.LoadForEdit┤ │ 
                                       TfrmDCSumm.InsertNewSumm...┤ │ │ 
                                        TfrmDCSumm.mnuActEditClick┘ │ │ 
                                           TfrmDCSumm.SaveEditedSumm┤ │ 
                                        TfrmDCSumm.SaveCurrentSumm┘ │ │ 
                                   TfrmDCSumm.AllowContextChange┤   │ │ 
                               TfrmFrame.AllowContextChangeAll┘ │   │ │ 
                                    TfrmFrame.FormCloseQuery┤   │   │ │ 
                                  TfrmFrame.mnuFileNextClick┤   │   │ │ 
                                TfrmFrame.mnuFileOpenClick┤ │   │   │ │ 
                                    TfrmFrame.UMInitiate┤ │ │   │   │ │ 
                           TfrmFrame.mnuFileNextClick...┤ │ │   │   │ │ 
                           TfrmFrame.mnuFileRefreshClick┤ │ │   │   │ │ 
                           TfrmOrders.CheckOrderStatus┤ │ │ │   │   │ │ 
                       TfrmOrders.mnuActChgEvntClick┤ │ │ │ │   │   │ │ 
                          TfrmOrders.mnuActHoldClick┤ │ │ │ │   │   │ │ 
                        TfrmOrders.mnuActUnholdClick┤ │ │ │ │   │   │ │ 
                         TfrmOrders.mnuActRenewClick┤ │ │ │ │   │   │ │ 
                        TfrmOrders.mnuActChangeClick┤ │ │ │ │   │   │ │ 
                          TfrmOrders.mnuActCopyClick┘ │ │ │ │   │   │ │ 
                                TfrmMeds.mnuActDCClick┤ │ │ │   │   │ │ 
                               TfrmMeds.CheckMedStatus┘ │ │ │   │   │ │ 
                            TfrmMeds.mnuActHoldClick┤   │ │ │   │   │ │ 
                           TfrmMeds.mnuActRenewClick┤   │ │ │   │   │ │ 
                          TfrmMeds.mnuActUnholdClick┤   │ │ │   │   │ │ 
                          TfrmMeds.mnuActChangeClick┤   │ │ │   │   │ │ 
                            TfrmMeds.mnuActCopyClick┤   │ │ │   │   │ │ 
                          TfrmMeds.mnuActRefillClick┘   │ │ │   │   │ │ 
                                      TfrmFrame.ViewInfo┘ │ │   │   │ │ 
                                   TfrmDCSumm.ViewInfo┤   │ │   │   │ │ 
                                 TfrmConsults.ViewInfo┤   │ │   │   │ │ 
                         TfrmFrame.pnlRemindersMouseUp┤   │ │   │   │ │ 
                          TfrmFrame.RemindersChanged┘ │   │ │   │   │ │ 
                              TfrmFrame.FormCreate┘   │   │ │   │   │ │ 
                                TfrmFrame.pnlCIRNClick┤   │ │   │   │ │ 
                          TfrmFrame.pnlVistaWebClick┤ │   │ │   │   │ │ 
                               TfrmFrame.FormKeyDown┘ │   │ │   │   │ │ 
                             TfrmFrame.pnlPatientClick┤   │ │   │   │ │ 
                               TfrmFrame.pnlVisitClick┤   │ │   │   │ │ 
                         TfrmFrame.pnlPrimaryCareClick┤   │ │   │   │ │ 
                           TfrmFrame.pnlRemindersClick┤   │ │   │   │ │ 
                            TfrmFrame.pnlPostingsClick┤   │ │   │   │ │ 
                                TfrmFrame.pnlFlagClick┤   │ │   │   │ │ 
                                  TfrmFrame.laMHVClick┤   │ │   │   │ │ 
                                 TfrmFrame.laVAA2Click┤   │ │   │   │ │ 
                                   TfrmOrders.ViewInfo┤   │ │   │   │ │ 
                                     TfrmMeds.ViewInfo┤   │ │   │   │ │ 
                                  TfrmSurgery.ViewInfo┤   │ │   │   │ │ 
                                    TfrmNotes.ViewInfo┤   │ │   │   │ │ 
                                 TfrmProblems.ViewInfo┘   │ │   │   │ │ 
                         TfrmFrame.mnuFileNotifRemoveClick┤ │   │   │ │ 
                                 TfrmFrame.NextButtonClick┘ │   │   │ │ 
                               TfrmFrame.SetUpNextButton┘   │   │   │ │ 
                         TfrmFrame.mnuFileOpenClick...┤     │   │   │ │ 
                                  TfrmFrame.FormResize┘     │   │   │ │ 
                                TfrmFrame.ChangeFont┘       │   │   │ │ 
                        TfrmFrame.LoadSizesForUser┤         │   │   │ │ 
                   TfrmFrame.LoadUserPreferences┘ │         │   │   │ │ 
                          TfrmFrame.UMInitiate┘   │         │   │   │ │ 
                        TfrmFrame.mnuFontSizeClick┘         │   │   │ │ 
                               TfrmFrame.mnuFileOpenClick...┤   │   │ │ 
                               TfrmFrame.ctxContextorPending┤   │   │ │ 
                              TfrmFrame.StartCCOWContextor┘ │   │   │ │ 
                                    TfrmFrame.FormCreate┘   │   │   │ │ 
                             TfrmFrame.ctxContextorCommitted┤   │   │ │ 
                           TfrmFrame.StartCCOWContextor...┘ │   │   │ │ 
                      TfrmFrame.mnuFileResumeContextGetClick┤   │   │ │ 
                      TfrmFrame.mnuFileResumeContextSetClick┘   │   │ │ 
                                      TfrmDCSumm.LstSummsToPrint┤   │ │ 
                      TfrmFrame.mnuFilePrintSelectedItemsClick┘ │   │ │ 
                                         TfrmDCSumm.RequestPrint┤   │ │ 
                                   TfrmFrame.mnuFilePrintClick┘ │   │ │ 
                                     TfrmDCSumm.InsertNewSumm...┤   │ │ 
                                         TfrmDCSumm.mnuViewClick┤   │ │ 
                                     TfrmDCSumm.SetViewContext┤ │   │ │ 
                                      TfrmDCSumm.DisplayPage┤ │ │   │ │ 
                      TfrmDCSumm.mnuViewReturntoDefaultClick┘ │ │   │ │ 
                          TfrmDCSumm.mnuViewSaveAsDefaultClick┘ │   │ │ 
                                         TfrmDCSumm.StartNewEdit┤   │ │ 
                                  TfrmDCSumm.mnuActNewClick...┤ │   │ │ 
                              TfrmDCSumm.mnuActAddIDEntryClick┤ │   │ │ 
                                  TfrmDCSumm.mnuActAddendClick┤ │   │ │ 
                                    TfrmDCSumm.mnuActEditClick┘ │   │ │ 
                        TfrmDCSumm.mnuActDetachFromIDParentClick┤   │ │ 
                                    TfrmDCSumm.mnuActDeleteClick┤   │ │ 
                                  TfrmDCSumm.SaveEditedSumm...┘ │   │ │ 
                                      TfrmDCSumm.mnuActSaveClick┤   │ │ 
                                      TfrmDCSumm.mnuActSignClick┤   │ │ 
                                         TfrmDCSumm.SaveSignItem┤   │ │ 
                                         TfrmReview.cmdOKClick┘ │   │ │ 
                                               ReviewChanges┘   │   │ │ 
                        TfrmFrame.AllowContextChangeAll...┤     │   │ │ 
                                  TfrmFrame.FormCloseQuery┤     │   │ │ 
                              TfrmFrame.mnuFileReviewClick┤     │   │ │ 
                                           UpdateEncounter┘     │   │ │ 
                         TfrmFrame.mnuFileEncounterClick┤       │   │ │ 
                                 TfrmFrame.ViewInfo...┤ │       │   │ │ 
                    TfrmODMedIV.SetValuesFromResponses┤ │       │   │ │ 
                             TfrmODMedIV.SetupDialog┤ │ │       │   │ │ 
                   TfrmODMedIV.cboSolutionMouseClick┘ │ │       │   │ │ 
                       TfrmODMedIV.cboSolutionExit┘   │ │       │   │ │ 
                  TfrmODMedIV.cboSolutionMouseClick...┤ │       │   │ │ 
                     TfrmODMedIV.cboAdditiveMouseClick┤ │       │   │ │ 
                         TfrmODMedIV.cboAdditiveExit┘ │ │       │   │ │ 
                                TfrmODAuto.SetupDialog┤ │       │   │ │ 
                                   ActivateOrderDialog┤ │       │   │ │ 
                           TfrmRemDlg.btnFinishClick┤ │ │       │   │ │ 
           TfrmConsults.mnuActNewConsultRequestClick┤ │ │       │   │ │ 
                   TfrmConsults.cmdNewConsultClick┘ │ │ │       │   │ │ 
                TfrmConsults.mnuActNewProcedureClick┤ │ │       │   │ │ 
                      TfrmConsults.cmdNewProcClick┘ │ │ │       │   │ │ 
                                        ChangeOrders┤ │ │       │   │ │ 
                      TfrmOrders.mnuActChangeClick┤ │ │ │       │   │ │ 
                        TfrmMeds.mnuActChangeClick┘ │ │ │       │   │ │ 
                                     ChangeOrdersEvt┤ │ │       │   │ │ 
                                          CopyOrders┤ │ │       │   │ │ 
                        TfrmOrders.mnuActCopyClick┤ │ │ │       │   │ │ 
                          TfrmMeds.mnuActCopyClick┤ │ │ │       │   │ │ 
                           TfrmODActive.btnOKClick┘ │ │ │       │   │ │ 
                                      TransferOrders┤ │ │       │   │ │ 
                        TfrmOrders.mnuActCopyClick┤ │ │ │       │   │ │ 
                          TfrmMeds.mnuActCopyClick┤ │ │ │       │   │ │ 
                           TfrmODActive.btnOKClick┘ │ │ │       │   │ │ 
                            TfrmOrders.lstWriteClick┤ │ │       │   │ │ 
               TfrmOrders.PlaceOrderForDefaultDialog┤ │ │       │   │ │ 
                  TfrmOrders.DisplayDefaultDlgList┤ │ │ │       │   │ │ 
                       TfrmOrders.ResetOrderPage┘ │ │ │ │       │   │ │ 
               TfrmOrders.btnDelayedOrderClick┘   │ │ │ │       │   │ │ 
                                 DisplayEvntDialog┤ │ │ │       │   │ │ 
                             SetDelayEventForMed┘ │ │ │ │       │   │ │ 
                      TfrmMeds.mnuActCopyClick┘   │ │ │ │       │   │ │ 
                                 DisplayEvntDialog┤ │ │ │       │   │ │ 
                                  SetViewForCopy┘ │ │ │ │       │   │ │ 
                    TfrmOrders.mnuActCopyClick┘   │ │ │ │       │   │ │ 
                                 DisplayEvntDialog┘ │ │ │       │   │ │ 
                                ExecuteChangeEvt┘   │ │ │       │   │ │ 
                 TfrmOrders.mnuActChgEvntClick┘     │ │ │       │   │ │ 
                             TfrmMeds.mnuActNewClick┤ │ │       │   │ │ 
                           TfrmOMNavA.ActivateDialog┤ │ │       │   │ │ 
                         TfrmOMNavA.grdMenuKeyDown┤ │ │ │       │   │ │ 
                         TfrmOMNavA.grdMenuMouseUp┘ │ │ │       │   │ │ 
                                TfrmOMSet.DoNextItem┘ │ │       │   │ │ 
                              TfrmOMSet.InsertList┤   │ │       │   │ │ 
                               ActivateOrderList┘ │   │ │       │   │ │ 
                     TfrmRemDlg.btnFinishClick┤   │   │ │       │   │ │ 
                             ActivateOrderHTML┤   │   │ │       │   │ │ 
                    TfrmOrders.lstWriteClick┤ │   │   │ │       │   │ │ 
    TfrmOrders.PlaceOrderForDefaultDialog...┘ │   │   │ │       │   │ │ 
                              ActivateOrderSet┤   │   │ │       │   │ │ 
                   TfrmRemDlg.btnFinishClick┤ │   │   │ │       │   │ │ 
TfrmConsults.mnuActNewConsultRequestClick...┤ │   │   │ │       │   │ │ 
     TfrmConsults.mnuActNewProcedureClick...┤ │   │   │ │       │   │ │ 
                    TfrmOrders.lstWriteClick┤ │   │   │ │       │   │ │ 
    TfrmOrders.PlaceOrderForDefaultDialog...┤ │   │   │ │       │   │ │ 
                     TfrmMeds.mnuActNewClick┤ │   │   │ │       │   │ │ 
                TfrmOMNavA.ActivateDialog...┤ │   │   │ │       │   │ │ 
                     TfrmOMSet.DoNextItem...┘ │   │   │ │       │   │ │ 
                       TfrmOMNavA.DoSelectList┘   │   │ │       │   │ │ 
                     TfrmOMNavA.grdMenuKeyUp┤     │   │ │       │   │ │ 
                   TfrmOMNavA.grdMenuMouseUp┘     │   │ │       │   │ │ 
                                        SkipToNext┤   │ │       │   │ │ 
                         TfrmOMSet.DoNextItem...┘ │   │ │       │   │ │ 
                            TfrmOMSet.UMDelayEvent┘   │ │       │   │ │ 
                               TfrmOMSet.InsertList...┤ │       │   │ │ 
                                TfrmODMeds.SetupDialog┤ │       │   │ │ 
                             TfrmODMeds.btnSelectClick┤ │       │   │ │ 
                             TfrmODMeds.UMDelayClick┘ │ │       │   │ │ 
                                    ExecuteRenewOrders┘ │       │   │ │ 
                         TfrmOrders.mnuActRenewClick┤   │       │   │ │ 
                           TfrmMeds.mnuActRenewClick┘   │       │   │ │ 
                                        EncounterPresent┤       │   │ │ 
                                      ReadyForNewOrder┤ │       │   │ │ 
                           TfrmRemDlg.btnFinishClick┤ │ │       │   │ │ 
        TfrmConsults.mnuActNewConsultRequestClick...┤ │ │       │   │ │ 
             TfrmConsults.mnuActNewProcedureClick...┤ │ │       │   │ │ 
                                     ChangeOrders...┤ │ │       │   │ │ 
                                     ChangeOrdersEvt┤ │ │       │   │ │ 
                                       CopyOrders...┤ │ │       │   │ │ 
                                   TransferOrders...┤ │ │       │   │ │ 
                            TfrmOrders.lstWriteClick┤ │ │       │   │ │ 
                             TfrmMeds.mnuActNewClick┘ │ │       │   │ │ 
                                     ReadyForNewOrder1┤ │       │   │ │ 
            TfrmOrders.PlaceOrderForDefaultDialog...┘ │ │       │   │ │ 
                              TfrmOrders.mnuActDCClick┤ │       │   │ │ 
                             TfrmOrders.mnuActRelClick┤ │       │   │ │ 
                            TfrmOrders.mnuActHoldClick┤ │       │   │ │ 
                          TfrmOrders.mnuActUnholdClick┤ │       │   │ │ 
                           TfrmOrders.mnuActRenewClick┤ │       │   │ │ 
                         TfrmOrders.mnuActReleaseClick┤ │       │   │ │ 
                         TfrmOrders.mnuActOnChartClick┤ │       │   │ │ 
                            TfrmOrders.mnuActSignClick┤ │       │   │ │ 
                                TfrmMeds.mnuActDCClick┤ │       │   │ │ 
                              TfrmMeds.mnuActHoldClick┤ │       │   │ │ 
                             TfrmMeds.mnuActRenewClick┤ │       │   │ │ 
                            TfrmMeds.mnuActUnholdClick┤ │       │   │ │ 
                              TfrmMeds.mnuActCopyClick┤ │       │   │ │ 
                            TfrmMeds.mnuActRefillClick┘ │       │   │ │ 
                                     EncounterPresentEDO┤       │   │ │ 
                                   ReadyForNewOrder...┤ │       │   │ │ 
                         TfrmOrders.mnuActChgEvntClick┤ │       │   │ │ 
                          TfrmOrders.mnuActChangeClick┤ │       │   │ │ 
                            TfrmOrders.mnuActCopyClick┤ │       │   │ │ 
                       TfrmOrders.btnDelayedOrderClick┤ │       │   │ │ 
                            TfrmMeds.mnuActChangeClick┤ │       │   │ │ 
                              TfrmMeds.mnuActCopyClick┘ │       │   │ │ 
                                             UpdateVisit┤       │   │ │ 
                                           EditPCEData┤ │       │   │ │ 
                             TfrmSurgery.cmdPCEClick┤ │ │       │   │ │ 
                                 UpdateEncounterInfo┘ │ │       │   │ │ 
                             TfrmNotes.cmdPCEClick┘   │ │       │   │ │ 
                        TfrmVitals.btnEnterVitalsClick┘ │       │   │ │ 
                                             UpdateVisit┤       │   │ │ 
                                        EncounterPresent┘       │   │ │ 
                         TfrmProblems.lstProbActsClick┘         │   │ │ 
                     TfrmProblems.wgProbDataDblClick┤           │   │ │ 
                           TfrmProblems.lstViewClick┘           │   │ │ 
                   TfrmProblems.HighlightDuplicate┘             │   │ │ 
                         TfrmProblems.AddProblem┤               │   │ │ 
              TfrmProblems.lstProbActsClick...┤ │               │   │ │ 
                 TfrmProblems.lstProbPickClick┤ │               │   │ │ 
              TfrmProblems.lstProbPickDblClick┤ │               │   │ │ 
              TfrmProblems.edProbEntKeyPress┘ │ │               │   │ │ 
                      TfrmProblems.UMPLLexicon┘ │               │   │ │ 
                   TfrmdlgProb.bbChangeProbClick┘               │   │ │ 
                                            TfrmDCSumm.FormClose┤   │ │ 
                       TfrmDCSumm.mnuActIdentifyAddlSignersClick┤   │ │ 
                           TfrmDCSumm.popSummMemoAddlSignClick┘ │   │ │ 
                                 TfrmDCSumm.ProcessNotifications┤   │ │ 
                                        TfrmDCSumm.DisplayPage┘ │   │ │ 
                                    TfrmDCSumm.SetViewContext...┤   │ │ 
                                      TfrmDCSumm.tvSummsDragDrop┤   │ │ 
                                     TfrmDCSumm.tvSummsStartDrag┤   │ │ 
                          TfrmDCSumm.mnuActAttachtoIDParentClick┘   │ │ 
                                        TfrmConsults.CompleteConsult┤ │ 
                                  TfrmConsults.mnuActCompleteClick┤ │ │ 
                                TfrmConsults.mnuActAddIDEntryClick┘ │ │ 
                                            TfrmConsults.LoadForEdit┤ │ 
                                  TfrmConsults.mnuActNoteEditClick┘ │ │ 
                                TfrmConsults.mnuActCompleteClick┘   │ │ 
                                      TfrmConsults.SaveEditedConsult┤ │ 
                                      TfrmConsults.SaveCurrentNote┘ │ │ 
                                 TfrmConsults.AllowContextChange┤   │ │ 
                            TfrmFrame.AllowContextChangeAll...┘ │   │ │ 
                                     TfrmConsults.SetViewContext┤   │ │ 
                                      TfrmConsults.DisplayPage┤ │   │ │ 
                      TfrmConsults.mnuViewReturntoDefaultClick┘ │   │ │ 
                                       TfrmConsults.mnuViewClick┤   │ │ 
                                TfrmConsults.SetViewContext...┘ │   │ │ 
                      TfrmConsults.mnuActDetachFromIDParentClick┤   │ │ 
                              TfrmConsults.mnuActNoteDeleteClick┤   │ │ 
                             TfrmConsults.SaveEditedConsult...┘ │   │ │ 
                           TfrmConsults.mnuActSignatureSaveClick┤   │ │ 
                           TfrmConsults.mnuActSignatureSignClick┤   │ │ 
                                       TfrmConsults.SaveSignItem┤   │ │ 
                                      TfrmReview.cmdOKClick...┘ │   │ │ 
                                 TfrmConsults.mnuActConsultClick┤   │ │ 
                                       TfrmConsults.RequestPrint┤   │ │ 
                            TfrmConsults.mnuActPrintSF513Click┤ │   │ │ 
                                   TfrmFrame.mnuFilePrintClick┘ │   │ │ 
                          TfrmConsults.mnuActDisplayResultsClick┤   │ │ 
                             TfrmConsults.ProcessNotifications┘ │   │ │ 
                                    TfrmConsults.DisplayPage┘   │   │ │ 
                            TfrmConsults.mnuActDisplaySF513Click┤   │ │ 
                              TfrmConsults.mnuActPrintSF513Click┤   │ │ 
                          TfrmConsults.mnuActDisplayDetailsClick┤   │ │ 
                                          TfrmConsults.FormClose┤   │ │ 
                     TfrmConsults.mnuActIdentifyAddlSignersClick┤   │ │ 
                         TfrmConsults.popNoteMemoAddlSignClick┘ │   │ │ 
                            TfrmConsults.ProcessNotifications...┤   │ │ 
                               TfrmConsults.mnuActNotePrintClick┤   │ │ 
                            TfrmConsults.popNoteMemoPrintClick┘ │   │ │ 
                                       TfrmConsults.StartNewEdit┤   │ │ 
                              TfrmConsults.mnuActCompleteClick┤ │   │ │ 
                            TfrmConsults.mnuActAddIDEntryClick┤ │   │ │ 
                          TfrmConsults.mnuActMakeAddendumClick┤ │   │ │ 
                           TfrmConsults.mnuActNoteEditClick...┘ │   │ │ 
                                TfrmConsults.tvCsltNotesDragDrop┤   │ │ 
                               TfrmConsults.tvCsltNotesStartDrag┤   │ │ 
                        TfrmConsults.mnuActAttachtoIDParentClick┤   │ │ 
                                 TfrmConsults.LstConsultsToPrint┘   │ │ 
                      TfrmFrame.mnuFilePrintSelectedItemsClick┘     │ │ 
                                           TfrmSurgery.InsertNewNote┤ │ 
                                        TfrmSurgery.mnuActNewClick┘ │ │ 
                                     TfrmSurgery.cmdNewNoteClick┘   │ │ 
                                             TfrmSurgery.LoadForEdit┤ │ 
                                       TfrmSurgery.mnuActEditClick┘ │ │ 
                                          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.InsertNewNote┤ │ 
                                          TfrmNotes.mnuActNewClick┤ │ │ 
                                       TfrmNotes.cmdNewNoteClick┘ │ │ │ 
                                   TfrmNotes.mnuActAddIDEntryClick┘ │ │ 
                                               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┘     │ 
                                                  TPCEData.OK2SignNote┘ 
                                                           IsOK2Sign┘   
                                        TfrmDCSumm.mnuActSignClick┤     
                                        TfrmDCSumm.SaveSignItem...┤     
                             TfrmConsults.mnuActSignatureSignClick┤     
                                      TfrmConsults.SaveSignItem...┤     
                                       TfrmSurgery.mnuActSignClick┤     
                                       TfrmSurgery.SaveSignItem...┤     
                                         TfrmNotes.mnuActSignClick┤     
                                         TfrmNotes.SaveSignItem...┘     

Calls

Name Declaration Comments
DataHasCPTCodes function DataHasCPTCodes(AList: TStrings): boolean; -
EligbleConditions function EligbleConditions: TSCConditions; -
FutureEncounter function FutureEncounter(APCEData: TPCEData): boolean; -
TPCEData.GetHasCPTList procedure GetHasCPTList(AList: TStrings); -
PromptForWorkload function PromptForWorkload(ANote, ATitle: Integer; VisitCat: Char; StandAlone: boolean): Boolean; -
RequireExposures function RequireExposures(ANote, ATitle: Integer): Boolean; -
TPCEData.StandAlone function StandAlone: boolean; -

Called-By

Name Declaration Comments
TPCEData.GetCPTRequired function GetCPTRequired: Boolean; -
TPCEData.OK2SignNote function OK2SignNote: boolean; -


Source

2921  function TPCEData.NeededPCEData: tRequiredPCEDataTypes;
2922  var
2923    EC: TSCConditions;
2924    NeedSC: boolean;
2925    TmpLst: TStringList;
2926  
2927  begin
2928    Result := [];
2929    if(not FutureEncounter(Self)) then
2930    begin
2931      if(PromptForWorkload(FNoteIEN, FNoteTitle, FEncSvcCat, StandAlone)) then
2932      begin
2933        if(fDiagnoses.count <= 0) then
2934          Include(Result, ndDiag);
2935        if((fprocedures.count <= 0) and (fVisitType.Code = '')) then
2936        begin
2937          TmpLst := TStringList.Create;
2938          try
2939            GetHasCPTList(TmpLst);
2940            if(not DataHasCPTCodes(TmpLst)) then
2941              Include(Result, ndProc);
2942          finally
2943            TmpLst.Free;
2944          end;
2945        end;
2946        if(RequireExposures(FNoteIEN, FNoteTitle)) then
2947        begin
2948          NeedSC := FALSE;
2949          EC :=  EligbleConditions;
2950          if (EC.SCAllow and (SCRelated = SCC_NA)) then
2951            NeedSC := TRUE
2952          else   if(SCRelated <> SCC_YES) then  //if screlated = yes, the others are not asked.
2953          begin
2954                 if(EC.AOAllow and (AORelated = SCC_NA)) then NeedSC := TRUE
2955            else if(EC.IRAllow and (IRRelated = SCC_NA)) then NeedSC := TRUE
2956            else if(EC.ECAllow and (ECRelated = SCC_NA)) then NeedSC := TRUE
2957          end;
2958          if(EC.MSTAllow and (MSTRelated = SCC_NA)) then NeedSC := TRUE;
2959  //        if HNCOK and (EC.HNCAllow and (HNCRelated = SCC_NA)) then NeedSC := TRUE;
2960          if(EC.HNCAllow and (HNCRelated = SCC_NA)) then NeedSC := TRUE;
2961          if(EC.CVAllow and (CVRelated = SCC_NA) and (SHADRelated = SCC_NA)) then NeedSC := TRUE;
2962          if(NeedSC) then
2963            Include(Result, ndSC);
2964        end;
2965  (*      if(Result = []) and (FNoteIEN > 0) then   //  **** block removed in v19.1  {RV} ****
2966          ClearCPTRequired(FNoteIEN);*)
2967      end;
2968    end;
2969  end;