VAFC NEW NC TREATING FACILITY (2730)    REMOTE PROCEDURE (8994)

Name Value
NAME VAFC NEW NC TREATING FACILITY
TAG NEWTF
ROUTINE VAFCTFU2
RETURN VALUE TYPE ARRAY
AVAILABILITY PUBLIC
INACTIVE ACTIVE
VERSION 1
DESCRIPTION
This Remote Procedure Call will be used by the North Chicago Common 
Registration User Interface (UI).  Given a patient DFN and DOD EDIPI, the 
RPC adds an active Department of Defense correlation to the VistA 
TREATING FACILITY LIST (#391.91) file if it does not exist.  It returns a 
list of Treating Facilities, including Source Identifier, Identifier 
Type, Assigning Authority, Assigning Facility, Identifier Status, and an 
indicator if the entry was entered into File 391.91.
INPUT PARAMETER
  1. INPUT PARAMETER:   Vista Patient Identifier
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   255
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Vista Patient Identifier will be the PATIENT (#2) file IEN (aka DFN).
     
    Example: DFN="7168937"
    
  2. INPUT PARAMETER:   DOD Identifier
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   255
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    The DOD Identifier will be EDIPI data with the following format:
     
     Id^IdType^AssigningAuthority^AssigningFacility
     
     Example: EDIPI="852043888^NI^USDOD^200DOD"
    
RETURN PARAMETER DESCRIPTION
This will return a list of treating facilities in the following format:
 Note: If there is data in the 6th piece of the RESULT(<number>), with
       data value as "NEW", then it means that the entry was newly created
       in the TREATING FACILITY LIST (#391.91) file by this RPC call.
  
 Id^IdType^AssigningAuthority^AssigningFacility^IdStatus[^NEW]
  
 Examples:
  
 RESULT(1)="7168937^PI^USVHA^500^A"
 RESULT(2)="1^NI^USDOD^200DOD^A^NEW"