XDR ADD POTENTIAL PATIENT DUP (2527)    REMOTE PROCEDURE (8994)

Name Value
NAME XDR ADD POTENTIAL PATIENT DUP
TAG ADD
ROUTINE XDRDADDS
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY AGREEMENT
INACTIVE ACTIVE
WORD WRAP ON TRUE
VERSION 1
SUPPRESS RDV USER SETUP Yes
APP PROXY ALLOWED No
DESCRIPTION
Add a record to the VistA DUPLICATE RECORD file (#15), or find an existing
record for the pair of potential duplicates passed to the RPC. This was
written to allow MPI to add potential duplicate patients to the file, when
potential duplicates are detected by the Person Service Identity
Management (PSIM) probabilistic search.
INPUT PARAMETER
  • FILE NUMBER
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    File number for the file to which the potential duplicate records belong. 
    For example, if the two potential duplicate entries are on the PATIENT 
    file, this value is set to 2.
    
  • TO_IEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   14
    REQUIRED:   YES
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    Internal Entry Number (IEN) of one of the potential duplicate records. 
    For example, this could be a DFN from the PATIENT file (file #2).
    
  • FROM_IEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   14
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Internal Entry Number (IEN) of one of the potential duplicate records. 
    For example, this could be a DFN from the PATIENT file (file #2).
    
RETURN PARAMETER DESCRIPTION
RETURN =IEN from file 15 DUPLICATE RECORD FILE# - If no errors occur, and 
if either an existing record is found, or a new record is added.
  
RETURN = -1^Error Message - if any errors occur