Z81

Dispense History

To retrieve patient pharmacy dispense history information from the Server.

No description available in the specification.

Query/Response Flow

Query Message
QBP^Z81
QBP_Q11
Response Message
RSP^Z82
RSP_Z82

Input Fields

QPD
SeqField NameTypeOptRepLenK/SSortOpTableSegment Field
1
MessageQueryName
CWER60-
2
QueryTag
STR32-
3
PatientList
PID-3: Patient Identifier List
CXO20SYPID.3
4
MedicationDispensed
RXD-2: Dispense/Give Code
CWEO100SY=RXD.2
5
DispenseDate.LL
RXD-3: Date/Time Dispensed
DTMO24SY> =RXD.3
6
DispenseDate.UL
RXD-3: Date/Time Dispensed
DTMO24SY< =RXD.3

Message Structures

7 segments
R RequiredO Optional Choice
MSH
R1
SFT
O*
UAC
O1
QPD
R1
QBP
O1
Hxx
O1
RCP
R1
DSC
O1
33 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
NTE
O*
VISIT
O1
AL1
R*
PV1
R1
PV2
O1
COMMON_ORDER
R*
ORC
R1
TIMING
O*
TQ1
R1
TQ2
O*
ORDER_DETAIL
O1
RXO
R1
NTE
O*
RXR
R*
TREATMENT
O1
RXC
R*
NTE
O*
ENCODED_ORDER
O1
RXE
R1
TIMING_ENCODED
O*
TQ1
R1
TQ2
O*
RXR
R*
RXC
O*
RXD
R1
RXR
R*
RXC
O*
OBSERVATION
R*
OBX
O1
NTE
O*
DSC
O1

Query Properties

Query Mode
Both
Query Type
Query
Segment Pattern
RDS_O01
Query Characteristics

May specify patient, medication, a date range, and how the response is to be sorted.

Response Characteristics

Sorted by Medication Dispensed unless otherwise specified in SortControl.