VPS EDIT PATIENT DEMOGRAPHIC (3250)    REMOTE PROCEDURE (8994)

Name Value
NAME VPS EDIT PATIENT DEMOGRAPHIC
TAG EDIT
ROUTINE VPSRPC2
RETURN VALUE TYPE ARRAY
AVAILABILITY PUBLIC
INACTIVE ACTIVE
CLIENT MANAGER YES
WORD WRAP ON TRUE
VERSION 1
APP PROXY ALLOWED Yes
DESCRIPTION
Called by the Vetlink Kiosk system. The VAMC staff will make changes to
the patient demographic record via the Vecna Kiosk and submit the changes
to VistA.  The RPC will accept 3 parameters.  The first parameter
represents the return value as required by RPC Broker, the 2nd parameter
is an input value which is the patient DFN, and the 3rd parameter is an
input value which is the list of data changes that will update one to many
fields in the PATIENT file (#2).  Integration Agreement 5799 identifies
the fields that could potentially be edited.
INPUT PARAMETER
  • VPSDFN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    The patient DFN which is to be used in processing the changes and updating
    the associated patient record in the PATIENT file (#2).
    
  • VPSLST
    PARAMETER TYPE:   LIST
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Local array where each field that is to be updated in the PATIENT file 
    (#2) is assigned as a string to the data element in the array along with 
    the field value.
    input structure: 
     LocalArray(n)=field label^data  
    where n is an incremental number and field label^data  are literal values
    
RETURN PARAMETER DESCRIPTION
Local ARRAY that returns the outcome of the EDIT operation.
output structure:
LocalArray(n)="field label^data^1"  
where 1 equals successful update to the database of the specific field 
declared at field label.  
 
LocalArray(n)="99^field label^data ^exception message"  
where 99 means an exception and no update was made to the database for 
that specific field and exception message describes the error.