visit the hl7 website The Demo site for our new HL7 Version 2+ (plus) Standard

18.4.175.2 Lab results history Query Profile (5.9.2.4)

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.

Query Profile

Segment Cardinality Implement Status
QBP^Z89^QBP_Q11
MSH

Message Header

[1..1] SHALL
ARV

Access Restriction

 
UAC

User Authentication Credential Segment

[0..1]  
QPD

Query Parameter Definition

[1..1] SHALL
QBP [0..1]  
Hxx

any HL7 segment

[0..1]  
RCP

Response Control Parameter

[1..1] SHALL
DSC

Continuation Pointer

[0..1]  

 

QBP_Q11

MSH-15 MSH-16 Immediate ACK Application Ack
Blank Blank - RSP^K11^RSP_K11
Blank Blank - RSP^Znn^RSP_Znn
Blank Blank - RSP^K31^RSP_K31
NE AL - RSP^K11^RSP_K11
NE AL - RSP^Znn^RSP_Znn
NE NE - -
AL, SU, ER AL ACK^Q11^ACK RSP^K11^RSP_K11
AL, SU, ER AL ACK^Znn^ACK RSP^Znn^RSP_Znn
AL, SU, ER NE ACK^Q31^ACK -
NE AL, SU, ER - RSP^K31^RSP_K31
AL, SU, ER AL, SU, ER ACK^Q31^ACK RSP^K31^RSP_K31
We need some ER7 examples...
We need some XML examples...
Segment Cardinality Implement Status
RSP^Z90^RSP_Z90
MSH

Message Header

[1..1] SHALL
SFT

Software Segment

 
MSA

Message Acknowledgment

[1..1] SHALL
ERR

Error

[0..1]  
QAK

Query Acknowledgment

[1..1] SHALL
QPD

Query Parameter Definition

[1..1] SHALL
RCP

Response Control Parameter

[1..1] SHALL
QUERY_RESPONSE [1..*] SHALL
PATIENT [0..1]  
PID

Patient Identification

[1..1] SHALL
PD1

Patient Additional Demographic

[0..1]  
NK1

Next of Kin / Associated Parties

 
NTE

Notes and Comments

 
VISIT [0..1]  
PV1

Patient Visit

[1..1] SHALL
PV2

Patient Visit - Additional Information

[0..1]  
COMMON_ORDER [1..*] SHALL
ORC

Common Order

[1..1] SHALL
TIMING  
TQ1

Timing/Quantity

[1..1] SHALL
TQ2

Timing/Quantity Relationship

 
OBR

Observation Request

[1..1] SHALL
NTE

Notes and Comments

 
CTD

Contact Data

[0..1]  
OBSERVATION [1..*] SHALL
OBX

Observation/Result

[0..1]  
NTE

Notes and Comments

 
SPECIMEN  
SPM

Specimen

[1..1] SHALL
OBX

Observation/Result

 
DSC

Continuation Pointer

[1..1] SHALL

 

RSP_Z90

MSH-15 MSH-16 Immediate ACK Application Ack
We need some ER7 examples...
We need some XML examples...

QPD Input Parameter Specification

QPD Input Parameter Field Description and Commentary

Input Specification: Virtual Table

Input Parameter Field Description and Commentary

RCP Response Control Parameter Field Description and Commentary

If a LOINC code is used as one of the operands of the input specification expression, all of the other OBX segments which are part of the same OBR as the selected OBX will be returned along with the selected OBX. In other words, if an OBX segment that is part of a panel is selected by the query, the entire panel will be returned.