HL7 v2.5.1 Specificationsv2.5.1

to moveEnter to openTry PID-5, ADT, 0004

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

ORCsegmentwhat kind of line this is
NWORC-1Order Control
ORD8842^EPICORC-2Placer Order Number
 ORC-3Filler Order Number
 ORC-4Placer Group Number
 ORC-5Order Status
 ORC-6Response Flag
^^^20240314103000^^RORC-7Quantity/Timing
 ORC-8Parent
20240314102958ORC-9Date/Time of Transaction

required empty in this messageevery box is one | apart

Where ORC appears

MessageSegment order
ORM^O01 orderMSH → PID → [PV1] → {ORC → [OBR] → [{NTE}]}
OML^O21 lab orderMSH → PID → [PV1] → {ORC → OBR → [{SPM}]}
RDE^O11 pharmacyMSH → PID → [PV1] → {ORC → RXO → RXR → [{RXC}] → RXE}
ORU^R01 resultORC is optional in results, and where present it precedes OBR

ORC appears in 67 of the 202 message structures the standard defines.

Whole messages

A new order followed by a cancellation of the same order
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
The cancellation, matched to the order above by its placer number
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

SEQLENDTOPTRP/#TBL#ITEM#Element nameCardinality
ORC-12IDR011900215Order Control1..1
22EIC00216Placer Order Number0..1

ORC-2 is a EI, which holds 4 components separated by carets.

SEQLENDTOPTTBL#Component name
EI.1199STOEntity Identifier
EI.220ISO0363Namespace ID
EI.3199STCUniversal ID
EI.46IDC0301Universal ID Type
22EIC00217Filler Order Number0..1

ORC-3 is a EI, which holds 4 components separated by carets.

SEQLENDTOPTTBL#Component name
EI.1199STOEntity Identifier
EI.220ISO0363Namespace ID
EI.3199STCUniversal ID
EI.46IDC0301Universal ID Type
22EIO00218Placer Group Number0..1

ORC-4 is a EI, which holds 4 components separated by carets.

SEQLENDTOPTTBL#Component name
EI.1199STOEntity Identifier
EI.220ISO0363Namespace ID
EI.3199STCUniversal ID
EI.46IDC0301Universal ID Type
ORC-52IDO003800219Order Status0..1
ORC-61IDO012100220Response Flag0..1
200TQBY00221Quantity/Timing deprecated0..*

ORC-7 is a TQ, which holds 12 components separated by carets.

SEQLENDTOPTTBL#Component name
TQ.1267CQOQuantity
TQ.2206RIOInterval
TQ.36STODuration
TQ.426TSOStart Date/Time
TQ.526TSOEnd Date/Time
TQ.66STOPriority
TQ.7199STOCondition
TQ.8200TXOText
TQ.91IDO0472Conjunction
TQ.10110OSDOOrder Sequencing
TQ.11483CEOOccurrence Duration
TQ.124NMOTotal Occurrences
200EIPO00222Parent0..1

ORC-8 is a EIP, which holds 2 components separated by carets.

SEQLENDTOPTTBL#Component name
EIP.1427EIOPlacer Assigned Identifier
EIP.2427EIOFiller Assigned Identifier
26TSO00223Date/Time of Transaction0..1

ORC-9 is a TS, which holds 2 components separated by carets.

SEQLENDTOPTTBL#Component name
TS.124DTMRTime
TS.21IDB0529Degree of Precision
250XCNOY00224Entered By0..*

ORC-10 is a XCN, which holds 23 components separated by carets.

SEQLENDTOPTTBL#Component name
XCN.115STOID Number
XCN.2194FNOFamily Name
XCN.330STOGiven Name
XCN.430STOSecond and Further Given Names or Initials Thereof
XCN.520STOSuffix (e.g., JR or III)
XCN.620STOPrefix (e.g., DR)
XCN.75ISB0360Degree (e.g., MD)
XCN.84ISC0297Source Table
XCN.9227HDO0363Assigning Authority
XCN.101IDO0200Name Type Code
XCN.111STOIdentifier Check Digit
XCN.123IDC0061Check Digit Scheme
XCN.135IDO0203Identifier Type Code
XCN.14227HDOAssigning Facility
XCN.151IDO0465Name Representation Code
XCN.16483CEO0448Name Context
XCN.1753DRBName Validity Range
XCN.181IDO0444Name Assembly Order
XCN.1926TSOEffective Date
XCN.2026TSOExpiration Date
XCN.21199STOProfessional Suffix
XCN.22705CWEOAssigning Jurisdiction
XCN.23705CWEOAssigning Agency or Department
250XCNOY00225Verified By0..*

