GENERAL 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.
TAG: NEWTF ROUTINE: VAFCTFU2
INPUT PARAMETER: Vista Patient Identifier
Vista Patient Identifier will be the PATIENT (#2) file
IEN (aka DFN). Example: DFN="7168937"
INPUT PARAMETER: DOD Identifier
The DOD Identifier will be EDIPI data in this format:
Id^IdType^AssigningAuthority^AssigningFacility
Example: EDIPI="852043888^NI^USDOD^200DOD"
This API returns a list of Treating Facilities in this
format:
Id^IdType^AssigningAuthority^AssigningFacility^IdStatus[^NEW]
Examples:
RESULT(1)="7168937^PI^USVHA^500^A"
RESULT(2)="1^NI^USDOD^200DOD^A^NEW"
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.
|