MAGV ATTACH STUDY (3097)    REMOTE PROCEDURE (8994)

Name Value
NAME MAGV ATTACH STUDY
TAG ATSTUDY
ROUTINE MAGVRS05
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
DESCRIPTION
This RPC allows a study to be attached to a patient and, optionally, a 
procedure.
INPUT PARAMETER
  • STUATTS
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   32000
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Input parameters are name-value pairs sent as successive integer
    subscripts in an array that should be passed in by reference as the second
    argument to entry point ATSTUDY^MAGVRS05.  The first argument will contain
    the returned value in an array that should also be passed by reference.
     
    The values passed in should be in the format <fname>`<value>, where 
    <fname> is a field name in the IMAGE STUDY File (#2005.62) and <value> 
    is the value to which that field should be set.
    
RETURN PARAMETER DESCRIPTION
The first and only element of the return array will be formatted as 
[ERRORCODE]~[TEXT]~[ASSIGNED IEN].  An ERRORCODE value of 0 indicates 
success; all others indicate failure, as described in TEXT, and no IEN 
will be assigned.