Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

F4^XUAF4(): Institution Data for a Station Number

Reference Type: Supported, Category: Institution File, ICR#: 2171

Description

The F4^XUAF4 API returns the Internal Entry Number (IEN) and other institution data, including historical information, for a given STATION NUMBER (#99) in the INSTITUTION (#4) file.

Format

  F4^XUAF4(sta,[.]array[,flag][,date])

Input Parameters

sta:

(required) Station Number.

[.]array:

(required) $NAME reference for return values.

flag:

(optional) Flags that represent the Station Number Status. Possible values are:

  • A—Active entries only.

  • M—Medical treating facilities only.
date:

(optional) Return name on this VA FileMan internal date.

Output

array

IEN or 0^error message

array("NAME")

Name

array("VA NAME")

Official VA Name

array("STATION NUMBER")

Station Number

array("TYPE")

Facility Type Name

array("INACTIVE")

Inactive Date (0=not inactive)

NOTE: If inactive date not available, then 1.

array("REALIGNED TO")

IEN^station number^date

array("REALIGNED FROM")

IEN^station number^date

array("MERGE",IEN")

Merged Records

Example

>D F4^XUAF4("528A8",.ARRAY)

>ZW ARRAY
ARRAY=7020
ARRAY("INACTIVE")=0
ARRAY("NAME")=ALBANY
ARRAY("REALIGNED FROM")=500^500^3000701
ARRAY("STATION NUMBER")=528A8
ARRAY("TYPE")=VAMC
ARRAY("VA NAME")=VA HEALTHCARE NETWORK UPSTATE NEW YORK SYSTEM VISN 2 - ALBANY DIVISION