Procedure

TfrmNoteProperties.cboNewTitleMouseClick

Module

fNoteProps

Last Modified

7/15/2014 3:26:38 PM

Visibility

Public/Published

Owner

TfrmNoteProperties

Declaration

procedure cboNewTitleMouseClick(Sender: TObject);

Calls Hierarchy


TfrmNoteProperties.cboNewTitleMouseClick
 ├IsConsultTitle
 ├TfrmNoteProperties.SetGenericFormSize
 ├TfrmNoteProperties.ShowRequestList
 │ └ListConsultRequests
 ├TfrmNoteProperties.ShowSurgCaseList
 │ └ListSurgeryCases
 ├IsSurgeryTitle
 │ └ShowSurgeryTab
 ├TfrmNoteProperties.ShowPRFList
 │ ├TPRFActions.Create
 │ ├TPRFActions.Load
 │ └TPRFActions.ShowActionsOnList
 │   └TPRFActions.SelActionHasNote
 ├IsPRFTitle
 └TfrmNoteProperties.SetCosignerRequired
   ├AskCosignerForDocument
   │ └TIUPatch175Installed
   │   └ServerHasPatch
   ├AskCosignerForTitle
   │ └TIUPatch175Installed...
   └DefaultCosigner
     └LoadTIUPrefs
       └ExternalName

Called-By Hierarchy


                                    TfrmNoteProperties.cboNewTitleMouseClick
                                        TfrmNoteProperties.cboNewTitleExit┘ 
                                                   ExecuteNoteProperties┘   
                                          TfrmConsults.CompleteConsult┤     
                                    TfrmConsults.mnuActCompleteClick┤ │     
                                  TfrmConsults.mnuActAddIDEntryClick┘ │     
                                           TfrmConsults.InsertAddendum┤     
                                TfrmConsults.mnuActMakeAddendumClick┘ │     
                                           TfrmConsults.cmdChangeClick┤     
                                     TfrmConsults.CompleteConsult...┤ │     
                                      TfrmConsults.InsertAddendum...┤ │     
                                            TfrmConsults.LoadForEdit┤ │     
                                  TfrmConsults.mnuActNoteEditClick┘ │ │     
                                TfrmConsults.mnuActCompleteClick┘   │ │     
                                      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.tvCsltNotesDragDrop┤   │ │     
                               TfrmConsults.tvCsltNotesStartDrag┤   │ │     
                        TfrmConsults.mnuActAttachtoIDParentClick┤   │ │     
                                 TfrmConsults.LstConsultsToPrint┘   │ │     
                      TfrmFrame.mnuFilePrintSelectedItemsClick┘     │ │     
                                      TfrmConsults.mnuActChangeClick┘ │     
                                             TfrmSurgery.InsertNewNote┤     
                                          TfrmSurgery.mnuActNewClick┘ │     
                                       TfrmSurgery.cmdNewNoteClick┘   │     
                                            TfrmSurgery.InsertAddendum┤     
                                       TfrmSurgery.mnuActAddendClick┘ │     
                                            TfrmSurgery.cmdChangeClick┤     
                                        TfrmSurgery.InsertNewNote...┤ │     
                                       TfrmSurgery.InsertAddendum...┤ │     
                                             TfrmSurgery.LoadForEdit┤ │     
                                       TfrmSurgery.mnuActEditClick┘ │ │     
                                       TfrmSurgery.mnuActChangeClick┘ │     
                                               TfrmNotes.InsertNewNote┤     
                                            TfrmNotes.mnuActNewClick┤ │     
                                         TfrmNotes.cmdNewNoteClick┘ │ │     
                                     TfrmNotes.mnuActAddIDEntryClick┘ │     
                                              TfrmNotes.InsertAddendum┤     
                                         TfrmNotes.mnuActAddendClick┘ │     
                                              TfrmNotes.cmdChangeClick┘     
                                          TfrmNotes.InsertNewNote...┤       
                                         TfrmNotes.InsertAddendum...┤       
                                               TfrmNotes.LoadForEdit┤       
                                         TfrmNotes.mnuActEditClick┘ │       
                                         TfrmNotes.mnuActChangeClick┤       
                                          TfrmNotes.UpdateNoteAuthor┘       
                                        TfrmNotes.InsertNewNote...┤         
                                                  AssignBoilerText┤         
                                 TfrmNotes.mnuActLoadBoilerClick┘ │         
                                   TfrmNotes.cmdChangeClick...┘   │         
                                TfrmNotes.mnuActLoadBoilerClick...┘         

