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 | 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
6 segments
R RequiredO Optional Choice
MSH
R1SFT
O*UAC
O1QPD
R1RCP
R1DSC
O138 segments
R RequiredO Optional Choice
MSH
R1MSA
R1ERR
O*SFT
O*UAC
O1QAK
R1QPD
R1RCP
R1PATIENT
O1PID
R1ADDITIONAL_DEMOGRAPHICS
O1PD1
R1PRT
O*NTE
O*AL1
O*PATIENT_VISIT
O1PV1
R1PV2
O1PRT
O*ORDER
R*ORC
R1TIMING
O*TQ1
R1TQ2
O*ORDER_DETAIL
O1RXO
R1NTE
O*RXR
R*COMPONENTS
O*RXC
R1NTE
O*ENCODING
O1RXE
R1NTE
O*TIMING_ENCODED
R*TQ1
R1TQ2
O*RXR
R*RXC
O*RXD
R1PRT
O*RXR
R*RXC
O*OBSERVATION
O*OBX
R1PRT
O*NTE
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.