MPI IFC VISTA ADD PATIENT (5055)    REMOTE PROCEDURE (8994)

Name Value
NAME MPI IFC VISTA ADD PATIENT
TAG ADD
ROUTINE MPIPRSAD
RETURN VALUE TYPE SINGLE VALUE
VERSION 1
DESCRIPTION
This RPC is called by VistA utility code to support IFC to create patient 
at VistA. If ICN is passed in and it it exist at MPI, it will call remote 
RPC to create new patient at VistA using Primary View data. If EDIPI is 
passed in and if it exist at MPI, it will use its associated ICN to 
create new patient at VistA using Primary View data. If EDIPI is passed 
in and if it does not exist at MPI, MPI will request PSIM for DoD 
orchestration and once 200DoD correlation is created, it will use its 
associated ICN Primary View data to create new patient at VistA.
INPUT PARAMETER
  • SRCID
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Fully qualified ID: ID~Assigning Authority~ID Type~Station Number
                     Ex: For ICN: FullICN~USVHA~NI~200M
                         For EDIPI: EDIPI~USDOD~NI~200DOD
    
  • SITE
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    VistA station number where new patient needs to be created.
    
RETURN PARAMETER DESCRIPTION
 1^ICN^STATION NUMBER^DFN
 Or
 -1^Error message if failed