Reference Type: Supported, Category: Toolkit—VHA Unique ID (VUID), Integration Agreement: 4631
This extrinsic function populates (sets) the VHA Unique ID (VUID) for a given
It also automatically sets the MASTER ENTRY FOR VUID field to distinguish references that might be duplicates. If this is the first reference assigned the VUID, it sets the MASTER ENTRY FOR VUID equal to 1. If another entry already has the given VUID, it sets the MASTER ENTRY FOR VUID equal to 0.
(required) VistA file/subfile number where term/concept is defined.
(optional) Field number in the "file" input parameter where term/concept is defined:
(required) Internal reference for term/concept:
(required) The VHA Unique ID (VUID) to assign the given term/concept reference.
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
August 26, 2011