MAG DICOM LOOKUP STUDY

TITLEVALUE
NAMEMAG DICOM LOOKUP STUDY
DESCRIPTION +---------------------------------------------------------------+
| Property of the US Government. |
| No permission to copy or redistribute this software is given. |
| Use of unreleased versions of this software requires the user |
| to execute a written test agreement with the VistA Imaging |
| Development Office of the Department of Veterans Affairs, |
| telephone (301) 734-0100. |
| |
| 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 looks up a study that might be a Radiology Study
or a Clinical Specialty, based on the specified (case) number.
TAGLOOKUP
ROUTINEMAGDRPC4
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERNUMBER
DESCRIPTIONThe value of this parameter is a number that identifies a
study. Such a number would be a date-case number for a Radiology
study, or just a number for a Consult.
The value of this parameter may also be a string that consists of
a "tick-mark" (`), followed by the internal entry number of
an image.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH30

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONThe output array of this RPC is a list of all studies that
match the specified number.
The first element of the output array indicates the number
of studies that were found. The other elements of the
output array each contain the following pieces of information,
separated by carets:
1. File number
2. Internal entry number
3. Image number
4. Accession number
Possible error messages:
OUT(1)="-1,No Case or Consult Number Specified"
OUT(1)="-2,No Study Date Specified"
OUT(1)="-3,Invalid study date xxx."
OUT(1)="-4,Consult is cancelled"
OUT(1)="-5,Consult/procedure not on file"
OUT(1)="-6,Invalid image (nnn)"
OUT(1)="-7,Parent file xxx not yet supported."
AVAILABILITYRESTRICTED
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION3
SUPPRESS RDV USER SETUPNo
APP PROXY ALLOWED