$$IEN2VID^VSIT(VISIT)
This function returns the Visit ID for the Visit IEN passed in.
Parameter:
VISIT IEN to a Visit file (#9000010) entry
Returned value:
Visit ID if value Visit IEN
-1 if the Visit IEN is not a valued pointer
=======================================================================
$$VID2IEN^VSIT(VID)
This function returns the Visit IEN for the Visit ID passed in.
Parameter:
VID Visit ID
Returned value:
>0 IEN to a Visit file (#9000010) entry
-1 if there is no Visit file (#9000010) entry for the Visit ID
|