Function

HasRemoteData

Module

rCore

Last Modified

7/15/2014 3:26:44 PM

Comments

Remote Data Access calls
Remote Data Access calls

Scope

Interfaced

Declaration

function HasRemoteData(const DFN: string; var ALocations: TStringList): Boolean;

Called-By Hierarchy


                                      HasRemoteData
                    TRemoteSiteList.ChangePatient┘ 
                            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┘       

Called-By

Name Declaration Comments
TRemoteSiteList.ChangePatient procedure ChangePatient(const DFN: string); -


Source

1289  function HasRemoteData(const DFN: string; var ALocations: TStringList): Boolean;
1290  begin
1291    CallV('ORWCIRN FACLIST', [DFN]);
1292    FastAssign(RPCBrokerV.Results, ALocations);
1293    Result := not (Piece(RPCBrokerV.Results[0], U, 1) = '-1');
1294  
1295  //   '-1^NO DFN'
1296  //   '-1^PATIENT NOT IN DATABASE'
1297  //   '-1^NO MPI Node'
1298  //   '-1^NO ICN'
1299  //   '-1^Parameter missing.'
1300  //   '-1^No patient DFN.'
1301  //   '-1^Could not find Treating Facilities'
1302  //   '-1^Remote access not allowed'     <===parameter ORWCIRN REMOTE DATA ALLOW
1303  end;