Print Page as PDF
DBIA1958 ICR (1958)

DBIA1958    ICR (1958)

Name Value
NUMBER 1958
IA # 1958
DATE CREATED 1997/03/19
CUSTODIAL PACKAGE LAB SERVICE
CUSTODIAL ISC Salt Lake City
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE LR7OSUM
NAME DBIA1958
GENERAL DESCRIPTION
This API will get Lab results for a given patient based
on various input parameters.
STATUS Active
DURATION Till Otherwise Agreed
ID LR7OSUM
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
EN(Y,DFN,SDATE,EDATE,COUNT,GIOM,SUBHEAD)
This is a 'silent' call.  No prompts are given.  The
results are formatted and stored in the global: ^TMP("LRC",$J) "CH" type
results are stored in the pre-defined cumulative format.  Headers for each
format are stored in: ^TMP("LRH",$J,NAME)=line # An index of where tests can
be found in a report are found in:
^TMP("LRT",$J,print name)=header^line # of 1st occurrence Test entries
without a header means that the test is defined in the report, but there are
no results.
VARIABLES TYPE VARIABLES DESCRIPTION
Y Output
Tells the calling routine where the data is stored.
DFN Input
Internal number of the patient as stored in ^DPT(DFN
SDATE Input
Start date to search for results (optional)
EDATE Input
EDATE=End date to search for results (optional)
COUNT Input
COUNT=Count of results to send (optional)
GIOM Input
GIOM=Right margin - default 80 (optional)
SUBHEAD Input
SUBHEAD=Array of subheaders from file 64.5, misc,
micro & AP to show results.  Null param = get all results
GET64(Y)
This entry point will get a list, in Y(name) of all
the minor headers from the Lab Reports file.  It also includes in the Y array
the names of other report headers not included in the Lab Reports file such as
S Y("MISCELLANEOUS TESTS")=""
S Y("MICROBIOLOGY")=""
S Y("BLOOD BANK")=""
S Y("CYTOPATHOLOGY")=""
S Y("SURGICAL PATHOLOGY")=""
S Y("EM")=""

This call is intended to be used with EN^LR7OSUM when it is necessary to
pre-select a specific area within Lab for retreiving results.
VARIABLES TYPE VARIABLES DESCRIPTION
Y Output
This is the name of the array that the report headers
are returned in.
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC
IMAGING Washington/Silver Spring
ORDER ENTRY/RESULTS REPORTING Salt Lake City