RDE^O11 — Pharmacy / Treatment Encoded Order
The pharmacist has encoded the order: unit dose computed, route confirmed, frequency and duration standardised. RDE is ready for dispensation by the robot or central pharmacy.
Purpose
RDE^O11 is typically emitted by: a CPOE when the order is captured already in encoded form (calibrated against institutional protocols), or by the pharmacy after transforming an OMP^O09 (pharmaceutical validation). RDE is the natural input for the dispensation module, which replies with RDS^O13 on delivery.
Segment structure
Structure RDE_O11: MSH, PID, [PV1], then Order block repeated: ORC + RXE + [RXR…] + [RXC…] + [OBX…] + [Timing/Quantity].
- ORC: Common Order — function code (NW, RP, RU, DC, CA).
- RXE: Pharmacy/Treatment Encoded Order — computed dose, frequency (Q8H, BID…), duration, target dispenser.
- RXR: Route — confirmed administration route.
- RXC: Component — for compounded solutions.
- OBX: linked clinical observations (weight, creatinine, blood levels).
Real-world example
Amoxicillin 500 mg PO Q8H for 7 days (encoded order):
MSH|^~\&|CPOE|HOSP01|SIP|HOSP01|20260516170000||RDE^O11^RDE_O11|MSG00110001|P|2.5.1|||AL|NE
PID|1||MRN567890^^^HOSP^MR||DOE^JOHN^A^^MR.||19720515|M
PV1|1|I|MED^205^A^HOSP01|EM|||DRSMITH|||MED|||1|||DRSMITH|ADM|||||||||||||||||||HOSP01
ORC|NW|ORD12345^CPOE|RX67890^PHARMACY|||SC|||||DRSMITH^Smith^James^A^^DR.
RXE|^Q8H^^20260516170000^20260523170000^R|001234^AMOXICILLIN 500MG^NDC|500|||MG|TAB|||3|||TID for 7 days|||||||1|TAB|2|PHARM01|||||||500|MG
RXR|PO^ORAL Acknowledgment
MSH|^~\&|SIP|HOSP01|CPOE|HOSP01|20260516170001||ACK^O11^ACK|ACK00110001|P|2.5.1
MSA|AA|MSG00110001 Common errors
- Empty RXE-1 (Quantity/Timing): no frequency — pharmacy cannot schedule administrations.
- Missing RXE-22 (Dispense Quantity): the robot does not know how many units to release.
- RXE-2 without NDC or valid CIS code: ambiguous product identifier, risk of wrong dispensation.
- RDE sent without prior OMP: acceptable but unusual — the pharmacist must have the medical justification.
Related messages
| Code | Type | Description |
|---|---|---|
| OMP^O09 | Order | Raw order (CPOE). |
| RDE^O11 | Encoded order | This page. |
| RRE^O12 | Response | RDE application ack. |
| RDS^O13 | Dispense | Dispensation performed. |
| RAS^O17 | Administration | Administration to patient. |
| RGV^O15 | Give | Preparation to administer. |