MAG DICOM GET NEXT QUEUE ENTRY

TITLEVALUE
NAMEMAG DICOM GET NEXT QUEUE ENTRY
DESCRIPTION +---------------------------------------------------------------+
| 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. |
+---------------------------------------------------------------+

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.
TAGNEXTIMG
ROUTINEMAGDRPC4
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERLOCATION
DESCRIPTIONThe 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.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH30

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERCHECK
DESCRIPTIONThe 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.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH5

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERSENT
DESCRIPTIONThis 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.
PARAMETER TYPELIST
REQUIREDNO
MAXIMUM DATA LENGTH10000

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONThe first element of the output array indicates whether there
are any images 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
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:
OUT(1)="-1,No Origin Specified"
OUT(1)="-2,Nothing to be transmitted."
AVAILABILITYRESTRICTED
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION3
SUPPRESS RDV USER SETUPNo
APP PROXY ALLOWED