MajwareMAJWARE
RXE
Pharmacy30 fields

RXEPharmacy/Treatment Encoded Order

Appears in RDE (pharmacy encoded order) messages. Generated by the pharmacy system after order verification.

The RXE segment contains the pharmacy-verified and encoded order details after pharmacist review. It carries the pharmacist's interpretation of the original order including specific drug, dose, and instructions.

Real-World Context

RXE is what the pharmacy actually plans to dispense after their clinical review. The give code in RXE.2 may differ from the ordered code in RXO.1 if the pharmacist made a therapeutic substitution. If nurses report receiving a different drug than what was ordered, compare RXO.1 (ordered) with RXE.2 (encoded) to see whether a substitution occurred that was not communicated.

Field Reference

Click any row to see the full description, common values, and troubleshooting tip.

#Field NameTypeReqMax Len
1Quantity/TimingTQR200
2Give CodeCER250
3Give Amount - MinimumNMR20
4Give Amount - MaximumNMO20
5Give UnitsCER250
6Give Dosage FormCEO250
7Provider's Administration InstructionsCEO250
8Deliver-to LocationLA1O200
9Substitution StatusIDO1
10Dispense AmountNMO20
11Dispense UnitsCEO250
12Number of RefillsNMO3
13Ordering Provider's DEA NumberXCNO250
14Pharmacist/Treatment Supplier's Verifier IDXCNO250
15Prescription NumberSTO20
16Number of Refills RemainingNMO20
17Number of Refills/Doses DispensedNMO20
18D/T of Most Recent Refill or Dose DispensedTSO26
19Total Daily DoseCQO10
20Needs Human ReviewIDO1
21Pharmacy/Treatment Supplier's Special Dispensing InstructionsCEO250
22Give Per (Time Unit)STO20
23Give Rate AmountSTO6
24Give Rate UnitsCEO250
25Give StrengthNMO20
26Give Strength UnitsCEO250
27Give IndicationCEO250
28Dispense Package SizeNMO20
29Dispense Package Size UnitCEO250
30Dispense Package MethodIDO2

Example Segment

HL7 v2.x Message
1RXE||1^BID^20260310080000|0069-0530-83^Amoxicillin 500mg caps^NDC|500|1000|mg^milligrams^UCUM|CAP^Capsule|WITH_FOOD^Take with food|4NORTH^401^A^MAIN|N|30|CAP^capsules|0|||RX20260310-001|3|0|20260310143205|1500^mg|||N|REFRIGERATE^Refrigerate|||500|mg^milligrams^UCUM|J18.9^Pneumonia^ICD10|30|CAP^capsules|UD

Related Segments

Used In Message Types

Parse messages with RXE in real time

Paste any HL7 message into our free viewer. Decodes every segment and field instantly, client-side.

Open HL7 Message Viewer →

Need HL7 mapping templates?

The HL7 Integration Toolkit includes field mapping worksheets, interface spec templates, and a go-live checklist for every major HL7 message type.

View HL7 Integration Toolkit →
← Back to HL7 Segment Reference