![]() ![]() |
Reference Type: Supported, Category: Toolkit—VHA Unique ID (VUID), ICR#: 4631
The $$SETMASTR^XTID extrinsic function stores (sets) the value of the MASTER ENTRY FOR VUID flag for a given term/concept reference. The MASTER ENTRY FOR VUID flag is used to distinguish references that might be duplicates.
$$SETMASTR^XTID(file[,field],iref,mstrflag)
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:
|
mstrflag: |
(required) The internal value of the MASTER ENTRY FOR VUID field. Possible values are as follows:
|
returns: |
Returns results of operation as follows:
|
For terms defined in fields that are SET OF CODES:
>S file=2,field=.02,iref="M",mstrflag=0 >W $$SETMASTR^XTID(file,field,iref,mstrflag) 1 |
For terms defined in a single file:
>S file=16000009,field=.01,iref="3,",mstrflag=1 >W $$SETMASTR^XTID(file,field,iref,mstrflag) 1 |
>S file=16000009,field=.01,iref="6,",mstrflag=1 >W $$SETMASTR^XTID(file,field,iref,mstrflag) 0^pre-existing master entry |