Print Page as PDF
DBIA4658 ICR (4658)

DBIA4658    ICR (4658)

Name Value
NUMBER 4658
IA # 4658
DATE CREATED 2005/10/11
CUSTODIAL PACKAGE LAB SERVICE
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE LRRPU
NAME DBIA4658
GENERAL DESCRIPTION
Laboratory API to retrieve from LAB DATA file #63
laboratory test results associated with the "CH" subscript. In addition to the
actual test result, it also returns those values associated with the test
result such as normality, units, normals, performing laboratory and associated
order and result codes.
STATUS Active
DURATION Till Otherwise Agreed
ID LRRPU
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
$$TSTRES
Entry point to return a test result and associated
information for a specific test result stored with the "CH" subscript of the
LAB DATA file (#63).
VARIABLES TYPE VARIABLES DESCRIPTION
LRDFN Input
Internal entry number (IEN) of the patient 's record
in LAB DATA file #63.
LRSS Input
Subscript in file #63, currently only "CH" supported.

LRIDT Input
Inverse date/time of result being requested.
LRDN Input
IEN of data name in file #63 "CH" subscript
LR60 Input
Pointer to file 60 test related to this dataname
(optional).
LRCODE Input
1 - return NLT/LOINC codes (optional).
LRY Output
Test result is returned as a "^" delimited string.

result^normalcy flag^reference low^reference high^units^
performing lab (file #4 ien)^therapeutic normal used (0=no/1=yes)^
NLT order code;NLT name!NLT result code;NLT name!LOINC result code;LOINC
name^
performing user(DUZ)^EII

PIECE | PARAMETER
-------------------
1     | result
2     | normalcy (L=low, H=high, L*=critical low, H*=critical high)
3     | reference low
4     | reference high
5     | units
6     | performing laboratory
- pointer to INSTITUTION file (#4)
7     | therapeutic normal used (0=no/1=yes)
8     | National Laboratory Test order code;NLT order code name
!NLT result code; NLT result code name
!LOINC result code; LOINC result code name
(This piece returns multiple codes delimited by
"!" within each code it's further delimited by ";"
to indicate the code and the code text)
9     | User who performed the test
- pointer to NEW PERSON file (#200)
10    | Equipment Instance Identifier (EII)
- make/model/serial of instrument


An example of output:
S LRY=$$TSTRES^LRRPU(905,"CH",6949781.836081,5,"",1)

LRY=155^H*^135^148^MMOL/L^170^0^81116.0000;Auto Chem 9
test!84295.0000;Sodium!2951;SODIUM:SCNC:PT:SER/PLAS:QN^235^

Piece  | Value
1      | 155
2      | H*
3      | 135
4      | 148
5      | MMOL/L
6       | 170
7      | 0
8      | 81116.0000;Auto Chem 9
test!84295.0000;Sodium!2951;SODIUM:SCNC:PT:SER/PLAS:QN
8.1    | 81116.0000;Auto Chem 9 test
8.2    | 84295.0000;Sodium
8.3    | 2951;SODIUM:SCNC:PT:SER/PLAS:QN
9      | 235


S LRY=$$TSTRES^LRRPU(61,"CH",7049475.91,452,"",1)
LRY=116^H^30^90^mm Hg^170^0^82884.0000;Blood Gas POC!82880.0000;PO2 Direct
Reading!2703;OXYGEN:PPRES:PT:BLDA:QN^235^;;UJ32018960;Roche GTS/HQ/Inform

Piece  | Value
1      | 116
2      | H
3      | 30
4      | 90
5      | mm HG
6      | 170
7      | 0
8       | 82884.0000;Blood Gas POC!82880.0000;PO2 Direct
Reading!2703;OXYGEN:PPRES:PT:BLDA:QN
8.1    | 82884.0000;Blood Gas POC
8.2    | 82880.0000;PO2 Direct Reading
8.3    | 2703;OXYGEN:PPRES:PT:BLDA:QN
9      | 235
10     | ;;UJ32018960;Roche GTS/HQ/Inform
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE SUBSCRIBING DETAILS
PHARMACY BENEFITS MANAGEMENT
HEALTH SUMMARY
ORDER ENTRY/RESULTS REPORTING
DSS - DECISION SUPPORT SYSTEM EXTRACTS
ADDED 6/6/2011