Print Page as PDF
DBIA293 ICR (293)

DBIA293    ICR (293)

Name Value
NUMBER 293
IA # 293
DATE CREATED 1993/10/18
CUSTODIAL PACKAGE HEALTH SUMMARY
CUSTODIAL ISC Salt Lake City
USAGE Private
TYPE Routine
ROUTINE GMTSLRSE
NAME DBIA293
ORIGINAL NUMBER 293
GENERAL DESCRIPTION
The Allergy Tracking System V3.0 uses a call to
XTRCT^GMTSLRSE to extract lab results.  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:
LRDFN = IFN of patient in Lab Data (63) file.
SEX = Sex of patient.
GMTS1 = Inverse end date of search for lab results.
GMTS2 = Inverse start date of search for lab results.
MAX = Maximum number of lab results to be extracted
TEST = IFN of lab test which results are sought in
Laboratory Test (60) file.  The data is returned in the following
array: @REF@("LRS",$J,NUM,IDT)=DDT^SPC^TST^RSL^FLG^UNT^LO^HI where:
REF = "^UTILITY" if Health Summary V1.2, or
"^TMP" if Health Summary V2.5+.
NUM = Order (1 to MAX).
IDT = Inverse draw date/time of result.
DDT = Draw date/time of result.
SPC = Specimen for lab order.  This variable has
format A;B where A is the internal pointer
and B is external printable form.  TST = Lab test ordered.  This
variable has format
A;B where A is the internal pointer and B
is external printable form.  RSL = Numeric result of test.  FLG =
Reference flag (H,*H,L,*L).  UNT = Unit of measure (external format).  LO =
Reference/Therapeutic Lower bound.  HI = Reference/Therapeutic Upper bound.

STATUS Retired
DURATION Till Otherwise Agreed
ID GMTSLRSE
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT VARIABLES
XTRCT
VARIABLES TYPE
LRDFN Input
SEX Input
GMTS1 Input
GMTS2 Input
MAX Input
TEST Input
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC
ADVERSE REACTION TRACKING Hines