Calls

Name Declaration Comments
IsConsultTitle function IsConsultTitle(TitleIEN: Integer): Boolean; -
IsPRFTitle function IsPRFTitle(TitleIEN: Integer): Boolean; -
IsSurgeryTitle function IsSurgeryTitle(TitleIEN: Integer): Boolean; -
TfrmNoteProperties.SetCosignerRequired procedure SetCosignerRequired(DoSetup: boolean); -
TfrmNoteProperties.SetGenericFormSize procedure SetGenericFormSize; -
TfrmNoteProperties.ShowPRFList procedure ShowPRFList(ShouldShow: Boolean); -
TfrmNoteProperties.ShowRequestList procedure ShowRequestList(ShouldShow: Boolean); -
TfrmNoteProperties.ShowSurgCaseList procedure ShowSurgCaseList(ShouldShow: Boolean); -

Called-By

Name Declaration Comments
TfrmNoteProperties.cboNewTitleExit procedure cboNewTitleExit(Sender: TObject); -


Source

545   procedure TfrmNoteProperties.cboNewTitleMouseClick(Sender: TObject);
546   const
547     TX_NEED_CONSULT_TITLE = 'You currently have unresolved consults awaiting completion.' + CRLF +
548                             'The selected title cannot be used to complete consults.' + CRLF +
549                             'You must select a Consults title to complete a consult.' + CRLF + CRLF +
550                             'Answer "YES" to continue with this title and not complete a consult.' + CRLF +
551                             'Answer "NO" to select a different title.' + CRLF + CRLF +
552                             'Do you want to use this title and continue?';                          
553     TC_NOT_CONSULT_TITLE = 'Not a consult title';
554   var
555     WantsToCompleteConsult: boolean;
556     ConsultTitle: boolean;
557   begin
558     with cboNewTitle do
559       if (ItemIEN > 0) and (ItemIEN = FLastTitle) then Exit
560       else if ItemIEN = 0 then
561         begin
562           if FLastTitle > 0 then SelectByIEN(FLastTitle)
563           else ItemIndex := -1;
564           //Exit;
565         end;
566       case FCallingTab of
567         CT_CONSULTS:  ;  // no action
568         CT_SURGERY :  ;  // no action
569         CT_NOTES   :  begin            // v26.5 (RV) main changes here
570                         WantsToCompleteConsult := False;
571                         ConsultTitle := IsConsultTitle(cboNewTitle.ItemIEN);
572                         if (pnlConsults.Visible) and
573                            (lstRequests.Items.Count > 0) and
574                            (not FStarting) and
575                            (*(lstRequests.ItemID <> '') and*)
576                            (not ConsultTitle) then
577                             WantsToCompleteConsult := (InfoBox(TX_NEED_CONSULT_TITLE,
578                                                               TC_NOT_CONSULT_TITLE,
579                                                               MB_ICONWARNING or MB_YESNO or MB_DEFBUTTON2) = IDNO);
580                         if WantsToCompleteConsult and (not ConsultTitle) then cboNewTitle.ItemIndex := -1;
581                         SetGenericFormSize;
582                         ShowRequestList(WantsToCompleteConsult or ConsultTitle);
583                         ShowSurgCaseList(IsSurgeryTitle(cboNewTitle.ItemIEN));
584                         ShowPRFList(IsPRFTitle(cboNewTitle.ItemIEN));
585                       end;
586       end;
587     SetCosignerRequired(True);
588     FLastTitle := cboNewTitle.ItemIEN;
589   end;