ORC-11 is a XCN, which holds 23 components separated by carets.

SEQLENDTOPTTBL#Component name
XCN.115STOID Number
XCN.2194FNOFamily Name
XCN.330STOGiven Name
XCN.430STOSecond and Further Given Names or Initials Thereof
XCN.520STOSuffix (e.g., JR or III)
XCN.620STOPrefix (e.g., DR)
XCN.75ISB0360Degree (e.g., MD)
XCN.84ISC0297Source Table
XCN.9227HDO0363Assigning Authority
XCN.101IDO0200Name Type Code
XCN.111STOIdentifier Check Digit
XCN.123IDC0061Check Digit Scheme
XCN.135IDO0203Identifier Type Code
XCN.14227HDOAssigning Facility
XCN.151IDO0465Name Representation Code
XCN.16483CEO0448Name Context
XCN.1753DRBName Validity Range
XCN.181IDO0444Name Assembly Order
XCN.1926TSOEffective Date
XCN.2026TSOExpiration Date
XCN.21199STOProfessional Suffix
XCN.22705CWEOAssigning Jurisdiction
XCN.23705CWEOAssigning Agency or Department
250XCNOY00226Ordering Provider0..*

ORC-12 is a XCN, which holds 23 components separated by carets.

SEQLENDTOPTTBL#Component name
XCN.115STOID Number
XCN.2194FNOFamily Name
XCN.330STOGiven Name
XCN.430STOSecond and Further Given Names or Initials Thereof
XCN.520STOSuffix (e.g., JR or III)
XCN.620STOPrefix (e.g., DR)
XCN.75ISB0360Degree (e.g., MD)
XCN.84ISC0297Source Table
XCN.9227HDO0363Assigning Authority
XCN.101IDO0200Name Type Code
XCN.111STOIdentifier Check Digit
XCN.123IDC0061Check Digit Scheme
XCN.135IDO0203Identifier Type Code
XCN.14227HDOAssigning Facility
XCN.151IDO0465Name Representation Code
XCN.16483CEO0448Name Context
XCN.1753DRBName Validity Range
XCN.181IDO0444Name Assembly Order
XCN.1926TSOEffective Date
XCN.2026TSOExpiration Date
XCN.21199STOProfessional Suffix
XCN.22705CWEOAssigning Jurisdiction
XCN.23705CWEOAssigning Agency or Department
80PLO00227Enterer's Location0..1

ORC-13 is a PL, which holds 11 components separated by carets.

SEQLENDTOPTTBL#Component name
PL.120ISO0302Point of Care
PL.220ISO0303Room
PL.320ISO0304Bed
PL.4227HDOFacility
PL.520ISO0306Location Status
PL.620ISC0305Person Location Type
PL.720ISO0307Building
PL.820ISO0308Floor
PL.9199STOLocation Description
PL.10427EIOComprehensive Location Identifier
PL.11227HDOAssigning Authority for Location
250XTNOY/200228Call Back Phone Number0..2

ORC-14 is a XTN, which holds 12 components separated by carets.

SEQLENDTOPTTBL#Component name
XTN.1199STBTelephone Number
XTN.23IDO0201Telecommunication Use Code
XTN.38IDO0202Telecommunication Equipment Type
XTN.4199STOEmail Address
XTN.53NMOCountry Code
XTN.65NMOArea/City Code
XTN.79NMOLocal Number
XTN.85NMOExtension
XTN.9199STOAny Text
XTN.104STOExtension Prefix
XTN.116STOSpeed Dial Code
XTN.12199STCUnformatted Telephone number
26TSO00229Order Effective Date/Time0..1

ORC-15 is a TS, which holds 2 components separated by carets.

SEQLENDTOPTTBL#Component name
TS.124DTMRTime
TS.21IDB0529Degree of Precision
250CEO00230Order Control Code Reason0..1

ORC-16 is a CE, which holds 6 components separated by carets.

SEQLENDTOPTTBL#Component name
CE.120STOIdentifier
CE.2199STOText
CE.320IDO0396Name of Coding System
CE.420STOAlternate Identifier
CE.5199STOAlternate Text
CE.620IDO0396Name of Alternate Coding System
250CEO00231Entering Organization0..1

