HL7 v2.5.1 Specificationsv2.5.1

to moveEnter to openTry PID-5, ADT, 0004

OMG: General clinical order message

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

Recognising OMG messages

OMG announces itself in MSH-9 like this:

MSH-9OMG^O19^OMG_O19
  1. MSH-9.1OMGmessage code: what kind of message this is
  2. MSH-9.2O19trigger event: what happened in the real world: general clinical order message
  3. MSH-9.3OMG_O19message 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

OMG takes 1 structure.

OMG_O19: general clinical order message

Sent when one thing happens: O19: general clinical order message.

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

SegmentNameOPTCardinality
MSHMessage HeaderR1..1
SFTSoftwareO0..*
NTENotes and Comments - previous resultO0..*
PATIENTa group of 8 segments, repeated togetherO0..1
PIDin PATIENTPatient Identification – previous resultR1..1
PD1in PATIENTAdditional Demographics – previous resultO0..1
NTEin PATIENTNotes and Comments - previous resultO0..*
NK1in PATIENTNext of Kin/Associated PartiesO0..*
PATIENT_VISITin PATIENTa group of 2 segments, repeated togetherO0..1
PV1in PATIENT_VISITPatient Visit – previous resultR1..1
PV2in PATIENT_VISITPatient Visit Add. Info – previous resultO0..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 Information - previous resultO0..*
ORDERa group of 12 segments, repeated togetherR1..*
ORCCommon Order - previous resultR1..1
TIMINGa group of 2 segments, repeated togetherO0..*
TQ1in TIMINGTiming/QuantityR1..1
TQ2in TIMINGTiming/Quantity Order SequenceO0..*
OBROrder Detail - previous resultR1..1
NTENotes and Comments - previous resultO0..*
CTDContact Data - previous resultO0..1
DG1DiagnosisO0..*
OBSERVATIONa group of 2 segments, repeated togetherO0..*
OBXin OBSERVATIONObservation/Result - previous resultR1..1
NTEin OBSERVATIONNotes and Comments - previous resultO0..*
SPECIMENa group of 3 segments, repeated togetherO0..*
SPMin SPECIMENSpecimenR1..1
OBXin SPECIMENObservation/Result - previous resultO0..*
CONTAINERin SPECIMENa group of 2 segments, repeated togetherO0..*
SACin CONTAINERSpecimen ContainerR1..1
OBXin CONTAINERObservation/Result - previous resultO0..*
PRIOR_RESULTa group of 4 segments, repeated togetherO0..*
PATIENT_PRIORin PRIOR_RESULTa group of 2 segments, repeated togetherO0..1
PIDin PATIENT_PRIORPatient Identification – previous resultR1..1
PD1in PATIENT_PRIORAdditional Demographics – previous resultO0..1
PATIENT_VISIT_PRIORin PRIOR_RESULTa group of 2 segments, repeated togetherO0..1
PV1in PATIENT_VISIT_PRIORPatient Visit – previous resultR1..1
PV2in PATIENT_VISIT_PRIORPatient Visit Add. Info – previous resultO0..1
AL1in PRIOR_RESULTAllergy Information - previous resultO0..*
ORDER_PRIORin PRIOR_RESULTa group of 6 segments, repeated togetherR1..*
ORCin ORDER_PRIORCommon Order - previous resultO0..1
OBRin ORDER_PRIOROrder Detail - previous resultR1..1
TIMING_PRIORin ORDER_PRIORa group of 2 segments, repeated togetherO0..*
TQ1in TIMING_PRIORTiming/QuantityR1..1
TQ2in TIMING_PRIORTiming/Quantity Order SequenceO0..*
NTEin ORDER_PRIORNotes and Comments - previous resultO0..*
CTDin ORDER_PRIORContact Data - previous resultO0..1
OBSERVATION_PRIORin ORDER_PRIORa group of 2 segments, repeated togetherR1..*
OBXin OBSERVATION_PRIORObservation/Result - previous resultR1..1
NTEin OBSERVATION_PRIORNotes and Comments - previous resultO0..*
FT1Financial TransactionO0..*
CTIClinical Trial IdentificationO0..*
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 14 such groups: PATIENT, PATIENT_VISIT, INSURANCE, ORDER, TIMING, OBSERVATION, SPECIMEN, CONTAINER, PRIOR_RESULT, PATIENT_PRIOR, PATIENT_VISIT_PRIOR, ORDER_PRIOR, TIMING_PRIOR, OBSERVATION_PRIOR.

Trigger events

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

EventNameStructure
O19general clinical order messageOMG_O19