VPR GET PATIENT DATA (2917)    REMOTE PROCEDURE (8994)

Name Value
NAME VPR GET PATIENT DATA
TAG GET
ROUTINE VPRD
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY SUBSCRIPTION
WORD WRAP ON TRUE
VERSION 1
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC retrieves the requested data from VistA, and returns it in
^TMP("VPR",$J,n) as XML.
INPUT PARAMETER
  • DFN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Internal entry number from Patient file #2
    [optionally DFN;ICN for remote calls]
    
  • TYPE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   100
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    The kind(s) of data to return, which may include:
      demographics;reactions;problems;vitals;labs;meds;
      immunizations;visits;appointments;documents;
      procedures;consults
    
  • START
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    The date/time from which to begin searching for data [optional].
    
  • STOP
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    The date/time at which to end searching for data [optional].
    
  • MAX
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   7
    REQUIRED:   NO
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    The maximum number of items to return per data type [optional].
    
  • ITEM
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    SEQUENCE NUMBER:   6
    DESCRIPTION:   
    The identifier of a single item to return [optional, but TYPE must
    also be defined when used].
    
  • FILTER
    PARAMETER TYPE:   LIST
    REQUIRED:   NO
    SEQUENCE NUMBER:   7
    DESCRIPTION:   
    List of name-value pairs, further refining the search.
    
RETURN PARAMETER DESCRIPTION
Text array formatted as XML