| GENERAL DESCRIPTION | 
The Allergy Tracking System V3.0 uses a call to
XTRCT^GMTSLROE to extract lab order data.  A call to ^%ZOSF("TEST") is used to
check for the existence of this routine on the system before it is called.
The input variables are: DFN = IFN of patient in Patient file.  SEX = Sex of
patient.  GMTS1 = Inverse end date of search for lab orders.  GMTS2 = Inverse
start date of search for lab orders.  MAX = Maximum number of lab orders to be
extracted The data is returned in the following array:
@REF@("LRO",$J,IDT,SN_FN)=CDT^TST^SPC^URG^OS^MD^ODT
^ACC^RDT^COL^CD where: REF = "^UTILITY" if Health
Summary V1.2, or
"^TMP" if Health Summary V2.5+.  IDT = Inverse collection date/time
of order.  SN = IFN in Specimen # (1) multiple of Lab Order
Entry (69) file.  FN = IFN in Test (6) multiple of Specimen # (1)
multiple of Lab Order Entry (69) file.  CDT = Collection date/time of
order.  TST = Lab test ordered.  This variable has format
A;B where A is the internal pointer and B
is external printable form.  SPC = Specimen for lab order.  This
variable has
format A;B where A is the internal pointer
and B is external printable form.  URG = Urgency of lab order.  OS =
Status of lab order.  MD = Provider.  This variable has format A;B
where A is the internal pointer and B is
external printable form.  ODT = Date/Time lab ordered.  ACC = Accession
number of lab order.  RDT = Date/Time results for this lab order
available.  COL = Lab or ward collect.  CD = IFN in Lab Order Entry (69)
file.
 |