Z81
Dispense History
To retrieve patient pharmacy dispense history information from the Server.
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 |
Message Structures
7 segments
R RequiredO Optional Choice
MSH
R1SFT
O*UAC
O1QPD
R1QBP
O1Hxx
O1RCP
R1DSC
O133 segments
R RequiredO Optional Choice
MSH
R1SFT
O*UAC
O1MSA
R1ERR
O1QAK
R1QPD
R1RCP
R1PATIENT
O1PID
R1PD1
O1NTE
O*VISIT
O1AL1
R*PV1
R1PV2
O1COMMON_ORDER
R*ORC
R1TIMING
O*TQ1
R1TQ2
O*ORDER_DETAIL
O1RXO
R1NTE
O*RXR
R*TREATMENT
O1RXC
R*NTE
O*ENCODED_ORDER
O1RXE
R1TIMING_ENCODED
O*TQ1
R1TQ2
O*RXR
R*RXC
O*RXD
R1RXR
R*RXC
O*OBSERVATION
R*OBX
O1NTE
O*DSC
O1Query Properties
Query Mode
BothQuery Type
QuerySegment Pattern
RDS_O01Query 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.