MAG DICOM GET NEXT QUEUE ENTRY (1849)    REMOTE PROCEDURE (8994)

Name Value
NAME MAG DICOM GET NEXT QUEUE ENTRY
TAG NEXTIMG
ROUTINE MAGDRPC4
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
CLIENT MANAGER 0
WORD WRAP ON TRUE
VERSION 3
SUPPRESS RDV USER SETUP No
DESCRIPTION
 +---------------------------------------------------------------+
 +---------------------------------------------------------------+
 
This RPC will check if there are any new images to be transmitted,
and will return information about the first or next one (if any)
in the DICOM transmission queue.
 | Property of the US Government.                                |
 | No permission to copy or redistribute this software is given. |
 |                                                               |
 | The Food and Drug Administration classifies this software as  |
 | a medical device.  As such, it may not be changed in any way. |
 | Modifications to this software may result in an adulterated   |
 | medical device under 21CFR820, the use of which is considered |
 | to be a violation of US Federal Statutes.                     |
INPUT PARAMETER
  • LOCATION
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    The value of this parameter is a pointer to ^DIC(4).
    This pointer identifies the location at which images were acquired,
    i.e., from where they are being transmitted.
    
  • SENT
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   10000
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    This parameter is an array. Each element of this array
    contains internal entry numbers that identify an entry
    in the send-queue that has been transmitted successfully.
    The RPC will use the contents of this array to remove
    entries from the queue that have been transmitted.
    
  • CHECK
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   5
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    The value of this parameter is a Boolean value.
    When the value of this parameter is non-zero (true),
    the RPC will not mark the queue entry as being "in transmission".
    This feature is used when the RPC is being called for the
    sole purpose of determining whether or not there are
    any entries in the queue.
    
RETURN PARAMETER DESCRIPTION
The first element of the output array indicates whether there
 OUT(6) = Accession number
 OUT(7) = Image Number
 OUT(8) = Object Type
 OUT(9) = File Name (including directory path)
 OUT(10) = File Name (file name only)
 OUT(11) = Patient DFN
 OUT(12) = Full file path
 OUT(13) = Study Object Count
 OUT(14) = FM date/time object saved
Possible error messages:
are any images to be transmitted.
  OUT(1)="-1,No Origin Specified"
  OUT(1)="-2,Nothing to be transmitted."
If there are none, or if there is an error in one or more input parameters,
OUT(1) will reflect this. Otherwise:
 OUT(1) = 1
 OUT(2) = New value for D0
 OUT(3) = New value for D1
 OUT(4) = Destination Application
 OUT(5) = Group