MAGV FIND STUDY TIU

TITLEVALUE
NAMEMAGV FIND STUDY TIU
DESCRIPTIONThis RPC returns the TIU note with which an image study is associated
if the study is associated with a consult procedure and a TIU note
exists for the consult.
TAGTIUCHK
ROUTINEMAGVRS43
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERSTYIEN
DESCRIPTIONThis is an internal entry number on the IMAGE STUDY File (#2005.63).
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH15

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONThis RPC returns an array with a single entry in the form n`msg`tiuien
whose format is as follows:
n = 0 if the study is associated with a consult procedure and a
TIU note exists for the consult
>0 if the study is not associated with a consult for a local VA
patient, or no TIU note exists for the consult
<0 if an error condition exists (e.g., invalid input)
msg = error message text if n < 0
tiuien = internal entry number of the TIU note on the TIU DOCUMENT
File (#8925) if n = 0
AVAILABILITYRESTRICTED
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED