XUS MVI NEW PERSON UPDATE (3818)    REMOTE PROCEDURE (8994)

Name Value
NAME XUS MVI NEW PERSON UPDATE
TAG UPDATE
ROUTINE XUMVINPU
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY AGREEMENT
VERSION 1
APP PROXY ALLOWED No
DESCRIPTION
This restricted RPC is used exclusively by the Master Veteran Index (MVI) 
to update an entry (by DUZ) in the VistA NEW PERSON file (#200).
INPUT PARAMETER
  • XUARR
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   255
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    The IEN (DUZ) for the NEW PERSON (#200) file is required to file the other
      XUARR(#)="200;205.2^SUBJECT ORGANIZATION^^"
      XUARR(#)="200;205.3^SUBJECT ORGANIZATION ID^^"
      XUARR(#)="200;205.4^UNIQUE USER ID^^"
      XUARR(#)="200;205.5^ADUPN^^"
      XUARR(#)="200;501.1^NETWORK USERNAME^^"
    fields.
     
      XUARR(#) = FILE #;FIELD #^FIELD NAME^INTERNAL VALUE^EXTERNAL VALUE
      XUARR(0)="200;IEN^DUZ^^"
      XUARR(#)="200;.01^NAME^^"
      XUARR(#)="200;.151^EMAIL ADDRESS^^"
      XUARR(#)="200;41.99^NPI^^^"
      XUARR(#)="200;205.1^SECID^^"
    
RETURN PARAMETER DESCRIPTION
  Success:
   XURET(0) = "-1^No data to file for record '"_XUDUZ_"' in file 200 
   XURET(0) = "-1^Unable to lock record '"_XUDUZ_"' in file 200" 
   XURET(0) = "-1^"_$G(XUERR("DIERR",1,"TEXT",1))
   XURET(0) = 1
 
  Fail:
   XURET(0) = "-1^No data passed"
   XURET(0) = "-1^Invalid User DUZ (null)"
   XURET(0) = "-1^User '"_XUDUZ_"' does not exist"
   XURET(0) = "-1^Invalid Name Component IEN"
   XURET(0) = "-1^No Data for Name Component IEN: "_NCIEN