MAG RAD GET NEXT RPT BY DATE (2217)    REMOTE PROCEDURE (8994)

Name Value
NAME MAG RAD GET NEXT RPT BY DATE
TAG NEXT
ROUTINE MAGDRPC9
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
VERSION 3
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 looks for the next radiology report,
while traversing the "AR" cross-reference on
the Radiology Patient file.
 
 | Property of the US Government.                                |
This RPC looks for the next radiology report,
while traversing the "AR" cross-reference on
the Radiology Patient file.
 | 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
  • SEED
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   60
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    The value of this parameter is a string that consists of three
    based on the specified "seed" value, and will return the
    first pointer to a Radiology report that it encounters.
    pieces, separated by a caret.
     
    The first piece represents the EXAM DATE, the second
    piece represents the Patient Number (DFN) and  the third
    piece represents the final internal entry number in the
    Radiology Patient file (D2).
     
    The RPC will start looking through the "AR" cross-reference,
    
  • DIR
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    The value of this parameter is a string that indicates the direction
    in which the RPC will traverse the "AR" cross-reference.
    A value that starts with the letter "A" will cause an
    "ascending" traversal.
    A value that starts with the letter "D" will cause a
    "descending" traversal.
     
    When this parameter is not specified, "ascending" traversal will take place.
    
RETURN PARAMETER DESCRIPTION
The value of the output parameter is a string that consists of up
next call to this RPC.
to four pieces, separated by carets.
 
The first piece is a value that is either equal to "-1" to indicate
that no further reports are to be found, or equal to a pointer value
that identifies a Radiology Report (file #74).
 
The other three pieces correspond to Exam Date, Patient Number (DFN)
and final IEN (D2) to be specified as the "seed" value in the