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
Input Fields
QPD
| Seq | Field Name | Type | Opt | Rep | Len | K/S | Sort | Op | Table | Segment Field |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | MessageQueryName | CWE | R | 60 | - | |||||
| 2 | QueryTag | ST | R | 32 | - | |||||
| 3 | PatientList PID-3: Patient Identifier List | CX | O | 20 | S | Y | PID.3 | |||
| 4 | MedicationDispensed RXD-2: Dispense/Give Code | CWE | O | 100 | S | Y | = | RXD.2 | ||
| 5 | DispenseDate.LL RXD-3: Date/Time Dispensed | DTM | O | 24 | S | Y | > = | RXD.3 | ||
| 6 | DispenseDate.UL RXD-3: Date/Time Dispensed | DTM | O | 24 | S | Y | < = | RXD.3 |
VIRTUAL
| Seq | Field Name | Type | Opt | Rep | Len | K/S | Sort | Op | Table | Segment Field |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | PatientList PID-3: Patient Identifier List | CX | O | 20 | S | Y | PID.3 | |||
| 2 | PatientName PID-5 Patient Name | XPN | 48 | - | PID.5 | |||||
| 3 | MedicationDispensed RXD-2 Dispense/Give Code | CWE | O | 100 | S | Y | = | RXD.2 | ||
| 4 | DispenseDate.LL RXD-3 Date/Time Dispensed | DTM | O | 24 | S | Y | >= | RXD.3 | ||
| 5 | DispenseDate.UL RXD-3 Date/Time Dispensed | DTM | O | 24 | S | Y | <= | RXD.3 |
Message Structures
8 segments
R RequiredO Optional Choice
MSH
R1SFT
O*UAC
O1QPD
R1QBP
O1Hxx
O1RDF
O1RCP
R1DSC
O110 segments
R RequiredO Optional Choice
MSH
R1SFT
O*UAC
O1MSA
R1ERR
O1QAK
R1QPD
R1ROW_DEFINITION
O1RDF
R1RDT
O*DSC
O1Query Properties
Query Mode
BothQuery Type
QueryQuery Characteristics
Returns response sorted by Date Dispensed unless otherwise specified.
Response Control Parameters (RCP)
| Seq | Name | Component | Type | Len | Description |
|---|---|---|---|---|---|
| 1 | Query Priority | - | ID | 1 | (D)eferred or (I)mmediate. Default is I. |
| 2 | Quantity Limited Request | - | CQ | 10 | - |
| ↳Quantity | NM | - | 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. | ||
| ↳Units | CWE | - | CHaracters, LInes, PaGes, or RecorDs. Default is LI. | ||
| 5 | Response Modality | - | CWE | 60 | Real time or Batch. Default is R. |
| 6 | Sort-by Field | - | SRT | 256 | - |
| ↳Sort-by Field | ST | - | 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. | ||
| ↳Sequencing | ID | - | As specified in HL7 Table 0397- Sequencing. Default is Ascending. |