MAG DICOM LOOKUP RAD STUDY

TITLEVALUE
NAMEMAG DICOM LOOKUP RAD 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 queries the VistA system for the details on a
Radiology Study, given the casenumber (either the date+number
or just the number) and the study date.
TAGRADLKUP
ROUTINEMAGDRPC3
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERCASENUMB
DESCRIPTIONThe value of this parameter is a string. This value identifies
the "case number" for the study. The case number may be specified
as a "date + case number" or as just an integer number.
In the former case, the date is formatted as "mmddyy".
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH30

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERSTUDYDAT
DESCRIPTIONThe value of this parameter is a (FileMan) date.
This value represents the date on which the study took place.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH20

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONWhen an error occurs during the processing of this RPC,
the output array consists only one element:
OUT(1) = -1,No Case Number Specified
Otherwise, the value of OUT(1) = 1, and there will
be 14 additional elements in the output array:
OUT(2) = RADPT1
OUT(3) = RADPT2
OUT(4) = RADPT3
OUT(5) = PROCIEN
OUT(6) = CPTCODE
OUT(7) = CPTNAME
OUT(8) = ^RAMIS(71,d0,0)
OUT(9) = Exam Status
OUT(10) = DFN
OUT(11) = DATETIME
OUT(12) = Procedure Description
OUT(13) = Modality (2-letter abbreviation)
OUT(14) = Site
OUT(15) = Pregnancy Status
OUT(16) = Accession Number
AVAILABILITYRESTRICTED
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION3
SUPPRESS RDV USER SETUPNo
APP PROXY ALLOWED