HL7 v2.5.1 Specificationsv2.5.1

to moveEnter to openTry PID-5, ADT, 0004

RDE: Pharmacy/treatment encoded order message

This page lists the structures and trigger events RDE defines, taken from the standard. The written commentary that theADT page carries has not been written for RDE.

Recognising RDE messages

RDE announces itself in MSH-9 like this:

MSH-9RDE^O11^RDE_O11
  1. MSH-9.1RDEmessage code: what kind of message this is
  2. MSH-9.2O11trigger event: what happened in the real world: pharmacy/treatment encoded order message
  3. MSH-9.3RDE_O11message structure: which segments to expect, and in what order

How to use these specifications explains MSH-9 in full, with a worked example.

Message structures

RDE takes 1 structure.

RDE_O11: Pharmacy/Treatment Encoded Order Message

2 different trigger events send this structure:

The segments below are the same for all 2. HL7 varies the meaning, not the shape: there is no separate RDE_O25 layout. What changes is MSH-9, which tells the receiver which of the 2 happened and therefore what to do with the message.

You must always send: MSH, ORC, RXE, TQ1, RXR. Everything else is optional, or required only inside a group you chose to send.

SegmentNameOPTCardinality
MSHMessage HeaderR1..1
SFTSoftwareO0..*
NTENotes and Comments (for OBX)O0..*
PATIENTa group of 7 segments, repeated togetherO0..1
PIDin PATIENTPatient IdentificationR1..1
PD1in PATIENTAdditional DemographicsO0..1
NTEin PATIENTNotes and Comments (for OBX)O0..*
PATIENT_VISITin PATIENTa group of 2 segments, repeated togetherO0..1
PV1in PATIENT_VISITPatient VisitR1..1
PV2in PATIENT_VISITPatient Visit – Additional InfoO0..1
INSURANCEin PATIENTa group of 3 segments, repeated togetherO0..*
IN1in INSURANCEInsuranceR1..1
IN2in INSURANCEInsurance Additional InfoO0..1
IN3in INSURANCEInsurance Add'l Info - Cert.O0..1
GT1in PATIENTGuarantorO0..1
AL1in PATIENTAllergy InformationO0..*
ORDERa group of 12 segments, repeated togetherR1..*
ORCCommon OrderR1..1
TIMINGa group of 2 segments, repeated togetherO0..*
TQ1in TIMINGTiming/QuantityR1..1
TQ2in TIMINGTiming/Quantity Order SequenceO0..*
ORDER_DETAILa group of 4 segments, repeated togetherO0..1
RXOin ORDER_DETAILPharmacy/Treatment Prescription OrderR1..1
NTEin ORDER_DETAILNotes and Comments (for OBX)O0..*
RXRin ORDER_DETAILPharmacy/Treatment RouteR1..*
COMPONENTin ORDER_DETAILa group of 2 segments, repeated togetherO0..*
RXCin COMPONENTPharmacy/Treatment Component (for RXE)R1..1
NTEin COMPONENTNotes and Comments (for OBX)O0..*
RXEPharmacy/Treatment Encoded OrderR1..1
NTENotes and Comments (for OBX)O0..*
TIMING_ENCODEDa group of 2 segments, repeated togetherR1..*
TQ1Timing/QuantityR1..1
TQ2Timing/Quantity Order SequenceO0..*
RXRPharmacy/Treatment RouteR1..*
RXCPharmacy/Treatment Component (for RXE)O0..*
OBSERVATIONa group of 2 segments, repeated togetherO0..*
OBXin OBSERVATIONResultsR1..1
NTEin OBSERVATIONNotes and Comments (for OBX)O0..*
FT1Financial DetailO0..*
BLGBilling SegmentO0..1
CTIClinical Trial IdentificationO0..*

R inside a group means required of that group. Send the group and you must include that segment; leave the group out and it never appears. This structure has 9 such groups: PATIENT, PATIENT_VISIT, INSURANCE, ORDER, TIMING, ORDER_DETAIL, COMPONENT, TIMING_ENCODED, OBSERVATION.

Trigger events

The trigger event is the real-world thing that made the message get sent. RDE defines 2.

EventNameStructure
O11Pharmacy/Treatment Encoded Order MessageRDE_O11
O25Pharmacy/Treatment Refill Authorization Request MessageRDE_O11