Id2.16.840.1.113883.3.1937.777.10.15.41Effective Date2013‑02‑10
Statusactive ActiveVersion Label
NameOSD_datatypeDisplay NameOSD - Order sequence definition
Description

This data type specifies a fully coded version for forming a relationship between an order and one or more other orders. The relationship may be sequential or a cyclical pattern.

Usage of the OSD is restricted to the TQ data type (especially as it is applied to the ORC-7?). Retained for backward compatibility only as of v 2.5. The reader is advised to consider the TQ1 and TQ2 segments rather than this data type if sequencing levels or cyclical patterns need to be transmitted.

Note: Replaces the CM data type used in the TQ data type, component 10, as of v 2.5.

There are many situations, such as the creation of an order for a group of intravenous (IV) solutions, where the sequence of the individual intravenous solutions (each a service in itself) needs to be specified, e.g., hyperalimentation with multi-vitamins in every third bottle.

There are other situations where part of the order’s instructions contains a results condition of some type, such as "PRN pain". There is currently a free text "condition" component of ORC-7-quantity/timing that allows any condition to be specified.

The sequencing conditions are based on the completion of a predecessor service.

Usage notes:

Suppose the following:

The predecessor order is defined by the OE1000&OrdEnt as the placer order number, in subcomponents 2 and 3 of component 10 of ORC-7-quantity/timing.

The successor order, this order, has the placer order number OE1001^OrdEnt in the ORC segment.

The following sequence condition values have the following meanings:

ValueDescriptionComment
ES + 10MStart time of the successorThe finish time of OE1000&OrdEnt (predecessor) plus 10 minutes defines the start time of the successor, OE1001^OrdEnt (this order); i.e., start this order 10 minutes after the completion of its predecessor.
SS - 10MStart time of this orderThe start time of the predecessor minus 10 minutes defines the start time of this order; i.e., start this order 10 minutes before its predecessor.

Use Case 1: Cyclic placer order groups

