MAG DICOM LOOKUP RAD STUDY (1860)    REMOTE PROCEDURE (8994)

Name Value
NAME MAG DICOM LOOKUP RAD STUDY
TAG RADLKUP
ROUTINE MAGDRPC3
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
CLIENT MANAGER 0
WORD WRAP ON TRUE
VERSION 3
SUPPRESS RDV USER SETUP No
DESCRIPTION
 +---------------------------------------------------------------+
 | 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.
 | 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  |
INPUT PARAMETER
  • CASENUMB
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    The 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".
    
  • STUDYDAT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    The value of this parameter is a (FileMan) date.
    This value represents the date on which the study took place.
    
RETURN PARAMETER DESCRIPTION
When an error occurs during the processing of this RPC,
   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
the output array consists only one element:
   OUT(16) = Accession Number
    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