MAG RAD GET NEXT RPT BY DATE

TITLEVALUE
NAMEMAG RAD GET NEXT RPT BY DATE
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 looks for the next radiology report,
while traversing the "AR" cross-reference on
the Radiology Patient file.

This RPC looks for the next radiology report,
while traversing the "AR" cross-reference on
the Radiology Patient file.
TAGNEXT
ROUTINEMAGDRPC9
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERSEED
DESCRIPTIONThe value of this parameter is a string that consists of three
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,
based on the specified "seed" value, and will return the
first pointer to a Radiology report that it encounters.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH60

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERDIR
DESCRIPTIONThe 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.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH20

RETURN VALUE TYPESINGLE VALUE
RETURN PARAMETER DESCRIPTIONThe value of the output parameter is a string that consists of up
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
next call to this RPC.
AVAILABILITYRESTRICTED
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ONFALSE
VERSION3
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED