|
|
Reference Type: Supported, Category: Data Standardization, Integration Agreement: 4631
This API searches and returns a list of terms/concepts for a given VHA Unique ID (VUID) (i.e., "vuid" input parameter). Filtering of the list is applied when the remaining input parameters are defined (i.e., "file," "field," and "master").
GETIREF^XTID([file],[field],vuid,array,master)
| file: |
(optional) VistA file/subfile number where term/concept is defined:
|
| field: |
(optional) Field number in the "file" input parameter where term/concept is defined:
|
| vuid: |
(required) The VHA Unique ID (VUID) specified in order to limit the search. |
| array: |
(required) The name of the array (local or global) where results of the search will be stored. |
| master: |
(optional) Flag to limit the search of terms based on the value of the MASTER ENTRY FOR VUID field:
|
| array: |
Returns the given array populated as follows:
|
|
>N array S array="MYARRAY" >S file=16000009,field=.01,vuid=12343,master=0 >D GETIREF^XIID(file,field,vuid,array,master) >ZW MYARRAY MYARRAY=2 MYARRAY(16000009,.01,"1,")=1^3050202.153242^ACTIVE^0 MYARRAY(16000009,.01,"3,")=0^3050215.07584^INACTIVE^1
When no entries are found, the named array is populated as follows:
>ZW MYARRAY MYARRAY=0
When an error occurs, the named array is populated as follows:
>ZW MYARRAY
MYARRAY("ERROR")="<error message>"
|
VA (Internet) / VA (Intranet) / OI / HSD&D / Site Map / Terms of Use / VA Privacy Policy / Accessibility Reviewed/Updated:
November 15, 2006
|