Print Page as PDF
DBIA136 ICR (136)

DBIA136    ICR (136)

Name Value
NUMBER 136
IA # 136
DATE CREATED 2004/01/27
CUSTODIAL PACKAGE HEALTH SUMMARY
CUSTODIAL ISC Salt Lake City
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE GMTSLROE
NAME DBIA136
ORIGINAL NUMBER 136
STATUS Active
DURATION Till Otherwise Agreed
ID GMTSLROE
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
XTRCT
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:
^UTILITY("LRO",$J,IDT,SN_FN)=CDT^TST^SPC^URG^OS^MD^ODT^ACC^RDT^COL^CD

where:
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 (69) 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 the 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.
VARIABLES TYPE VARIABLES DESCRIPTION
DFN Input
SEX Input
GMTS1 Input
GMTS2 Input
MAX Input
~TMP("LRO",$J, Output
IA 532 permits setting this global.  It's an output
from XTRCT.  It may be killed before calling and after use after the call.
SUBSCRIBING PACKAGE ORDER ENTRY/RESULTS REPORTING