![]() ![]() |
Reference Type: Supported, Category: Toolkit—VHA Unique ID (VUID), ICR#: 4631
The $$SETVUID^XTID extrinsic function populates (SETs) the VHA Unique ID (VUID) for a given
term/concept reference.
It also automatically sets the MASTER ENTRY FOR VUID field to distinguish
references that might be duplicates:
$$SETVUID^XTID(file[,field],iref,vuid)
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:
|
vuid: |
(required) The VHA Unique ID (VUID) to assign the given term/concept reference. |
returns: |
Returns results of operation as follows:
|
For terms defined in fields that are SET OF CODES:
>S file=2,field=.02,iref="M",vuid=123456 >W $$SETVUID^XTID(file,field,iref,vuid) 1 |
For terms defined in a single file:
>S file=16000009,field=.01,iref="3,",vuid=123457 >W $$SETVUID^XTID(file,field,iref,vuid) 1 |