ORC-17 is a CE, which holds 6 components separated by carets.

SEQLENDTOPTTBL#Component name
CE.120STOIdentifier
CE.2199STOText
CE.320IDO0396Name of Coding System
CE.420STOAlternate Identifier
CE.5199STOAlternate Text
CE.620IDO0396Name of Alternate Coding System
250CEO00232Entering Device0..1

ORC-18 is a CE, which holds 6 components separated by carets.

SEQLENDTOPTTBL#Component name
CE.120STOIdentifier
CE.2199STOText
CE.320IDO0396Name of Coding System
CE.420STOAlternate Identifier
CE.5199STOAlternate Text
CE.620IDO0396Name of Alternate Coding System
250XCNOY00233Action By0..*

ORC-19 is a XCN, which holds 23 components separated by carets.

SEQLENDTOPTTBL#Component name
XCN.115STOID Number
XCN.2194FNOFamily Name
XCN.330STOGiven Name
XCN.430STOSecond and Further Given Names or Initials Thereof
XCN.520STOSuffix (e.g., JR or III)
XCN.620STOPrefix (e.g., DR)
XCN.75ISB0360Degree (e.g., MD)
XCN.84ISC0297Source Table
XCN.9227HDO0363Assigning Authority
XCN.101IDO0200Name Type Code
XCN.111STOIdentifier Check Digit
XCN.123IDC0061Check Digit Scheme
XCN.135IDO0203Identifier Type Code
XCN.14227HDOAssigning Facility
XCN.151IDO0465Name Representation Code
XCN.16483CEO0448Name Context
XCN.1753DRBName Validity Range
XCN.181IDO0444Name Assembly Order
XCN.1926TSOEffective Date
XCN.2026TSOExpiration Date
XCN.21199STOProfessional Suffix
XCN.22705CWEOAssigning Jurisdiction
XCN.23705CWEOAssigning Agency or Department
250CEO033901310Advanced Beneficiary Notice Code0..1

ORC-20 is a CE, which holds 6 components separated by carets.

SEQLENDTOPTTBL#Component name
CE.120STOIdentifier
CE.2199STOText
CE.320IDO0396Name of Coding System
CE.420STOAlternate Identifier
CE.5199STOAlternate Text
CE.620IDO0396Name of Alternate Coding System
250XONOY01311Ordering Facility Name0..*

ORC-21 is a XON, which holds 10 components separated by carets.

SEQLENDTOPTTBL#Component name
XON.150STOOrganization Name
XON.220ISO0204Organization Name Type Code
XON.34NMBID Number
XON.41NMOCheck Digit
XON.53IDO0061Check Digit Scheme
XON.6227HDO0363Assigning Authority
XON.75IDO0203Identifier Type Code
XON.8227HDOAssigning Facility
XON.91IDO0465Name Representation Code
XON.1020STOOrganization Identifier
250XADOY01312Ordering Facility Address0..*

ORC-22 is a XAD, which holds 14 components separated by carets.

SEQLENDTOPTTBL#Component name
XAD.1184SADOStreet Address
XAD.2120STOOther Designation
XAD.350STOCity
XAD.450STOState or Province
XAD.512STOZip or Postal Code
XAD.63IDO0399Country
XAD.73IDO0190Address Type
XAD.850STOOther Geographic Designation
XAD.920ISO0289County/Parish Code
XAD.1020ISO0288Census Tract
XAD.111IDO0465Address Representation Code
XAD.1253DRBAddress Validity Range
XAD.1326TSOEffective Date
XAD.1426TSOExpiration Date
250XTNOY01313Ordering Facility Phone Number0..*

ORC-23 is a XTN, which holds 12 components separated by carets.

SEQLENDTOPTTBL#Component name
XTN.1199STBTelephone Number
XTN.23IDO0201Telecommunication Use Code
XTN.38IDO0202Telecommunication Equipment Type
XTN.4199STOEmail Address
XTN.53NMOCountry Code
XTN.65NMOArea/City Code
XTN.79NMOLocal Number
XTN.85NMOExtension
XTN.9199STOAny Text
XTN.104STOExtension Prefix
XTN.116STOSpeed Dial Code
XTN.12199STCUnformatted Telephone number
250XADOY01314Ordering Provider Address0..*

ORC-24 is a XAD, which holds 14 components separated by carets.

