Q31
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 | CE | 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 | CE | O | 100 | S | Y | = | RXD.2 | ||
| 5 | DispenseDate.LL RXD-3: Date/Time Dispensed | TS | O | 26 | S | Y | > = | RXD.3 | ||
| 6 | DispenseDate.UL RXD-3: Date/Time Dispensed | TS | O | 26 | S | Y | < = | RXD.3 |
Message Structures
5 segments
R RequiredO Optional Choice
MSH
R1SFT
O*QPD
R1RCP
R1DSC
O132 segments
R RequiredO Optional Choice
MSH
R1MSA
R1ERR
O*SFT
O*QAK
R1QPD
R1RCP
R1PATIENT
O1PID
R1PD1
O1NTE
O*AL1
O*PATIENT_VISIT
O1PV1
R1PV2
O1ORDER
R*ORC
R1TIMING
O*TQ1
R1TQ2
O*ORDER_DETAIL
O1RXO
R1NTE
O*RXR
R*COMPONENTS
O*RXC
R1NTE
O*ENCODING
O1RXE
R1TIMING_ENCODED
R*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.