Print Page as PDF
DBIA2877 ICR (2877)

DBIA2877    ICR (2877)

Name Value
NUMBER 2877
IA # 2877
DATE CREATED 1999/12/06
CUSTODIAL PACKAGE RADIOLOGY/NUCLEAR MEDICINE
CUSTODIAL ISC Chicago
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE RAO7PC3
NAME DBIA2877
GENERAL DESCRIPTION
Either EN3^RAO7PC3 or EN30^RAO7PC3 can be used to
return an entire Radiology/NM report, the same report that is automatically
e-mailed to the requesting physician when a report has been verified.
STATUS Active
KEYWORDS Radiology/NM report
DURATION Till Otherwise Agreed
ID RAO7PC3
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
EN3(X)
Returns: ^TMP($J,"RAE3",Patient IEN,Case
IEN,Procedure Name,n)=line n of report

The first line of the report passes the patient name (truncated to 20 chars
max), the SSN, and the age of the patient (at the time the software is
executed).

Example:
^TMP(539390038,"RAE3",21,1,"CHEST 2 VIEWS PA&LAT",1) = OUTPATIENT,SIXTEEN B
000-00-0000    72 yr. old male

Subscripts
----------
Patient ien: Internal entry number of the patient in both the
Rad/Nuc Med Patient file #70 and the Patient file #2.

Case IEN: Internal entry number of the exam that this date is
extracted from.

Procedure Name: Name of the procedure in the Rad/Nuc Med
Procedure file #71.  It is possible for users to change
the procedure prior to the exam reaching a 'COMPLETE'
status.

n: sequential number that corresponds to the nth line of the
report from Radiology/NM.


Additional output
-----------------

For subscript definitions, check the section called 'subscripts' listed above.


^TMP($J,"RAE3",Patient IEN,"PRINT_SET") Array Value
-----------
Null (exists if and only if this is a printset).


^TMP($J,"RAE3",Patient IEN,"ORD") Array Value
-----------
Name of ordered procedure for examsets and printsets.


^TMP($J,"RAE3",Patient IEN,"ORD",Case IEN) Array Value
-----------
Name of ordered procedure, this may differ from the procedure registered. This
global will be defined when the ordered procedure is not a parent procedure.
(Not an examset or printset).
VARIABLES TYPE VARIABLES DESCRIPTION
X Input
X can be either: Patient's DFN^inverse exam date^Case
IEN -or-
Patient's DFN^inverse exam date^

The first will retrieve a single report for a single exam. The second will
retrieve all reports for a set of exams that were ordered on the same order.
EN30(X)
Returns: ^TMP($J,"RAE3",Patient IEN,Case
IEN,Procedure Name,n)=line n of report

Subscripts
----------
Patient ien: Internal entry number of the patient in both the
Rad/Nuc Med Patient file #70 and the Patient file #2.

Case IEN: Internal entry number of the exam that this date is
extracted from.

Procedure Name: Name of the procedure in the Rad/Nuc Med
Procedure file #71. It is possible for users to change
the procedure prior to the exam reaching a 'COMPLETE'
status.

n: sequential number that corresponds to the nth line of the
report from Radiology/NM.

Additional output
-----------------

For subscript definitions, check the section called 'subscripts' listed above.

^TMP($J,"RAE3",Patient IEN,"PRINT_SET") Array Value
-----------
Null (exists if and only if this is a printset).


^TMP($J,"RAE3",Patient IEN,"ORD") Array Value
-----------
Name of ordered procedure for examsets and printsets.


^TMP($J,"RAE3",Patient IEN,"ORD",Case IEN) Array Value
-----------
Name of ordered procedure, this may differ from the procedure registered.
This global will be defined when the ordered procedure is not a parent
procedure. (Not an examset or printset).
VARIABLES TYPE VARIABLES DESCRIPTION
X Input
X is the internal entry number (ien) of the record in
the RAD/NUC MED REPORTS (#74) file.