MAGJ RADACTIVEEXAMS (1130)    REMOTE PROCEDURE (8994)

Name Value
NAME MAGJ RADACTIVEEXAMS
TAG ACTIVE
ROUTINE MAGJLS2
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON TRUE
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 procedure is used by the Radiology Imaging Workstation to display
listings of radiology exams:
  1) UNREAD Exams--list all Active exams for selected modalities (Rad
     Imaging Types) having an Exam Status of "Examined" (or its
     equivalent).
 | Property of the US Government.                                |
  2) RECENT Exams--list all Active exams for selected modalities (Rad
     Imaging Types) EXCEPT those having an Exam Status of "Examined" (or
     its equivalent).
  3) ALL ACTIVE--Lists the union of the above two lists.
 | 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
  • DATA
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   50
    REQUIRED:   YES
    DESCRIPTION:   
    The input string supplies two parameters: LIST_TYPE ^ MODALITY
      LIST_TYPE:  "U"--UNREAD Exams List; or, 
                  "R"--RECENT Exams List
                   "ALL"--All Active Exams
      MODALITY:   "ALL"--list for all modalities; or,
                  ABB[^ABB^...] where ABB is the Radiology Imaging Type
                    Abbreviation (Imaging Types will correspond to modalities)
    
RETURN PARAMETER DESCRIPTION
ARRAY(0)     = # Exams Found ^ Text for listing title, or error message
        RADFN ^ RADTI ^ RACNI ^ RANME ^ RASSN ^ RADATE ^ RADTE ^ RACN ^
        RAPRC ^ RARPT ^ RAST
ARRAY(1)     = List Column Headings, delimited by "^"
ARRAY(2..N+1)= Exam data for display, delimited by "^", followed by exam
               data as stored by Radiology package routine RAPTLU in ^TMP
 
  Display data: ^ DAYCASE # ^ PAT. NAME ^ PAT ABB. ^ URGENCY ^ PROCEDURE ^
     EXAM DATE ^ EXAM STATUS ^ # IMAGES ^ IMAGES ON MAG DISK? ^ EXAM LOC.
     ^ ^TMP($J,"RAEX",
      Data from ^TMP (expressed as Rad Pkg variable names):