| DFN | 
Input | 
IEN of PATIENT file (#2)  (REQUIRED)
 
 | 
ORDER | 
Input | 
Lab order number
 
 | 
BEG | 
Input | 
Beginning date for results search  (OPTIONAL)
 
 | 
END | 
Input | 
Ending date for results search  (OPTIONAL)
 
 | 
SUB | 
Input | 
Lab subsection of CH,MI,AP or ALL (OPTIONAL - default
is ALL)
 
 | 
TEST | 
Input | 
Pointer to LABORATORY TEST file (#60)  (OPTIONAL - if
nothing passed, gets all results)
 
 | 
FLAG | 
Input | 
L for LOCAL or N for NATIONAL.  Denotes test ID used.
(OPTIONAL)
 
 | 
MAX | 
Input | 
Maximum number of results to return (OPTIONAL)
 
 | 
TMP('LRRR', | 
Output | 
TMP("LRRR",$J,DFN,SUB,inverse date/time,sequence #)
set to:
= Test^result^L/N flag^units^reference range^result status^^^Nat'l
Code^Name^System^Verified by^^Ther flag^Print Name^Accession^Order#
Note:  Test is a pointer to the LABORATORY TEST file (#60).
 |