SEQLENDTOPTTBL#Component name
XAD.1184SADOStreet Address
XAD.2120STOOther Designation
XAD.350STOCity
XAD.450STOState or Province
XAD.512STOZip or Postal Code
XAD.63IDO0399Country
XAD.73IDO0190Address Type
XAD.850STOOther Geographic Designation
XAD.920ISO0289County/Parish Code
XAD.1020ISO0288Census Tract
XAD.111IDO0465Address Representation Code
XAD.1253DRBAddress Validity Range
XAD.1326TSOEffective Date
XAD.1426TSOExpiration Date
250CWEO01473Order Status Modifier0..1

ORC-25 is a CWE, which holds 9 components separated by carets.

SEQLENDTOPTTBL#Component name
CWE.120STOIdentifier
CWE.2199STOText
CWE.320IDO0396Name of Coding System
CWE.420STOAlternate Identifier
CWE.5199STOAlternate Text
CWE.620IDO0396Name of Alternate Coding System
CWE.710STCCoding System Version ID
CWE.810STOAlternate Coding System Version ID
CWE.9199STOOriginal Text
60CWEC055201641Advanced Beneficiary Notice Override Reason0..1

ORC-26 is a CWE, which holds 9 components separated by carets.

SEQLENDTOPTTBL#Component name
CWE.120STOIdentifier
CWE.2199STOText
CWE.320IDO0396Name of Coding System
CWE.420STOAlternate Identifier
CWE.5199STOAlternate Text
CWE.620IDO0396Name of Alternate Coding System
CWE.710STCCoding System Version ID
CWE.810STOAlternate Coding System Version ID
CWE.9199STOOriginal Text
26TSO01642Filler's Expected Availability Date/Time0..1

ORC-27 is a TS, which holds 2 components separated by carets.

SEQLENDTOPTTBL#Component name
TS.124DTMRTime
TS.21IDB0529Degree of Precision
250CWEO017700615Confidentiality Code0..1

ORC-28 is a CWE, which holds 9 components separated by carets.

SEQLENDTOPTTBL#Component name
CWE.120STOIdentifier
CWE.2199STOText
CWE.320IDO0396Name of Coding System
CWE.420STOAlternate Identifier
CWE.5199STOAlternate Text
CWE.620IDO0396Name of Alternate Coding System
CWE.710STCCoding System Version ID
CWE.810STOAlternate Coding System Version ID
CWE.9199STOOriginal Text
250CWEO048201643Order Type0..1

ORC-29 is a CWE, which holds 9 components separated by carets.

SEQLENDTOPTTBL#Component name
CWE.120STOIdentifier
CWE.2199STOText
CWE.320IDO0396Name of Coding System
CWE.420STOAlternate Identifier
CWE.5199STOAlternate Text
CWE.620IDO0396Name of Alternate Coding System
CWE.710STCCoding System Version ID
CWE.810STOAlternate Coding System Version ID
CWE.9199STOOriginal Text
250CNEO048301644Enterer Authorization Mode0..1

ORC-30 is a CNE, which holds 9 components separated by carets.

SEQLENDTOPTTBL#Component name
CNE.120STRIdentifier
CNE.2199STOText
CNE.320IDO0396Name of Coding System
CNE.420STOAlternate Identifier
CNE.5199STOAlternate Text
CNE.620IDO0396Name of Alternate Coding System
CNE.710STCCoding System Version ID
CNE.810STOAlternate Coding System Version ID
CNE.9199STOOriginal Text
250CWEO02286Parent Universal Service Identifier0..1

ORC-31 is a CWE, which holds 9 components separated by carets.

SEQLENDTOPTTBL#Component name
CWE.120STOIdentifier
CWE.2199STOText
CWE.320IDO0396Name of Coding System
CWE.420STOAlternate Identifier
CWE.5199STOAlternate Text
CWE.620IDO0396Name of Alternate Coding System
CWE.710STCCoding System Version ID
CWE.810STOAlternate Coding System Version ID
CWE.9199STOOriginal Text

Open this ORC message in HL7 Studio

Field notes

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 v2FHIR R4Note
ORC-1the operation to performcreate, revoke, hold, replace
ORC-2ServiceRequest.identifiertype PLAC
ORC-3ServiceRequest.identifiertype FILL
ORC-5ServiceRequest.status
ORC-9ServiceRequest.authoredOn
ORC-12ServiceRequest.requester
ORC-15ServiceRequest.occurrenceDateTime

Parsing pitfalls

Message types carrying ORC

ORC appears in 67 message structures, belonging to 53 message types.