HL7 v2.5.1 Specificationsv2.5.1

to moveEnter to openTry PID-5, ADT, 0004

RER: Pharmacy/treatment encoded order information

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

Recognising RER messages

RER announces itself in MSH-9 like this:

MSH-9RER^RER^RER_RER
  1. MSH-9.1RERmessage code: what kind of message this is
  2. MSH-9.2RERtrigger event: what happened in the real world
  3. MSH-9.3RER_RERmessage 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

RER takes 1 structure.

RER_RER

Sent when one thing happens: RER: RER.

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

SegmentNameOPTCardinality
MSHR1..1
MSAR1..1
ERRO0..*
SFTO0..*
DEFINITIONa group of 4 segments, repeated togetherR1..*
QRDR1..1
QRFO0..1
PATIENTa group of 2 segments, repeated togetherO0..1
PIDin PATIENTR1..1
NTEin PATIENTO0..*
ORDERa group of 4 segments, repeated togetherR1..*
ORCR1..1
RXER1..1
RXRR1..*
RXCO0..*
DSCO0..1

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 3 such groups: DEFINITION, PATIENT, ORDER.

Trigger events

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

EventNameStructure
RERRERRER_RER