Print Page as PDF
Rad/Nuc Med exam case numbers linked to an order ICR (2268)

Rad/Nuc Med exam case numbers linked to an order    ICR (2268)

Name Value
NUMBER 2268
IA # 2268
DATE CREATED 1998/01/20
CUSTODIAL PACKAGE RADIOLOGY/NUCLEAR MEDICINE
CUSTODIAL ISC Chicago
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE RAO7PC1
NAME Rad/Nuc Med exam case numbers linked to an order
GENERAL DESCRIPTION
CASE^RAO7PC1 is an extrinsic function that can be used
to retrieve the exam case numbers associated with an order.  It returns the
case numbers, the total number of exams linked to the order, and a flag
indicating whether these exams are linked to a single report.
STATUS Active
DURATION Till Otherwise Agreed
ID RAO7PC1
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION
CASE(RAOIFN,RARRAY)
CASE^RAO7PC1(RAOIFN,RARRAY)
Input: RAOIFN = Internal entry number of the order requested.

RARRAY = This is the local array name in which the subscribing
package would like data returned.  Returns an array subscripted
by case number(s) for non-cancelled exam(s) associated with the
order.  It also returns a string in which the first piece is
the number of exam(s) linked to the order.  The second piece
indicates whether or not the exam(s) are part of a printset.

Output: local_array_name(case number)=total number of exams
-or- error code^printset -or- error code text

subscripts
----------
Case Number: This is the case number of the non-cancelled exam
linked to an order.  All registered exams have case numbers.

array value (in ascending order)
--------------------------------

First Piece:  This can be a positive number indicating
the number of exam(s) registered for a single order.  It also
may be an error code.  For example, if an order is requested
for an exam set, and we register three exams, the first piece
would be a three.  An error code of '-1' will exist if the
order number is invalid.  An error code of '-2' will exist
if all the exams for this order are cancelled, or if we have
not registered exams for the order at the time of the data
extract.

Second Piece: If the second piece equals the string,
'PRINTSET', the exams are part of a special exam set.  The
PRINTSET links all the exams of an exam set to a single report.
If the first piece is a negative number, then the second piece
defines the error code.  Examples: 'cases cancelled', 'no case
registered to date' or 'invalid order ien' are valid error code
descriptors.
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC
ORDER ENTRY/RESULTS REPORTING Salt Lake City