ORC: Common order
Two systems can send the identical order twice and mean opposite things: place this, and cancel this. ORC is the line that says which. Everything else about the order sits in the segment beneath it; ORC says what to do with it.
ORC carries the parts of an order that stay the same whatever is being ordered. Its most important field is the order control code, which says whether the order is being placed, cancelled, held or reported on.
The shape of one line
required empty in this messageevery box is one | apart
Where ORC appears
| Message | Segment order |
|---|---|
| ORM^O01 order | MSH → PID → [PV1] → {ORC → [OBR] → [{NTE}]} |
| OML^O21 lab order | MSH → PID → [PV1] → {ORC → OBR → [{SPM}]} |
| RDE^O11 pharmacy | MSH → PID → [PV1] → {ORC → RXO → RXR → [{RXC}] → RXE} |
| ORU^R01 result | ORC is optional in results, and where present it precedes OBR |
ORC appears in 67 of the 202 message structures the standard defines.
Whole messages
MSH|^~\&|EPIC|STJOSEPH|LABSYS|STJOSEPH|20240314102958||ORM^O01^ORM_O01|ORD20240314-4471|P|2.5.1 PID|1||1000345678^^^STJOSEPH^MR||CARTWRIGHT^ELEANOR^MAY^^^^L||19510822|F ORC|NW|ORD8842^EPIC|||||^^^20240314103000^^R||20240314102958|USER22^PATEL^NIRAV||1447312^OKONKWO^ADAEZE^^^^MD|3W^^^STJOSEPH|^PRN^PH^^1^503^5550199 OBR|1|ORD8842^EPIC||58410-2^CBC PANEL^LN|||20240314103000
MSH|^~\&|EPIC|STJOSEPH|LABSYS|STJOSEPH|20240314110412||ORM^O01^ORM_O01|ORD20240314-4482|P|2.5.1 PID|1||1000345678^^^STJOSEPH^MR||CARTWRIGHT^ELEANOR^MAY^^^^L||19510822|F ORC|CA|ORD8842^EPIC|LAB77213^LABSYS||CA||||20240314110412|USER22^PATEL^NIRAV||1447312^OKONKWO^ADAEZE^^^^MD OBR|1|ORD8842^EPIC|LAB77213^LABSYS|58410-2^CBC PANEL^LN
Every field
| SEQ | LEN | DT | OPT | RP/# | TBL# | ITEM# | Element name | Cardinality | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ORC-1 | 2 | ID | R | 0119 | 00215 | Order Control | 1..1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 22 | EI | C | 00216 | Placer Order Number | 0..1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 22 | EI | C | 00217 | Filler Order Number | 0..1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 22 | EI | O | 00218 | Placer Group Number | 0..1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ORC-5 | 2 | ID | O | 0038 | 00219 | Order Status | 0..1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ORC-6 | 1 | ID | O | 0121 | 00220 | Response Flag | 0..1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 200 | TQ | B | Y | 00221 | Quantity/Timing deprecated | 0..* | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 200 | EIP | O | 00222 | Parent | 0..1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 26 | TS | O | 00223 | Date/Time of Transaction | 0..1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 250 | XCN | O | Y | 00224 | Entered By | 0..* | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 250 | XCN | O | Y | 00225 | Verified By | 0..* | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 250 | XCN | O | Y | 00226 | Ordering Provider | 0..* | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 80 | PL | O | 00227 | Enterer's Location | 0..1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 250 | XTN | O | Y/2 | 00228 | Call Back Phone Number | 0..2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 26 | TS | O | 00229 | Order Effective Date/Time | 0..1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 250 | CE | O | 00230 | Order Control Code Reason | 0..1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 250 | CE | O | 00231 | Entering Organization | 0..1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 250 | CE | O | 00232 | Entering Device | 0..1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 250 | XCN | O | Y | 00233 | Action By | 0..* | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 250 | CE | O | 0339 | 01310 | Advanced Beneficiary Notice Code | 0..1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 250 | XON | O | Y | 01311 | Ordering Facility Name | 0..* | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 250 | XAD | O | Y | 01312 | Ordering Facility Address | 0..* | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 250 | XTN | O | Y | 01313 | Ordering Facility Phone Number | 0..* | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 250 | XAD | O | Y | 01314 | Ordering Provider Address | 0..* | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 250 | CWE | O | 01473 | Order Status Modifier | 0..1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 60 | CWE | C | 0552 | 01641 | Advanced Beneficiary Notice Override Reason | 0..1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 26 | TS | O | 01642 | Filler's Expected Availability Date/Time | 0..1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 250 | CWE | O | 0177 | 00615 | Confidentiality Code | 0..1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 250 | CWE | O | 0482 | 01643 | Order Type | 0..1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 250 | CNE | O | 0483 | 01644 | Enterer Authorization Mode | 0..1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 250 | CWE | O | 02286 | Parent Universal Service Identifier | 0..1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Open this ORC message in HL7 Studio
Field notes
ORC-1Order Control
Order control, bound to table 0119, and the only field in the segment that changes what the whole message means. NW is a new order, OK acknowledges one, CA cancels, DC discontinues, HD holds, RL releases a held order, RP replaces, RO is a response to an order query, SC is a status change, XO is a change to an existing order. A receiver that ignores ORC-1 and treats every ORM as a new order will duplicate on every cancellation.
Open ORC-1 in HL7 StudioORC-2Placer Order Number
Placer order number, the same identifier as OBR-2 and carrying the same value. When both segments are present they must agree, and where they disagree the standard gives ORC precedence. A cancellation is matched to the order it cancels through this field, so it is the field a cancellation cannot omit.
Open ORC-2 in HL7 StudioORC-3Filler Order Number
Filler order number, matching OBR-3. Present once the receiving system has accepted the order and assigned its own identifier, and absent on the initial NW.
Open ORC-3 in HL7 StudioORC-5Order Status
Order status, bound to table 0038, and distinct from ORC-1. ORC-1 is what the sender is asking for; ORC-5 is where the order currently stands. A is some results available, CA is cancelled, CM is completed, DC is discontinued, ER is an error, HD is on hold, IP is in progress, RP replaced, SC scheduled. The pair NW with a status of SC is an order that has been placed and scheduled, which is different from an order that has been placed and started.
Open ORC-5 in HL7 StudioORC-7Quantity/Timing
Quantity and timing, deprecated in v2.5.1 in favour of TQ1. It carries how much, how often and starting when. As with OBR-27, senders are split, so read TQ1 first and fall back to this field.
Open ORC-7 in HL7 StudioORC-9Date/Time of Transaction
Date and time of the transaction, meaning when this order event happened. On a cancellation it is when the order was cancelled, which is the timestamp an audit trail needs and is not the same as the original order time in ORC-15.
Open ORC-9 in HL7 StudioORC-10Entered By
Entered by, the person who keyed the order, and ORC-12 the ordering provider, the clinician responsible for it. These are regularly different people: a ward clerk enters what a doctor decided. Collapsing them loses the accountability the two fields exist to record.
Open ORC-10 in HL7 StudioORC-12Ordering Provider
Ordering provider, and where OBR-16 is absent this is the field results should be routed against. When both are present they normally agree; when they disagree, ORC-12 is the order-level answer and OBR-16 the request-level one.
Open ORC-12 in HL7 StudioORC-15Order Effective Date/Time
Order effective date and time, meaning when the order itself takes effect. For a future-dated order this is later than ORC-9, and a system that schedules from ORC-9 will run the order at the moment it was keyed.
Open ORC-15 in HL7 Studio
Mapping to FHIR
ORC and OBR together become one FHIR ServiceRequest, with ORC contributing the status and the ordering context and OBR contributing what was ordered. ORC-1 does not map to a field: it maps to an action. NW creates the resource, CA and DC set status to revoked, HD sets it to on-hold, and RP means create a replacement with a replaces reference to the original. Treating ORC-1 as data, when it is an instruction, is the most common mistake in this mapping.
| HL7 v2 | FHIR R4 | Note |
|---|---|---|
| ORC-1 | the operation to perform | create, revoke, hold, replace |
| ORC-2 | ServiceRequest.identifier | type PLAC |
| ORC-3 | ServiceRequest.identifier | type FILL |
| ORC-5 | ServiceRequest.status | |
| ORC-9 | ServiceRequest.authoredOn | |
| ORC-12 | ServiceRequest.requester | |
| ORC-15 | ServiceRequest.occurrenceDateTime |
Parsing pitfalls
ORC-1 stored as data when it is an instruction
The order control code says what to do. A message with ORC-1 of CA is not a new order that happens to be marked cancelled; it is a request to cancel an order the receiver already holds. Storing it as another order leaves the original active.
ORC-1 and ORC-5 confused
One is the requested action and the other is the current state. An order can arrive with ORC-1 of SC and ORC-5 of IP, meaning a status change is being reported and the order is in progress. Reading either alone gives half the message.
ORC and OBR identifiers allowed to drift
ORC-2 and OBR-2 carry the same placer number and ORC-3 and OBR-3 the same filler number. Where a sender populates only one of each pair, a receiver reading only the other loses the ability to match. Read both and reconcile.
Order timing taken from ORC-9
ORC-9 is when the transaction happened and ORC-15 is when the order takes effect. Future-dated and standing orders separate the two, and scheduling from the transaction time executes them immediately.
Assuming ORC is present
ORC is optional in ORU result messages and frequently absent. Code that requires it before reading OBR will reject a large share of ordinary result traffic.
Related
- OBRthe request this order control information applies to
- TQ1timing and quantity, replacing ORC-7 from v2.5
- RXEthe pharmacy encoded order that ORC precedes
- OBXresults reported against the order
Message types carrying ORC
ORC appears in 67 message structures, belonging to 53 message types.