Function

IsCompletedPtEvt

Module

rOrders

Last Modified

7/15/2014 3:26:42 PM

Scope

Interfaced

Declaration

function IsCompletedPtEvt(APtEvtID: integer): boolean;

Called-By Hierarchy


                                          IsCompletedPtEvt
                               TfrmODBase.cmdAcceptClick┤ 
                                   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┘     │ 
                                           CopyOrders...┤ 
                                       TransferOrders...┤ 
                               TfrmOrders.PtEvtCompleted┤ 
                            TfrmFrame.DetermineNextTab┤ │ 
                          TfrmFrame.mnuFileOpenClick┤ │ │ 
                              TfrmFrame.UMInitiate┤ │ │ │ 
                        TfrmFrame.mnuFileNextClick┤ │ │ │ 
                   TfrmFrame.mnuFileOpenClick...┤ │ │ │ │ 
               TfrmFrame.mnuFileNotifRemoveClick┤ │ │ │ │ 
                       TfrmFrame.NextButtonClick┘ │ │ │ │ 
                     TfrmFrame.SetUpNextButton┘   │ │ │ │ 
               TfrmFrame.mnuFileOpenClick...┤     │ │ │ │ 
                        TfrmFrame.FormResize┘     │ │ │ │ 
                      TfrmFrame.ChangeFont┘       │ │ │ │ 
              TfrmFrame.LoadSizesForUser┤         │ │ │ │ 
         TfrmFrame.LoadUserPreferences┘ │         │ │ │ │ 
                TfrmFrame.UMInitiate┘   │         │ │ │ │ 
              TfrmFrame.mnuFontSizeClick┘         │ │ │ │ 
                     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.UpdateCCOWContext┘ │ │ 
                     TfrmFrame.mnuFileOpenClick...┤   │ │ 
                   TfrmFrame.ctxContextorCommitted┤   │ │ 
                    TfrmFrame.StartCCOWContextor┘ │   │ │ 
                          TfrmFrame.FormCreate┘   │   │ │ 
            TfrmFrame.mnuFileResumeContextGetClick┘   │ │ 
                          TfrmFrame.mnuFileReviewClick┤ │ 
                             TfrmOrders.lstSheetsClick┤ │ 
                        TfraEvntDelayList.CheckMatch┤ │ │ 
                           TfrmOrdersTS.cmdOKClick┘ │ │ │ 
 TfrmOrdersTS.fraEvntDelayListmlstEventsDblClick┤   │ │ │ 
                        TfrmOrdersTS.FormKeyDown┘   │ │ │ 
                  TfraEvntDelayList.mlstEventsChange┤ │ │ 
    TfrmOrdersTS.fraEvntDelayListcboEvntListChange┤ │ │ │ 
     TfrmOrdersTS.fraEvntDelayListmlstEventsChange┤ │ │ │ 
     TfrmMedCopy.fraEvntDelayListcboEvntListChange┤ │ │ │ 
      TfrmMedCopy.fraEvntDelayListmlstEventsChange┤ │ │ │ 
  TfrmCopyOrders.fraEvntDelayListcboEvntListChange┤ │ │ │ 
   TfrmCopyOrders.fraEvntDelayListmlstEventsChange┘ │ │ │ 
                     TfrmOrders.mnuViewDfltShowClick┤ │ │ 
                            TfrmOrders.DisplayPage┘ │ │ │ 
                                           ..(rec)..┤ │ │ 
                            TfrmOrders.lstWriteClick┤ │ │ 
                          TfrmOrders.mnuActCopyClick┤ │ │ 
                          TfrmOrders.mnuActSignClick┤ │ │ 
                        TfrmOrders.ResetOrderPage...┤ │ │ 
            TfrmOrders.PlaceOrderForDefaultDialog...┤ │ │ 
                            TfrmOrders.ClickLstSheet┤ │ │ 
             TfraEvntDelayList.mlstEventsChange...┤ │ │ │ 
                      TfrmOrders.ResetOrderPage...┤ │ │ │ 
                         ExecuteReleaseEventOrders┘ │ │ │ 
                       TfrmOrders.mnuActRelClick┘   │ │ │ 
                         TfrmOrders.InitOrderSheets2┤ │ │ 
                      TfrmFrame.mnuFileReviewClick┘ │ │ │ 
                        TfrmOrders.PtEvtCompleted...┤ │ │ 
                             TfrmOrders.UMEventOccur┤ │ │ 
                            TfrmMeds.mnuActCopyClick┤ │ │ 
                             TfrmMeds.mnuActNewClick┤ │ │ 
                              SetDelayEventForMed...┤ │ │ 
                                   SetViewForCopy...┤ │ │ 
                           TfrmCopyOrders.cmdOKClick┤ │ │ 
                       TfrmCopyOrders.UMStillDelay┤ │ │ │ 
 TfrmCopyOrders.fraEvntDelayListmlstEventsDblClick┤ │ │ │ 
                        TfrmCopyOrders.FormKeyDown┘ │ │ │ 
                                 ExecuteChangeEvt...┤ │ │ 
                                     ExecuteDCOrders┘ │ │ 
                          TfrmOrders.mnuActDCClick┤   │ │ 
                            TfrmMeds.mnuActDCClick┘   │ │ 
                              TfrmOrders.lstWriteClick┤ │ 
                              TfrmOrders.mnuActDCClick┤ │ 
                         TfrmOrders.mnuActChgEvntClick┤ │ 
                            TfrmOrders.mnuActHoldClick┤ │ 
                            TfrmOrders.mnuActFlagClick┤ │ 
                         TfrmOrders.mnuActCommentClick┤ │ 
                          TfrmOrders.mnuActChangeClick┤ │ 
                            TfrmOrders.mnuActCopyClick┤ │ 
                            TfrmOrders.mnuActSignClick┤ │ 
                       TfrmOrders.btnDelayedOrderClick┤ │ 
                              TfrmMeds.mnuActCopyClick┤ │ 
                               TfrmODActive.btnOKClick┘ │ 
                                TfrmMeds.mnuActCopyClick┤ 
                                       SetViewForCopy...┤ 
                                  TfrmOMNavA.FormDestroy┤ 
                               TfrmOMNavA.grdMenuKeyDown┤ 
                             TfrmOMNavA.grdMenuMouseDown┤ 
                               TfrmOMNavA.grdMenuMouseUp┤ 
                                 TfrmOMSet.DoNextItem...┤ 
                                     ExecuteChangeEvt...┘ 

Called-By

Name Declaration Comments
TfrmODBase.cmdAcceptClick procedure cmdAcceptClick(Sender: TObject); -
CopyOrders function CopyOrders(AList: TStringList; AnEvent: TOrderDelayEvent; var DoesEventOccur: boolean; ANeedVerify: boolean = True): boolean; -
TfrmOMSet.DoNextItem procedure DoNextItem; -
ExecuteChangeEvt function ExecuteChangeEvt(SelectedList: TList; var DoesDestEvtOccur: boolean; var DestPtEvtID: integer; var DestPtEvtName: string): boolean; -
TfrmOMNavA.FormDestroy procedure FormDestroy(Sender: TObject); -
TfrmOMNavA.grdMenuKeyDown procedure grdMenuKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); -
TfrmOMNavA.grdMenuMouseDown procedure grdMenuMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer); -
TfrmOMNavA.grdMenuMouseUp procedure grdMenuMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer); -
TfrmMeds.mnuActCopyClick procedure mnuActCopyClick(Sender: TObject); -
TfrmOrders.PtEvtCompleted function PtEvtCompleted(APtEvtID: integer; APtEvtName: string; FromMeds: boolean = False; Signing: boolean = False): boolean; -
SetViewForCopy function SetViewForCopy(var IsNewEvent: boolean; var DoesDestEvtOccur: boolean; var DestPtEvtID: integer; var DestPtEvtName: string): Boolean; -
TransferOrders function TransferOrders(AList: TStringList; AnEvent: TOrderDelayEvent; var DoesEventOccur: boolean; ANeedVerify: boolean = True): boolean; -


Source

2096  function IsCompletedPtEvt(APtEvtID: integer): boolean;
2097  var
2098    rst : integer;
2099  begin
2100    Result := False;
2101    rst := StrToIntDef(SCallV('OREVNTX1 COMP',[APtEvtID]),0);
2102    if rst > 0 then
2103      Result := True;
2104  end;