For the special case where there is a cycle of orders that must be repeated, the first order to be executed will have a "sequence condition value" whose first character must be an asterisk (*). The last order to be executed may have a "sequence condition value" whose first character must be a pound sign (#).

Example:

ValueDescription
Comment*FS+10M

Translates to: execute this order the first time without evaluating the condition specified in the 10th component; but repeat only its execution when the specified external order’s start or finish date/time has met this condition. This specification generates a repetition of the order for each iteration of the cycle.

Note: This requires that the ordering application be able to specify the placer order number of the last order in the cycle in the first order’s quantity/timing specification.

To implement a cyclic group of four IV orders using the parent/child paradigm, the parent specifies a custom group of IVs, and the following occurs:

ORC-7-quantity/timing of the second child order specifies that it follows the first child order.

ORC-7-quantity/timing of the third child order specifies that it follows the second child order.

ORC-7-quantity/timing of the fourth child order specifies that it follows the third order.

To repeat the group of four child orders in a cyclic manner, the following occurs:



ORC-7-quantity/timing of the first child order specifies that it is to be executed once without any dependence on the completion of other orders.

Its second execution follows the completion of the fourth order. See example in Chapter 4 RXO segment examples. This scheme allows the following to be tracked:

The status of the whole group of orders to be reported back at the level of the parent order.

The status for each individual IV order by following the status of the corresponding child order.

Separate Orders example:

The same group of orders can be sent as a group of four orders (without a common parent), linked only by the data in their quantity/timing fields. In this case, there is no convenient HL7 method of transmitting the order status of the group as a whole without transmitting the status of each of the four separate orders.

Use Case 2: Inheritance of order status

Cancellation/discontinuation/hold order control events:

This logic implies the normal execution of the referenced predecessor order. Thus a cancel (or discontinuation or hold) of a predecessor order implies the cancellation (or discontinuation or hold) of all subsequent orders in the chain.

If the referenced order has been canceled (or discontinued or held), the current order inherits that same status.

In the case of hold, the removal of the hold of the predecessor implies a removal of the hold for the given order (which can then be executed according to the specification in the 10th component).

ClassificationHL7 V2/V3 Datatype Level Template
Open/ClosedOpen (other than defined elements are allowed)
Used by / Uses
Used by 0 transactions and 112 templates, Uses 4 templates
Used by as NameVersion
2.16.840.1.113883.3.1937.777.10.12.1linkactive BATCH2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.2linkactive MESSAGEBATCH2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.4linkactive QRY - Query Message2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.5linkactive ADR^A19 - Patient query2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.37linkactive BPS^O29 - Blood product dispense status2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.38linkactive BRP^O30 - Blood product dispense status acknowledgment2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.39linkactive BRT^O32 - Blood product transfusion/disposition acknowledgment2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.40linkactive BTS^O31 - Blood product transfusion/disposition2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.42linkactive CSU^C09 - Automated time intervals for reporting, like monthly2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.43linkactive DFT^P03 - Post detail financial transaction2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.44linkactive DFT^P11 - Post Detail Financial Transactions - New2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.46linkactive DSR^Q01 - Query sent for immediate response2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.47linkactive DSR^Q03 - Deferred response to a query2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.48linkactive EAC^U07 - Automated equipment command2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.50linkactive EAR^U08 - Automated equipment response2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.56linkactive INR^U06 - Automated equipment inventory request2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.57linkactive INU^U05 - Automated equipment inventory update2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.59linkactive MDM^T01 - Original document notification2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.60linkactive MDM^T02 - Original document notification and content2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.77linkactive MFQ^M01 - Master file not otherwise specified2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.78linkactive MFR^M01 - Master file not otherwise specified2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.80linkactive NMQ^N01 - Application management query message2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.82linkactive OMB^O27 - Blood product order2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.83linkactive OMD^O03 - Diet order2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.84linkactive OMG^O19 - General clinical order2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.85linkactive OMI^O23 - Imaging order2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.86linkactive OML^O21 - Laboratory order2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.87linkactive OML^O33 - Laboratory order for multiple orders related to a single specimen2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.88linkactive OML^O35 - Laboratory order for multiple orders related to a single container of a specimen2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.89linkactive OMN^O07 - Non-stock requisition order2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.90linkactive OMP^O09 - Pharmacy/treatment order2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.91linkactive OMS^O05 - Stock requisition order2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.92linkactive ORB^O28 - Blood product order acknowledgment2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.93linkactive ORD^O04 - Diet order acknowledgment2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.94linkactive ORF^R04 - Response to query; transmission of requested observation2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.95linkactive ORG^O20 - General clinical order response2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.96linkactive ORI^O24 - Imaging order response message to any OMI2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.97linkactive ORL^O22 - General laboratory order response message to any OML2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.98linkactive ORL^O34 - Laboratory order response message to a multiple order related to single specimen OML2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.99linkactive ORL^O36 - Laboratory order response message to a single container of a specimen OML2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.100linkactive ORM^O01 - Order message (also RDE, RDS, RGV, RAS)2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.101linkactive ORN^O08 - Non-stock requisition acknowledgment2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.102linkactive ORP^O10 - Pharmacy/treatment order acknowledgment2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.103linkactive ORR^O02 - Order response (also RRE, RRD, RRG, RRA)2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.104linkactive ORS^O06 - Stock requisition acknowledgment2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.105linkactive ORU^R01 - Unsolicited transmission of an observation message2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.106linkactive ORU^R30 - Unsolicited Point-Of-Care Observation Message Without Existing Order - Place An Order2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.107linkactive OSQ^Q06 - Query for order status2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.108linkactive OSR^Q06 - Query for order status2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.109linkactive OUL^R21 - Unsolicited laboratory observation2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.110linkactive OUL^R22 - Unsolicited Specimen Oriented Observation Message2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.111linkactive OUL^R23 - Unsolicited Specimen Container Oriented Observation Message2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.112linkactive OUL^R24 - Unsolicited Order Oriented Observation Message2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.113linkactive PEX^P07 - Unsolicited initial individual product experience report2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.114linkactive PGL^PC6 - PC/ goal add2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.120linkactive PPG^PCG - PC/ pathway (goal-oriented) add2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.121linkactive PPP^PCB - PC/ pathway (problem-oriented) add2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.122linkactive PPR^PC1 - PC/ problem add2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.123linkactive PPT^PCL - PC/ pathway (goal-oriented) query response2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.124linkactive PPV^PCA - PC/ goal response2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.125linkactive PRR^PC5 - PC/ problem response2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.126linkactive PTR^PCF - PC/ pathway (problem-oriented) query response2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.134linkactive QRY^A19 - Patient query2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.135linkactive QRY^PC4 - PC/ problem query2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.136linkactive QRY^Q01 - Query sent for immediate response2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.137linkactive QRY^Q02 - Query sent for deferred response2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.138linkactive QRY^R02 - Query for results of observation2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.141linkactive RAR^RAR - Pharmacy administration information2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.142linkactive RAS^O17 - Pharmacy/treatment administration2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.143linkactive RCI^I05 - Request for patient clinical information2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.144linkactive RCL^I06 - Request/receipt of clinical data listing2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.145linkactive RDE^O11 - Pharmacy/treatment encoded order2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.146linkactive RDR^RDR - Pharmacy dispense information2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.147linkactive RDS^O13 - Pharmacy/treatment dispense2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.149linkactive REF^I12 - Patient referral2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.150linkactive RER^RER - Pharmacy encoded order information2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.151linkactive RGR^RGR - Pharmacy give information2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.152linkactive RGV^O15 - Pharmacy/treatment give2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.153linkactive ROR^ROR - Pharmacy prescription order query response2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.154linkactive RPA^I08 - Request for treatment authorization information2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.159linkactive RQA^I08 - Request for treatment authorization information2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.160linkactive RQC^I05 - Request for patient clinical information2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.164linkactive RRA^O18 - Pharmacy/treatment administration acknowledgment2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.165linkactive RRD^O14 - Pharmacy/treatment dispense acknowledgment2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.166linkactive RRE^O12 - Pharmacy/treatment encoded order acknowledgment2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.167linkactive RRG^O16 - Pharmacy/treatment give acknowledgment2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.168linkactive RRI^I12 - Patient referral2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.173linkactive RSP^K31 - Dispense History Response2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.174linkactive RSP^Z82 - Pharmacy Dispense Message2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.175linkactive RSP^Z86 - Pharmacy Information Comprehensive2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.176linkactive RSP^Z88 - Pharmacy Dispense Information2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.177linkactive RSP^Z90 - Lab Results History2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.180linkactive SIU^S12 - Notification of new appointment booking2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.182linkactive SQM^S25 - Schedule query message and response2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.183linkactive SQR^S25 - Schedule query message and response2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.185linkactive SRR^S01 - Request new appointment booking2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.190linkactive UDM^Q05 - Unsolicited display update message2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.192linkactive VXQ^V01 - Query for vaccination record2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.193linkactive VXR^V03 - Vaccination record response2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.194linkactive VXU^V04 - Unsolicited vaccination record update2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.195linkactive VXX^V02 - Response to vaccination query returning multiple PID matches2013‑02‑10
2.16.840.1.113883.3.1937.777.10.13.37linkactive ECD - Equipment Command2013‑02‑10
2.16.840.1.113883.3.1937.777.10.13.50linkactive GOL - Goal Detail2013‑02‑10
2.16.840.1.113883.3.1937.777.10.13.59linkactive INV - Inventory Detail2013‑02‑10
2.16.840.1.113883.3.1937.777.10.13.81linkactive OBR - Observation Request2013‑02‑10
2.16.840.1.113883.3.1937.777.10.13.92linkactive ORC - Common Order2013‑02‑10
2.16.840.1.113883.3.1937.777.10.13.115linkactive QRF - Original style query filter2013‑02‑10
2.16.840.1.113883.3.1937.777.10.13.129linkactive RXE - Pharmacy/Treatment Encoded Order2013‑02‑10
2.16.840.1.113883.3.1937.777.10.13.130linkactive RXG - Pharmacy/Treatment Give2013‑02‑10
2.16.840.1.113883.3.1937.777.10.13.134linkactive SCH - Scheduling Activity Information2013‑02‑10
2.16.840.1.113883.3.1937.777.10.13.148linkactive URS - Unsolicited Selection2013‑02‑10
2.16.840.1.113883.3.1937.777.10.15.63Containmentactive TQ - Timing/quantity2013‑02‑10
Uses as NameVersion
2.16.840.1.113883.3.1937.777.10.15.83Containmentactive ID - Coded value for HL7 defined tablesDYNAMIC
2.16.840.1.113883.3.1937.777.10.15.84Containmentactive IS - Coded value for user-defined tablesDYNAMIC
2.16.840.1.113883.3.1937.777.10.15.86Containmentactive NM - NumericDYNAMIC
2.16.840.1.113883.3.1937.777.10.15.89Containmentactive ST - StringDYNAMIC
ItemDTCardConfDescriptionLabel
hl7v2:OSD.1
ID0 … 1RIdentifies whether sequence conditions or a repeating cycle of orders is defined. Refer to HL7-defined Table 0524 – Sequence condition for valid values.
Contains 2.16.840.1.113883.3.1937.777.10.15.83 ID - Coded value for HL7 defined tables (DYNAMIC)
OSD_dotstype
@Type
0 … 1FID
@Table
0 … 1FHL70524
@LongName
0 … 1FSequence/Results Flag
hl7v2:OSD.2
ST0 … 1RContains the first component of the placer order number, entity identifier.
Contains 2.16.840.1.113883.3.1937.777.10.15.89 ST - String (DYNAMIC)
OSD_dotstype
@Type
0 … 1FST
@LongName
0 … 1FPlacer Order Number: Entity Identifier
hl7v2:OSD.3
IS0 … 1Contains the second component of the placer order number, namespace ID. Refer to user-defined table 0363 - Assigning Authority for suggested values.
Contains 2.16.840.1.113883.3.1937.777.10.15.84 IS - Coded value for user-defined tables (DYNAMIC)
OSD_dotstype
@Type
0 … 1FIS
@Table
0 … 1FHL70363
@LongName
0 … 1FPlacer Order Number: Namespace ID
hl7v2:OSD.4
ST0 … 1RContains the first component of the filler order number, entity identifier.
Contains 2.16.840.1.113883.3.1937.777.10.15.89 ST - String (DYNAMIC)
OSD_dotstype
@Type
0 … 1FST
@LongName
0 … 1FFiller Order Number: Entity Identifier
hl7v2:OSD.5
IS0 … 1Contains the second component of the filler order number, namespace ID. Refer to user-defined table 0363 - Assigning Authority for suggested values
Contains 2.16.840.1.113883.3.1937.777.10.15.84 IS - Coded value for user-defined tables (DYNAMIC)
OSD_dotstype
@Type
0 … 1FIS
@Table
0 … 1FHL70363
@LongName
0 … 1FFiller Order Number: Namespace ID
hl7v2:OSD.6
ST0 … 1

Defines the relationship between the start/end of the related predecessor or successor order and the current order from ORC-2, 3 or 4.

The acceptable condition values have the form commonly used in project planning methodologies in the following format: <one of "SS", "EE", "SE", or "ES"> +/- <time>.

The first letter stands for start (S) or end (E) of predecessor order, where the predecessor is defined by the placer or filler order number in subcomponents 1,2 or subcomponents 3,4.

The second letter stands for the start (S) or end (E) of the successor order, where the successor order is the order containing this quantity/timing specification.

The time specifies the interval between the predecessor and successor starts or ends (see following examples).

Where <time> is defined as:

ExampleDescriptionComment
S<integer>do for <integer> seconds
M<integer>do for <integer> minutes
H<integer>do for <integer> hours
D<integer>do for <integer> days
W<integer>do for <integer> weeks
L<integer>do for <integer> months

Contains 2.16.840.1.113883.3.1937.777.10.15.89 ST - String (DYNAMIC)
OSD_dotstype
@Type
0 … 1FST
@LongName
0 … 1FSequence Condition Value
hl7v2:OSD.7
NM0 … 1The maximum number of repeats to be used only on cyclic groups. The total number of repeats is constrained by the end date/time of the last repeat or the end date/time of the parent, whichever is first.
Contains 2.16.840.1.113883.3.1937.777.10.15.86 NM - Numeric (DYNAMIC)
OSD_dotstype
@Type
0 … 1FNM
@LongName
0 … 1FMaximum Number of Repeats
hl7v2:OSD.8
ST0 … 1RContains the next to the last component of the placer order number, universal ID.
Contains 2.16.840.1.113883.3.1937.777.10.15.89 ST - String (DYNAMIC)
OSD_dotstype
@Type
0 … 1FST
@LongName
0 … 1FPlacer Order Number: Universal ID
hl7v2:OSD.9
ID0 … 1Contains the last component of the placer order number. Refer to HL7 table 0301 - Universal ID Type for valid values.
Contains 2.16.840.1.113883.3.1937.777.10.15.83 ID - Coded value for HL7 defined tables (DYNAMIC)
OSD_dotstype
@Type
0 … 1FID
@Table
0 … 1FHL70301
@LongName
0 … 1FPlacer Order Number: Universal ID Type
hl7v2:OSD.10
ST0 … 1RContains the next to the last component of the filler order number, universal ID.
Contains 2.16.840.1.113883.3.1937.777.10.15.89 ST - String (DYNAMIC)
OSD_dotstype
@Type
0 … 1FST
@LongName
0 … 1FFiller Order Number: Universal ID
hl7v2:OSD.11
ID0 … 1Contains the last component of the placer order number. Refer to HL7 table 0301 - Universal ID Type for valid values.
Contains 2.16.840.1.113883.3.1937.777.10.15.83 ID - Coded value for HL7 defined tables (DYNAMIC)
OSD_dotstype
@Type
0 … 1FID
@Table
0 … 1FHL70301
@LongName
0 … 1FFiller Order Number: Universal ID Type