|     | 
![[skip navigation]](images/clr_pxl.gif) 
    Reference Type: Supported, Category: Toolkit—VHA Unique ID (VUID), ICR#: 4631
The $$GETMASTR^XTID extrinsic function retrieves (gets) the value of the MASTER ENTRY FOR VUID flag for a given term/concept reference.
$$GETMASTR^XTID(file[,field],iref)
| file: | (required) VistA file/subfile number where term/concept is defined. | 
| field: | (optional) Field number in the file input parameter where term/concept is defined: 
 | 
| iref: | (required) Internal reference for term/concept: 
 | 
| returns: | Returns results of operation as follows: 
 | 
For terms defined in fields that are SET OF CODES:
| >S file=2,field=.02,iref="M" >W $$GETMASTR^XTID(file,field,iref) 1 | 
For terms defined in a single file:
| >S file=16000009,field=.01,iref="3," >W $$GETMASTR^XTID(file,field,iref) 0 |