Query by parameter qbp^q11/rsp^z90, Segments, Qbp^q11 query segments and their hl7 attributes – Welch Allyn Connectivity Server - Programmers guide User Manual
Page 37
Programmer’s Guide
WACS outbound HL7 messages
33
Query by parameter
QBP^Q11/RSP^Z90
Segments
QBP^Q11 query segments and their HL7 attributes
Segment QPD: Query parameter definition
QPD-1: Ignored
QPD-2: Ignored
QPD-3: Conditionally required (Patient IDs)
QPD-4: Conditionally required (Patient Location)
QPD-5: Required (Start/End Time and Interval)
QPD-6: Required (Data Requested)
Table 19. QBP^Q11—query by parameter message
Segment
Description
WACS segment
requirement
MSH
Message Header
R
QPD
Query Parameter Definition Segment
R
[...]
Optional Query by Example Segments
I
RCP
Response Control Parameters
I
[DSC]
Continuation Pointer
I
Table 20. HL7 attributes—QPD (query parameter definition)
SEQ
LEN
DT
OPT
RP
TBL#
Item#
Element name
1
250
CE
R
0471
01375
Message Query Name
2
32
ST
C
00696
Query Tag
3
CX
C
Y
Patient IDs
4
PL
C
Y
Patient Location
5
TQ
R
N
Timing Quantity
6
ST
R
Y
Parameter