Z89

Lab Results History

To retrieve patient laboratory results information from the Server.

The "Lab Results History" query returns laboratory results information in the form of the Segment Pattern Response corresponding to the ORU^R01 – unsolicited transmission of an observation message. It returns all of the results which meet the criteria defined in the QPD – Query Parameter Definition Segment of the RSP^R11 – Segment Pattern Response message.

QPD Input Parameter Specification

Query/Response Flow

Query Message
QBP^Z89
QBP_Q11
Response Message
RSP^Z90
RSP_Z90

Input Fields

QPD
SeqField NameTypeOptRepLenK/SSortOpTableSegment Field
1
MessageQueryName
CWER60-
2
QueryTag
STR32-
3
SelectionCriteria
STR*255-
VIRTUAL
SeqField NameTypeOptRepLenK/SSortOpTableSegment Field
1
PatientList
PID-3: Patient Identifier List
CXO20SYPID.3
2
ResultReportTime.LL
OBR-22: Results rpt/status chng – date/time – lower limit
DTMO26-OBR.22
3
ResultReportTime.UL
OBR-22: Results rpt/status chng – date/time – upper limit
DTMO26-OBR.22
4
LabDept
OBR-24: Diagnostic Serv Sect ID
CWEO*80-74OBR.24
5
LOINCCode
OBX-3-4: Observation identifier – alternate identifier
CWEO*80-OBX.3.4

Message Structures

8 segments
R RequiredO Optional Choice
MSH
R1
ARV
O*
SFT
O*
UAC
O1
QPD
R1
QBP
O1
Hxx
O1
RCP
R1
DSC
O1
25 segments
R RequiredO Optional Choice
MSH
R1
SFT
O*
UAC
O1
MSA
R1
ERR
O1
QAK
R1
QPD
R1
RCP
R1
PATIENT
O1
PID
R1
PD1
O1
NK1
O*
NTE
O*
VISIT
O1
PV1
R1
PV2
O1
COMMON_ORDER
R*
ORC
R1
TIMING
O*
TQ1
R1
TQ2
O*
OBR
R1
NTE
O*
CTD
O1
OBSERVATION
R*
OBX
O1
NTE
O*
SPECIMEN
O*
SPM
R1
OBX
O*
DSC
R1

Query Properties

Query Mode
Both
Segment Pattern
ORU_O01
Query Characteristics

May specify patient, report time, laboratory department, and LOINC code of result to be returned.

Response Control Parameters (RCP)

SeqNameComponentTypeLenDescription
1Query Priority-ID1(D)eferred or (I)mmediate. Default is I.
2Quantity Limited Request-CQ10-
QuantityNM-Number of units (specified by the following component) that will be returned in each increment of the response. If no value is given, the entire response will be returned in a single increment.
UnitsCWE-CHaracters, LInes, PaGes, or RecorDs. Default is LI.
5Response Modality-CWE60Real time or Batch. Default is R.
6Segment group inclusion-ID256What segment group(s) are to be included. If this field is not valued, all segment groups will be included.