MAGV FIND STUDY TIU (3116)    REMOTE PROCEDURE (8994)

Name Value
NAME MAGV FIND STUDY TIU
TAG TIUCHK
ROUTINE MAGVRS43
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
DESCRIPTION
This 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.
INPUT PARAMETER
  • STYIEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   15
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    This is an internal entry number on the IMAGE STUDY File (#2005.63).
    
RETURN PARAMETER DESCRIPTION
This RPC returns an array with a single entry in the form n`msg`tiuien
            File (#8925) if n = 0
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