Procedure

TfrmOrders.GroupChangesUpdate

Module

fOrders

Last Modified

7/15/2014 3:26:42 PM

Visibility

Public

Owner

TfrmOrders

Declaration

procedure GroupChangesUpdate(GrpName: string);

Calls Hierarchy


TfrmOrders.GroupChangesUpdate
 ├TChanges.ChangeOrderGrp
 └TChanges.ReplaceODGrpName

Called-By Hierarchy


                             TfrmOrders.GroupChangesUpdate
                               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┘     │ 
                               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┘ │ 
                                 TfrmOrders.UMEventOccur┘ 

Calls

Name Declaration Comments
TChanges.ChangeOrderGrp procedure ChangeOrderGrp(const oldGrpName,newGrpName: string); -
TChanges.ReplaceODGrpName procedure ReplaceODGrpName(const AnODID, NewGrp: string); -

Called-By

Name Declaration Comments
TfrmODBase.cmdAcceptClick procedure cmdAcceptClick(Sender: TObject); -
TfrmOrders.PtEvtCompleted function PtEvtCompleted(APtEvtID: integer; APtEvtName: string; FromMeds: boolean = False; Signing: boolean = False): boolean; -
TfrmOrders.UMEventOccur procedure UMEventOccur(var Message: TMessage); message UM_EVENTOCCUR; -


Source

3273  procedure TfrmOrders.GroupChangesUpdate(GrpName: string);
3274  var
3275    ji: integer;
3276    theChangeItem: TChangeItem;
3277  begin
3278    Changes.ChangeOrderGrp(GrpName,'');
3279    for ji := 0 to Changes.Orders.Count - 1 do
3280    begin
3281      theChangeItem := TChangeItem(Changes.Orders.Items[ji]);
3282      if AnsiCompareText(theChangeItem.GroupName,GrpName)=0 then
3283        Changes.ReplaceODGrpName(theChangeItem.ID,'');
3284    end;
3285  end;