HL7 v2.5.1 Specificationsv2.5.1

to moveEnter to openTry PID-5, ADT, 0004

OMP: Pharmacy/treatment order message

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

Recognising OMP messages

OMP announces itself in MSH-9 like this:

MSH-9OMP^O09^OMP_O09
  1. MSH-9.1OMPmessage code: what kind of message this is
  2. MSH-9.2O09trigger event: what happened in the real world: pharmacy/treatment order message
  3. MSH-9.3OMP_O09message 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

OMP takes 1 structure.

OMP_O09: Pharmacy/Treatment Order Message

Sent when one thing happens: O09: Pharmacy/Treatment Order Message.

You must always send: MSH, ORC, RXO, 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 9 segments, repeated togetherR1..*
ORCCommon OrderR1..1
TIMINGa group of 2 segments, repeated togetherO0..*
TQ1in TIMINGTiming/QuantityR1..1
TQ2in TIMINGTiming/Quantity Order SequenceO0..*
RXOPharmacy/Treatment OrderR1..1
NTENotes and Comments (for OBX)O0..*
RXRPharmacy/Treatment RouteR1..*
COMPONENTa group of 2 segments, repeated togetherO0..*
RXCin COMPONENTPharmacy/Treatment ComponentR1..1
NTEin COMPONENTNotes and Comments (for OBX)O0..*
OBSERVATIONa group of 2 segments, repeated togetherO0..*
OBXin OBSERVATIONObservation/ResultR1..1
NTEin OBSERVATIONNotes and Comments (for OBX)O0..*
FT1Financial TransactionO0..*
BLGBilling SegmentO0..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 7 such groups: PATIENT, PATIENT_VISIT, INSURANCE, ORDER, TIMING, COMPONENT, OBSERVATION.

Trigger events

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

EventNameStructure
O09Pharmacy/Treatment Order MessageOMP_O09