Z93

Tabular Dispense History

Find medications dispensed between specified date range for specified medical record numbers.

No description available in the specification.

Query/Response Flow

Query Message
QBP^Z93
QBP_Q13
Response Message
RTB^Z94
RTB_K13

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
VIRTUAL
SeqField NameTypeOptRepLenK/SSortOpTableSegment Field
1
PatientList
PID-3: Patient Identifier List
CXO20SYPID.3
2
PatientName
PID-5 Patient Name
XPN48-PID.5
3
MedicationDispensed
RXD-2 Dispense/Give Code
CWEO100SY=RXD.2
4
DispenseDate.LL
RXD-3 Date/Time Dispensed
DTMO24SY>=RXD.3
5
DispenseDate.UL
RXD-3 Date/Time Dispensed
DTMO24SY<=RXD.3

Message Structures

8 segments
R RequiredO Optional Choice
MSH
R1
SFT
O*
UAC
O1
QPD
R1
QBP
O1
Hxx
O1
RDF
O1
RCP
R1
DSC
O1
10 segments
R RequiredO Optional Choice
MSH
R1
SFT
O*
UAC
O1
MSA
R1
ERR
O1
QAK
R1
QPD
R1
ROW_DEFINITION
O1
RDF
R1
RDT
O*
DSC
O1

Query Properties

Query Mode
Both
Query Type
Query
Query Characteristics

Returns response sorted by Date Dispensed unless otherwise specified.

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.
6Sort-by Field-SRT256-
Sort-by FieldST-Segment field name of an output column by which the response may be sorted. SHALL contain a Y in the Sort column of the output specification table.
SequencingID-As specified in HL7 Table 0397- Sequencing. Default is Ascending.