MAG DICOM LOOKUP CON STUDY (4670)    REMOTE PROCEDURE (8994)

Name Value
NAME MAG DICOM LOOKUP CON STUDY
TAG CONLKUP
ROUTINE MAGDRPCC
RETURN VALUE TYPE ARRAY
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 Consult
or a Procedure given the Accession Number.
  | 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
  • ACNUMB
    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 Accession Number for the study .  The accession number may
    be in either GMRC-<gmrcien> or <station number>-GMR-<gmrcien>
    format.
    
RETURN PARAMETER DESCRIPTION
 When an error occurs during the processing of this RPC,
     OUT(4) = PROCEDURE (internal ^ external, just ^ for Consults)
     OUT(5) = Consult or Procedure code
     OUT(6) = Consult or Procedure name
     OUT(7) = Coding scheme (99CON for Consult, 99PROC for Procedure)
     OUT(8) = CPT Code (if defined, or else OUT(5))
     OUT(9) = CPT Name (if defined, or else OUT(6))
     OUT(10) = CPT coding scheme (C4 or else OUT(7))
     OUT(11) = Date/time of last activity (FM D/T format)
     OUT(12) = CPRS Exam Status
     OUT(13) = Station Number
 the output array consists only one element:
     OUT(14) = Accession number (proper format)
     OUT(15) = GMRCIEN
     OUT(1) = -1,No Accession Number Specified
     OUT(1) = -2,Error in Accession Number Lookup
 
 Otherwise, the value of OUT(1) = 1, and there will
 be 14 additional elements in the output array:
     OUT(2) = DFN
     OUT(3) = SERVICE (internal ^ external)