Procedure

ListProcedures

Module

rReports

Last Modified

7/15/2014 3:26:44 PM

Scope

Interfaced

Declaration

procedure ListProcedures(Dest: TStrings);

Calls Hierarchy


ListProcedures
 └ShortDateStrToDate

Called-By Hierarchy


                                       ListProcedures
                         TfrmReports.tvReportsClick┘ 
                  TfrmFrame.lstCIRNLocationsClick┤   
                            TfrmFrame.SetUpCIRN┘ │   
                       TfrmFrame.SetupPatient┘   │   
                  UpdatePatientInfoForAlert┤     │   
               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.AllowCCOWContextChange┤     │   
            TfrmFrame.mnuFileNextClick...┤ │     │   
            TfrmFrame.mnuFileOpenClick...┤ │     │   
   TfrmFrame.mnuFileResumeContextSetClick┘ │     │   
                TfrmFrame.UpdateCCOWContext┤     │   
            TfrmFrame.mnuFileOpenClick...┤ │     │   
          TfrmFrame.ctxContextorCommitted┤ │     │   
           TfrmFrame.StartCCOWContextor┘ │ │     │   
                 TfrmFrame.FormCreate┘   │ │     │   
   TfrmFrame.mnuFileResumeContextGetClick┘ │     │   
     TfrmFrame.mnuFileResumeContextSetClick┘     │   
                          TfrmReports.DisplayPage┤   
                         TfrmReports.LoadTreeView┤   
                        TfrmReports.DisplayPage┤ │   
           TfrmOptionsReportsDefault.btnOKClick┤ │   
        TfrmOptionsReportsDefault.btnResetClick┤ │   
         TfrmOptionsReportsCustom.btnApplyClick┘ │   
          TfrmOptionsReportsCustom.btnOKClick┘   │   
                 TfrmReports.ProcessNotifications┤   
                        TfrmReports.DisplayPage┘ │   
                     TfrmReports.tvReportsKeyDown┤   
                  TfrmReports.tvProceduresKeyDown┤   
                      TfrmReports.chkMaxFreqClick┤   
             TfrmOptionsReportsDefault.btnOKClick┤   
          TfrmOptionsReportsDefault.btnResetClick┤   
        TfrmOptionsReportsCustom.btnApplyClick...┘   

Calls

Name Declaration Comments
ShortDateStrToDate function ShortDateStrToDate(shortdate: string): string ; -

Called-By

Name Declaration Comments
TfrmReports.tvReportsClick procedure tvReportsClick(Sender: TObject); -


Source

241   procedure ListProcedures(Dest: TStrings);
242   var
243     x,sdate: string;
244     i: Integer;
245   begin
246     CallV('ORWMC PATIENT PROCEDURES1', [Patient.DFN]);
247     with RPCBrokerV do
248     begin
249       for i := 0 to Results.Count - 1 do
250       begin
251         x := Results[i];
252         if length(piece(x, U, 8)) > 0 then
253           begin
254             sdate := ShortDateStrToDate(piece(piece(x, U, 8),'@',1)) + ' ' + piece(piece(x, U, 8),'@',2);
255           end;
256         x := Piece(x, U, 1) + U + 'i' + Piece(x, U, 2) + U + sdate + U + Piece(x, U, 3) + U + Piece(x, U, 9) + '^[+]';
257         Results[i] := x;
258       end;
259       FastAssign(Results, Dest);
260     end;
261   end;