Co-Chair: |
Hans Buitendijk |
Co-Chair: |
David Burgess |
Co-Chair: |
Lorraine Constable |
Co-Chair: |
Robert Hausam |
Co-Chair: |
Ken McCaslin |
Co-Chair: |
Patrick Loyd |
Co-Chair: |
Riki Merrick |
Co-Chair:Chapter Chair: |
JD Nolen Children’s Mercy Hospital |
Editor |
Scott Robertson |
Sponsoring Committee: |
Orders & Observations |
List Server: |
|
This extension of chapter 4 was created because as of version 2.6 it had become too large to edit without great difficulty. Thus, the sections specific to pharmacy and vaccines were excised from that chapter and now comprise the content of this chapter.
This chapter is organized into two major sections, Pharmacy, and Vaccine. Each section contains the trigger events, message definitions, segments and examples for the specific type of order messages. Each section about a type of order is organized into background and overview, message structure, and message segments (that are specific to the order class in question). Special discussions of the use of fields, segments or messages, and examples are included. Segments are introduced in order of occurrence in a message. A list of allowable values for a field is included in the body of the text, along with the field definition for easier reference.
Section 4A.3 to 4A.6 Covers pharmacy/treatment trigger events & messages, pharmacy/treatment segments, pharmacy/treatment message examples and pharmacy/treatment message flow diagrams.
Sections 4A.7 to 4A.6 Covers vaccine trigger events & message definitions, vaccine segments and vaccine message examples.
For the RDS (pharmacy/treatment dispense), RGV (pharmacy/treatment give) and RAS (pharmacy/treatment administration) messages, the placer and filler order numbers are those of the parent RDE (pharmacy/treatment encoded order) message. In these messages, the filler order number does not provide a unique identification of the instance of the pharmacy/treatment action (dispense, give or administer). To correct this problem, each of the defining segments (RXD, RXG, and RXA) has an appropriately named sub-ID field (dispense sub-ID counter, give sub-ID counter, and administration sub-ID counter). The combination of the filler order number (including its application ID component) and the appropriate sub-ID counter uniquely identifies the instance of the pharmacy/treatment action(s) present in these messages.
Although the default order control code for the RDE, RDS, RGV and RAS messages is "RE," there are cases in which the pharmacy or treatment system and the receiving system must communicate changes in state. Depending on whether the pharmacy or treatment supplier's relationship to the receiving system is that of placer or filler, the appropriate order control code may be substituted for the default value of RE. The receiving system can also use an appropriate order control code to report status back to the pharmacy or treatment system.
For example, suppose that a pharmacy or treatment system is sending RGV messages to a nursing system which will administer the medication and that the pharmacy or treatment system needs to request that several instances of a give order be discontinued. To implement this request, the RGV message may be sent with a "DC" order control code (discontinue request), and the appropriate RXG segments whose give sub-ID fields identify the instances to be discontinued. If a notification back to the pharmacy or treatment supplier is needed, the nursing system can initiate an RGV message with a "DR" order control code (discontinue as requested), and containing RXG segments whose give sub-ID fields identify the discontinued instances.
An order for a group of IV solutions to be given sequentially can be supported in two similar ways: Parent/Child and Separate Orders. This HL7 Standard supports both methods of ordering. The method used at a particular site must be negotiated between the site institution and the various application vendors. See Chapter 2, section 2.A.53 OSD Order Sequence Definition, "Use Case 1 Cyclic placer order groups," for further details.
Send Application Ack: ORP^O10^ORP_O10
When the MSH-15 value of an OMP^O09^OMP_O09 message is AL or ER or SU, an ACK^O09^ACK message SHALL be sent as an immediate ack.
When the MSH-15 value of an OMP^O09^OMP_O09 message is NE or AL or ER or SU, an immediate ack SHALL NOT be sent.
When the MSH-16 value of an OMP^O09^OMP_O09 message is AL or ER or SU, an ORP^O10^ORP_O10 or OSU^O52^OSU_O52 message SHALL be sent as an application ack.
When the MSH-16 value of an OMP^O09^OMP_O09 message is NE or AL or ER or SU, an application ack SHALL NOT be sent.
Field | Value | Send Response |
---|---|---|
MSH-15 | AL, ER, SU | immediate ack: ACK^O09^ACK |
NE, AL, ER, SU | (none) | |
MSH-16 | AL, ER, SU | application ack: ORP^O10^ORP_O10 or OSU^O52^OSU_O52 |
NE, AL, ER, SU | (none) |
There is not supposed to be an Application Level acknowledgement to an Application Level Acknowledgement message. In Enhanced Mode, MSH-16 SHALL always be set to NE (Never).
Send Immediate Ack: ACK^O10^ACK
When the MSH-15 value of an ORP^O10^ORP_O10 message is AL or ER or SU, an ACK^O10^ACK message SHALL be sent as an immediate ack.
When the MSH-15 value of an ORP^O10^ORP_O10 message is NE or AL or ER or SU, an immediate ack SHALL NOT be sent.
When the MSH-16 value of an ORP^O10^ORP_O10 message is AL or ER or SU, a message SHALL be sent as an application ack.
When the MSH-16 value of an ORP^O10^ORP_O10 message is NE or AL or ER or SU, an application ack SHALL NOT be sent.
Field | Value | Send Response |
---|---|---|
MSH-15 | AL, ER, SU | immediate ack: ACK^O10^ACK |
NE, AL, ER, SU | (none) | |
MSH-16 | AL, ER, SU | application ack: |
NE, AL, ER, SU | (none) |
Attention: The use of RDE with the trigger of O01 and RRE with the trigger O02 is maintained for backward compatibility as of v 2.4 and is withdrawn as of v 2.7. Refer to RDE with trigger O11 and RRE with trigger O12 instead.
This message communicates the pharmacy or treatment application's encoding of the pharmacy/treatment order ,OMP, message. It may be sent as an unsolicited message to report on either a single order or multiple pharmacy/treatment orders for a patient.
The RDE/RRE message pair can also be used to communicate a refill authorization request; however, a specific trigger event has been assigned. See section 4A.3.13 "RDE - Pharmacy/Treatment Refill Authorization Request Message (Event O25)." As a site-specific variant, the original order segments (RXO, RXRs, associated RXCs, and any NTEs) may be sent optionally (for comparison).
The event O11 represents an encoding of an order. To communicate explicit dispense requests, which are different event types, the RDE^O11/RRE^O12 message pair is also used, but the event O49 is preferred. See section 4A.3.23 "RDE - Pharmacy/Treatment Dispense Request Message (Event O49)." As a site-specific variant, the original order segments (RXO, RXRs, associated RXCs, and any NTEs) may be sent optionally (for comparison).
Note: The RXCs which follow the RXO may not be fully encoded, but those that follow the RXE must be fully encoded.
The NTE segment(s) following the PD1 segment are intended to communicate notes and comments relative to the patient.
The NTE segment(s) following the RXO segment are intended to communicate notes and comments relative to the pharmacy/treatment order.
The NTE segment(s) following the RXE segment are intended to communicate notes and comments relative to the encoded order.
The NTE segment(s) following the RXV segment are intended to communicate notes and comments relative to the encoded order.
The NTE segment(s) following the RXC segment are intended to communicate notes and comments relative to the component(s).
The NTE segment following the OBX segment is intended to communicate notes and comments relative to the results.
Send Application Ack: RRE^O12^RRE_O12
When the MSH-15 value of a RDE^O11^RDE_O11 message is AL or ER or SU, an ACK^O11^ACK message SHALL be sent as an immediate ack.
When the MSH-15 value of a RDE^O11^RDE_O11 message is NE or AL or ER or SU, an immediate ack SHALL NOT be sent.
When the MSH-16 value of a RDE^O11^RDE_O11 message is AL or ER or SU, a RRE^O12^RRE_O12 or OSU^O52^OSU_O52 message SHALL be sent as an application ack.
When the MSH-16 value of a RDE^O11^RDE_O11 message is NE or AL or ER or SU, an application ack SHALL NOT be sent.
Field | Value | Send Response |
---|---|---|
MSH-15 | AL, ER, SU | immediate ack: ACK^O11^ACK |
NE, AL, ER, SU | (none) | |
MSH-16 | AL, ER, SU | application ack: RRE^O12^RRE_O12 or OSU^O52^OSU_O52 |
NE, AL, ER, SU | (none) |
There is not supposed to be an Application Level acknowledgement to an Application Level Acknowledgement message. In Enhanced Mode, MSH-16 SHALL always be set to NE (Never).
Send Immediate Ack: ACK^O12^ACK
When the MSH-15 value of a RRE^O12^RRE_O12 message is AL or ER or SU, an ACK^O12^ACK message SHALL be sent as an immediate ack.
When the MSH-15 value of a RRE^O12^RRE_O12 message is NE or AL or ER or SU, an immediate ack SHALL NOT be sent.
When the MSH-16 value of a RRE^O12^RRE_O12 message is AL or ER or SU, a message SHALL be sent as an application ack.
When the MSH-16 value of a RRE^O12^RRE_O12 message is NE or AL or ER or SU, an application ack SHALL NOT be sent.
Field | Value | Send Response |
---|---|---|
MSH-15 | AL, ER, SU | immediate ack: ACK^O12^ACK |
NE, AL, ER, SU | (none) | |
MSH-16 | AL, ER, SU | application ack: |
NE, AL, ER, SU | (none) |
The RDS message may be created by the pharmacy/treatment application for each instance of dispensing a drug or treatment to fill an existing order or orders. In the most common case, the RDS messages would be routed to a Nursing application or to some clinical application, which needs the data about drugs dispensed or treatments given. As a site-specific variant, the original order segments (RXO, RXE and their associated RXR/RXCs) may be sent optionally (for comparison).
The ORC must have the filler order number and the order control code RE. The RXE and associated RXCs may be present if the receiving application needs any of their data. The RXD carries the dispense data for a given issuance of medication: thus it may describe a single dose, a half-day dose, a daily dose, a refill of a prescription, etc. The RXD is not a complete record of an order. Use the RXO and RXE segments if a complete order is needed. It is a record from the pharmacy or treatment supplier to the Nursing application (or other) with drug/treatment dispense and administration instructions.
The FT1 segment is optional and repeating in order to accommodate multiple charge, benefit and pricing situations. Example use cases demonstrating zero, one and two FT1 segments follow:
In the case where the RDS message represents a dispense event that is in process (i.e., has not been received by the patient), the financial transactions associated with the dispense do not yet exist. Until the financial transactions associated with the dispense event have been completed, no FT1 segment may exist in the message.
In the case where the RDS message represents a dispense event that has been received by the patient, and thus all financial transactions have been completed, the RDS message may contain one or more FT1 segments. Examples of single and multiple FT1 segments follow.
Payment for the dispense event completed by a single payor:
MSH|^&~\|Pharm|GenHosp|CIS|GenHosp|2006082911150700||RDS^O13^RDS_O13|...
PID|...
ORC|RE|...
RXD|1|00310-0131-10^LISINOPRIL 10MG TABLET^NDC|200607150830|100|TAB|...
FT1|1|||200607151035||PY|00310-0131-10^LISINOPRIL 10MG TABLET^NDC|||100|125.43&USD|...
Payment for the dispense event involves multiple payment sources:
MSH|^&~\|Pharm|GenHosp|CIS|GenHosp|2006082213000700||RDS^O13^RDS_O13|...
PID|...
ORC|RE|...
RXD|1|00340-0241-10^VERAPAMIL 120MG TABLET^NDC|200607200940|100|TAB|...
FT1|1|||200607211055||CD|00340024110^VERAPAMIL 120MG TABLET ^NDC|||100|55.43&USD|...
FT1|2|||200607211055||CP|00340024110^VERAPAMIL 120MG TABLET ^NDC|||100|5.00&USD|...
Note: The use of RDS with the trigger of O01 and RRD with the trigger O02 is maintained for backward compatibility as of v 2.4 and is withdrawn as of v 2.7.
Note: The NTE segment(s) following the PD1 segment are intended to communicate notes and comments relative to the patient.
The NTE segment(s) following the RXO segment are intended to communicate notes and comments relative to the pharmacy/treatment order.
The NTE segment(s) following the RXE segment are intended to communicate notes and comments relative to the encoded order.
The NTE segment(s) following the RXD segment are intended to communicate notes and comments relative to the dispense event.
The NTE segment(s) following the RXC segment are intended to communicate notes and comments relative to the component(s).
The NTE segment following the OBX segment is intended to communicate notes and comments relative to the results.
Send Application Ack: RRD^O14^RRD_O14
When the MSH-15 value of a RDS^O13^RDS_O13 message is AL or ER or SU, an ACK^O13^ACK message SHALL be sent as an immediate ack.
When the MSH-15 value of a RDS^O13^RDS_O13 message is NE or AL or ER or SU, an immediate ack SHALL NOT be sent.
When the MSH-16 value of a RDS^O13^RDS_O13 message is AL or ER or SU, a RRD^O14^RRD_O14 message SHALL be sent as an application ack.
When the MSH-16 value of a RDS^O13^RDS_O13 message is NE or AL or ER or SU, an application ack SHALL NOT be sent.
Field | Value | Send Response |
---|---|---|
MSH-15 | AL, ER, SU | immediate ack: ACK^O13^ACK |
NE, AL, ER, SU | (none) | |
MSH-16 | AL, ER, SU | application ack: RRD^O14^RRD_O14 |
NE, AL, ER, SU | (none) |
There is not supposed to be an Application Level acknowledgement to an Application Level Acknowledgement message. In Enhanced Mode, MSH-16 SHALL always be set to NE (Never).
Send Immediate Ack: ACK^O14^ACK
When the MSH-15 value of a RRD^O14^RRD_O14 message is AL or ER or SU, an ACK^O14^ACK message SHALL be sent as an immediate ack.
When the MSH-15 value of a RRD^O14^RRD_O14 message is NE or AL or ER or SU, an immediate ack SHALL NOT be sent.
When the MSH-16 value of a RRD^O14^RRD_O14 message is AL or ER or SU, a message SHALL be sent as an application ack.
When the MSH-16 value of a RRD^O14^RRD_O14 message is NE or AL or ER or SU, an application ack SHALL NOT be sent.
Field | Value | Send Response |
---|---|---|
MSH-15 | AL, ER, SU | immediate ack: ACK^O14^ACK |
NE, AL, ER, SU | (none) | |
MSH-16 | AL, ER, SU | application ack: |
NE, AL, ER, SU | (none) |
Attention: The use of RGV with the trigger of O01 and RRG with the trigger O02 is maintained for backward compatibility as of v 2.4 and is withdrawn as of v 2.7. Refer to RGV with trigger O15 and RRG with trigger O16 instead.
When the "give" (i.e., administration) information needs to be transmitted from the pharmacy or treatment application to another application, it is done with the RGV message. The RGV message uses the RXG segment to record drug or treatment administration instructions, which is not contained in an RDS, dispense message. The RGV message may carry information about a single scheduled administration on a drug or treatment, or it may carry information about multiple administrations. If the pharmacy or treatment application (or some other application) needs to create an unambiguous MAR report where each administration is matched to a particular give date/time instruction, it may use the RGV message as described in the following way:
For each scheduled administration of the medication, the pharmacy/treatment issues either a single RGV message or a single RGV message with multiple RXG segments, one for each scheduled administration. The actual administrations (transmitted by one or more RAS messages) are matched against the scheduled ones by recording in each RXA segment the Give Sub-ID of the corresponding RXG segment. If more than one administration needs to be matched (as in the case of recording a change or rate of an IV solution) the administering application issues additional RXA segment(s) (corresponding to the same RXG segment). If no matching is needed, the Give Sub-ID of the RXA segments has the value zero (0).
When used for a scheduled administration or for the start of a continuous administration such as an IV fluid, the ORC must have the filler order number and the order control code RE.
When used for an update to a continuous administration which is currently in progress (e.g. change of rate of an IV fluid), the ORC must have the filler order number and the order control code XO. For these updates the value of RXG-1 Give Sub-ID Counter may be used to provide a unique reference (see section 4A.4.6.1).
The RXE and associated RXCs may be present if the receiving application needs any of their data. The RXG carries the scheduled administration data for either a single "give instruction" (single dose) of medication or for multiple "give instructions." The RXG is not a complete record of an order. Use the RXO and RXE segments if a complete order is needed. It is a record from the pharmacy or treatment application to the Nursing application (or other) with drug/treatment administration instructions.
Send Application Ack: RRG^O16^RRG_O16
When the MSH-15 value of a RGV^O15^RGV_O15 message is AL or ER or SU, an ACK^O15^ACK message SHALL be sent as an immediate ack.
When the MSH-15 value of a RGV^O15^RGV_O15 message is NE or AL or ER or SU, an immediate ack SHALL NOT be sent.
When the MSH-16 value of a RGV^O15^RGV_O15 message is AL or ER or SU, a RRG^O16^RRG_O16 message SHALL be sent as an application ack.
When the MSH-16 value of a RGV^O15^RGV_O15 message is NE or AL or ER or SU, an application ack SHALL NOT be sent.
Field | Value | Send Response |
---|---|---|
MSH-15 | AL, ER, SU | immediate ack: ACK^O15^ACK |
NE, AL, ER, SU | (none) | |
MSH-16 | AL, ER, SU | application ack: RRG^O16^RRG_O16 |
NE, AL, ER, SU | (none) |
There is not supposed to be an Application Level acknowledgement to an Application Level Acknowledgement message. In Enhanced Mode, MSH-16 SHALL always be set to NE (Never).
Send Immediate Ack: ACK^O16^ACK
When the MSH-15 value of a RRG^O16^RRG_O16 message is AL or ER or SU, an ACK^O16^ACK message SHALL be sent as an immediate ack.
When the MSH-15 value of a RRG^O16^RRG_O16 message is NE or AL or ER or SU, an immediate ack SHALL NOT be sent.
When the MSH-16 value of a RRG^O16^RRG_O16 message is AL or ER or SU, a message SHALL be sent as an application ack.
When the MSH-16 value of a RRG^O16^RRG_O16 message is NE or AL or ER or SU, an application ack SHALL NOT be sent.
Field | Value | Send Response |
---|---|---|
MSH-15 | AL, ER, SU | immediate ack: ACK^O16^ACK |
NE, AL, ER, SU | (none) | |
MSH-16 | AL, ER, SU | application ack: |
NE, AL, ER, SU | (none) |
Note: The use of RAS with the trigger of O01 and RRA with the trigger O02 is maintained for backward compatibility as of v2.4 and is withdrawn as of v2.7. Refer to RAS with trigger O17 and RRA with trigger O18 instead.
The RAS message may be created by the administering application (e.g., nursing application) for each instance of administration for an existing order. If the administering application wants to report several administrations of medication/treatment for a given order with a single RAS message, each instance is reported by a separate (repeating) RXA segment. In addition, the administration records for a group of orders may be sent in a single message by creating repeating groups of segments at the ORC level.
In the most common case, the RAS messages would be sent from a nursing application to the pharmacy or treatment application (or to the ordering application or another clinical application), which could use the data to generate the medication administration reports. Multiple RXA segments, each corresponding to a separate administration instance for a given order, may be sent with a single ORC.
Send Application Ack: RRA^O18^RRA_O18
When the MSH-15 value of a RAS^O17^RAS_O17 message is AL or ER or SU, an ACK^O17^ACK message SHALL be sent as an immediate ack.
When the MSH-15 value of a RAS^O17^RAS_O17 message is NE or AL or ER or SU, an immediate ack SHALL NOT be sent.
When the MSH-16 value of a RAS^O17^RAS_O17 message is AL or ER or SU, a RRA^O18^RRA_O18 message SHALL be sent as an application ack.
When the MSH-16 value of a RAS^O17^RAS_O17 message is NE or AL or ER or SU, an application ack SHALL NOT be sent.
Field | Value | Send Response |
---|---|---|
MSH-15 | AL, ER, SU | immediate ack: ACK^O17^ACK |
NE, AL, ER, SU | (none) | |
MSH-16 | AL, ER, SU | application ack: RRA^O18^RRA_O18 |
NE, AL, ER, SU | (none) |
There is not supposed to be an Application Level acknowledgement to an Application Level Acknowledgement message. In Enhanced Mode, MSH-16 SHALL always be set to NE (Never).
Send Immediate Ack: ACK^O18^ACK
When the MSH-15 value of a RRA^O18^RRA_O18 message is AL or ER or SU, an ACK^O18^ACK message SHALL be sent as an immediate ack.
When the MSH-15 value of a RRA^O18^RRA_O18 message is NE or AL or ER or SU, an immediate ack SHALL NOT be sent.
When the MSH-16 value of a RRA^O18^RRA_O18 message is AL or ER or SU, a message SHALL be sent as an application ack.
When the MSH-16 value of a RRA^O18^RRA_O18 message is NE or AL or ER or SU, an application ack SHALL NOT be sent.
Field | Value | Send Response |
---|---|---|
MSH-15 | AL, ER, SU | immediate ack: ACK^O18^ACK |
NE, AL, ER, SU | (none) | |
MSH-16 | AL, ER, SU | application ack: |
NE, AL, ER, SU | (none) |
The RDE/RRE is used to communicate a refill authorization request originating with the pharmacy. This message replicates the standard RDE message with a different trigger event code to indicate the specific use case of a refill authorization request.
Send Application Ack: RRE^O26^RRE_O12
When the MSH-15 value of a RDE^O25^RDE_O11 message is AL or ER or SU, an ACK^O25^ACK message SHALL be sent as an immediate ack.
When the MSH-15 value of a RDE^O25^RDE_O11 message is NE or AL or ER or SU, an immediate ack SHALL NOT be sent.
When the MSH-16 value of a RDE^O25^RDE_O11 message is AL or ER or SU, a RRE^O26^RRE_O12 message SHALL be sent as an application ack.
When the MSH-16 value of a RDE^O25^RDE_O11 message is NE or AL or ER or SU, an application ack SHALL NOT be sent.
Field | Value | Send Response |
---|---|---|
MSH-15 | AL, ER, SU | immediate ack: ACK^O25^ACK |
NE, AL, ER, SU | (none) | |
MSH-16 | AL, ER, SU | application ack: RRE^O26^RRE_O12 |
NE, AL, ER, SU | (none) |
There is not supposed to be an Application Level acknowledgement to an Application Level Acknowledgement message. In Enhanced Mode, MSH-16 SHALL always be set to NE (Never).
Send Immediate Ack: ACK^O26^ACK
When the MSH-15 value of a RRE^O26^RRE_O12 message is AL or ER or SU, an ACK^O26^ACK message SHALL be sent as an immediate ack.
When the MSH-15 value of a RRE^O26^RRE_O12 message is NE or AL or ER or SU, an immediate ack SHALL NOT be sent.
When the MSH-16 value of a RRE^O26^RRE_O12 message is AL or ER or SU, a message SHALL be sent as an application ack.
When the MSH-16 value of a RRE^O26^RRE_O12 message is NE or AL or ER or SU, an application ack SHALL NOT be sent.
Field | Value | Send Response |
---|---|---|
MSH-15 | AL, ER, SU | immediate ack: ACK^O26^ACK |
NE, AL, ER, SU | (none) | |
MSH-16 | AL, ER, SU | application ack: |
NE, AL, ER, SU | (none) |
Attention: This query/response pair was retained for backward compatibility only as of v2.4 and withdrawn as of v2.7. Please refer to Chapter 5 for detailed coverage of query/response methodology to be employed in Versions 2.4 and later.
Attention:This query/response pair was retained for backward compatibility only as of v2.4 and withdrawn as of v2.7. Please refer to Chapter 5 for detailed coverage of query/response methodology to be employed in Versions 2.4 and later.
Attention: This query/response pair was retained for backward compatibility only as of v2.4 and withdrawn as of v2.7. Please refer to Chapter 5 for detailed coverage of query/response methodology to be employed in Versions 2.4 and later.
Attention: This query/response pair was retained for backward compatibility only as of v2.4 and withdrawn as of v2.7. Please refer to Chapter 5 for detailed coverage of query/response methodology to be employed in Versions 2.4 and later.
Attention: This query/response pair was retained for backward compatibility only as of v2.4 and withdrawn as of v2.7. Please refer to Chapter 5 for detailed coverage of query/response methodology to be employed in Versions 2.4 and later.
Query Statement ID (Query ID=Q31): |
Q31 |
Type: |
Query |
Query Name: |
Dispense History |
Query Trigger (= MSH-9): |
QBP^Q31^QBP_Q11 |
Query Mode: |
Both |
Response Trigger (= MSH-9): |
RSP^K31^RSP_K31 |
Query Characteristics: |
May specify patient, medication, a date range, and how the response is to be sorted. |
Purpose: |
To retrieve patient pharmacy dispense history information from the Server. |
Response Characteristics: |
Sorted by Medication Dispensed unless otherwise specified in SortControl. |
Based on Segment Pattern: |
RDS_O01 |
QPD Input Parameter Specification
Field Seq (Query ID=Q31) |
Name |
Key/ Search |
Sort |
LEN |
TYPE |
Opt |
Rep |
Match Op |
TBL |
Segment Field Name |
Service Identifier Code |
Element Name |
1 |
MessageQueryName |
60 |
CWE |
R |
||||||||
2 |
QueryTag |
32 |
ST |
R |
||||||||
PatientList |
S |
Y |
20 |
CX |
O |
PID.3 |
PID-3: Patient Identifier List |
|||||
MedicationDispensed |
S |
Y |
100 |
CWE |
O |
= |
RXD.2 |
RXD-2: Dispense/Give Code |
||||
DispenseDate.LL |
S |
Y |
24 |
DTM |
O |
> |
RXD.3 |
RXD-3: Date/Time Dispensed |
||||
DispenseDate.UL |
S |
Y |
24 |
DTM |
O |
< |
RXD.3 |
RXD-3: Date/Time Dispensed |
QPD Input Parameter Field Description and Commentary
Input Parameter (Query ID=Q31) |
Comp. Name |
DT |
Description |
MessageQueryName |
CWE |
Must be valued Q31^Dispense History^HL7nnnn. |
|
QueryTag |
ST |
Unique to each query message instance. |
|
PatientList |
CX |
The combination of values for PatientList.ID, and PatientList.AssigningAuthority, are intended to identify a unique entry on the PATIENT_MASTER table. The PatientList.IdentifierTypeCode is useful for further filtering or to supply uniqueness in the event that the assigning authority may have more than one coding system. (The PATIENT_MASTER table contains a constraint that prevents multiple patients from being identified by the same combination of field values.) This PATIENT_MASTER entry will be searched against on the PHARMACY_DISPENSE_TRANSACTION table to retrieve the rows fulfilling the query conditions. |
|
ID |
ID |
If this field, PID.3.1, is not valued, all values for this field are considered to be a match. |
|
Assigning Authority |
HD |
If this field, PID.3.4, is not valued, all values for this field are considered to be a match. |
|
Identifier type code |
IS |
If this field, PID.3.5, is not valued, all values for this field are considered to be a match. |
|
MedicationDispensed |
CWE |
If this field is not valued, all values for this field are considered to be a match. |
|
DispenseDate.LL |
DTM |
This is the earliest value to be returned for Date/Time Dispensed. If this field is not valued, all values for this field are considered to be a match. |
|
DispenseDate.UL |
DTM |
This is the latest value to be returned for Date/Time Dispensed. If this field is not valued, all values for this field are considered to be a match. |
Send Application Ack: RSP^K31^RSP_K31
When the MSH-15 value of a QBP^Q31^QBP_Q11 message is AL or ER or SU, an ACK^Q31^ACK message SHALL be sent as an immediate ack.
When the MSH-15 value of a QBP^Q31^QBP_Q11 message is NE or AL or ER or SU, an immediate ack SHALL NOT be sent.
When the MSH-16 value of a QBP^Q31^QBP_Q11 message is AL or ER or SU, a RSP^K31^RSP_K31 message SHALL be sent as an application ack.
When the MSH-16 value of a QBP^Q31^QBP_Q11 message is NE or AL or ER or SU, an application ack SHALL NOT be sent.
Field | Value | Send Response |
---|---|---|
MSH-15 | AL, ER, SU | immediate ack: ACK^Q31^ACK |
NE, AL, ER, SU | (none) | |
MSH-16 | AL, ER, SU | application ack: RSP^K31^RSP_K31 |
NE, AL, ER, SU | (none) |
Send An Acknowlegment is never sent in original mode.
When the MSH-15 value of a RSP^K31^RSP_K31 message is AL or ER or SU, an ACK^K31^ACK message SHALL be sent as an immediate ack.
When the MSH-15 value of a RSP^K31^RSP_K31 message is NE or AL or ER or SU, an immediate ack SHALL NOT be sent.
When the MSH-16 value of a RSP^K31^RSP_K31 message is AL or ER or SU, a message SHALL be sent as an application ack.
When the MSH-16 value of a RSP^K31^RSP_K31 message is NE or AL or ER or SU, an application ack SHALL NOT be sent.
Field | Value | Send Response |
---|---|---|
MSH-15 | AL, ER, SU | immediate ack: ACK^K31^ACK |
NE, AL, ER, SU | (none) | |
MSH-16 | AL, ER, SU | application ack: |
NE, AL, ER, SU | (none) |
Example: The user wishes to know all the medications dispensed for the patient whose medical record number is "555444222111" for the period beginning 5/31/2005 and ending 5/31/2006. The following QBP message is generated.
MSH|^&~\|PCR|Gen Hosp|Pharm||200611201400-0800||QBP^Q31^QBP_Q11|ACK9901|P|2.8|
QPD|Q31^Dispense History^HL70471|Q001|555444222111^^^MPI^MR||20050531|20060531|
RCP|I|999^RD|
The pharmacy system identifies medical record number "555444222111" as belonging to Adam Everyman and locates 4 prescription dispenses for the period beginning 5/31/2005 and ending 5/31/2006 and returns the following RSP message:
MSH|^&~\|Pharm|Gen hosp|PCR||200611201400-0800||RSP^K31^RSP_K31|8858|P|2.8|
MSA|AA|ACK9901|
QAK|Q001|OK|Q31^Dispense History^HL70471|4|
QPD|Q31^Dispense History^HL70471|Q001|444-33-3333^^^MPI^MR||20050531|20060531|
PID|||444-33-3333^^^MPI^MR||Everyman^Adam||19600614|M||C|2222 Home Street ^^Anytown^US^12345||^^^^^555^5552004|
ORC|RE||89968665||||||200505121345-0700|||444-44-4444^HIPPOCRATES^HAROLD^^^^MD||^^^^^555^5551003|
RXE|1^BID^^20050529|00378112001^Verapamil Hydrochloride 120 mg TAB^NDC |120||mgm|
RXD|1|00378112001^Verapamil Hydrochloride 120 mg TAB^NDC |200505291115-0700|100|||1331665|3|
RXR|PO|
ORC|RE||89968665||||||200505291030-0700|||444-44-4444^HIPPOCRATES^HAROLD^^^^MD||^^^^^555^5551003|
RXE|1^^D100^^20070731^^^TAKE 1 TABLET DAILY --GENERIC FOR CALAN SR|00182196901^VERAPAMIL HCL ER TAB 180MG ER^NDC |100||180MG|TABLET SA|||G|||0|BC3126631^CHU^Y^L||213220929|0|0|19980821|
RXD|1|00182196901^VERAPAMIL HCL ER TAB 180MG ER^NDC |20050821|100|||213220929|0|TAKE 1 TABLET DAILY --GENERIC FOR CALAN SR|
RXR|PO|
ORC|RE||235134037||||||200509221330-0700|||444-44-4444^HIPPOCRATES^HAROLD^^^^MD||^^^^^555^5551003|
RXD|1|00172409660^BACLOFEN 10MG TABS^NDC|200509221415-0700|10|||235134037|5|AS DIRECTED|
RXR|PO|
ORC|RE||235134030||||||200510121030-0700|||222-33-4444^PUMP^PATRICK^^^^MD ||^^^^^555^5551027|
RXD|1|00054384163^THEOPHYLLINE 80MG/15ML SOLN^NDC|200510121145-0700|10|||235134030|5|AS DIRECTED|
RXR|PO|
This message communicates the request to dispense items. It may be sent as a consequence of an existing order. It may not follow the order immediately: The pharmacist receives clinical orders continuously, but may decide that the orders for dispense are sent periodically. This illustrates that there is a new event.
This message is also not required to contain the order in its entirety: for example if one RDE^O11 contains 3 medications order there are 3 dispensing locations, the pharmacist issues one RDE^O49 for each medication. Any supply aspects are handled through these new types of message, while the clinical order can be segregated from such supply constraints.
The order to dispense refers to the “clinical” order, the original RDE^O25 (or OMP^O09) by means of a parent-child hierarchy, where ORC-8 of the OXX message refers to the ORC-2 of the RDE^025 order.
Note:
The RXCs which follow the RXO may not be fully encoded, but those that follow the RXE must be fully encoded.
The NTE segment(s) following the PD1 segment are intended to communicate notes and comments relative to the patient.
The NTE segment(s) following the RXO segment are intended to communicate notes and comments relative to the pharmacy/treatment order.
The NTE segment(s) following the RXE segment are intended to communicate notes and comments relative to the encoded order.
The NTE segment(s) following the RXC segment are intended to communicate notes and comments relative to the component(s).
The NTE segment following the OBX segment is intended to communicate notes and comments relative to the results.
Send Application Ack: RRE^O50^RRE_O50
When the MSH-15 value of a RDE^O49^RDE_O49 message is AL or ER or SU, an ACK^O49^ACK message SHALL be sent as an immediate ack.
When the MSH-15 value of a RDE^O49^RDE_O49 message is NE or AL or ER or SU, an immediate ack SHALL NOT be sent.
When the MSH-16 value of a RDE^O49^RDE_O49 message is AL or ER or SU, a RRE^O50^RRE_O50 message SHALL be sent as an application ack.
When the MSH-16 value of a RDE^O49^RDE_O49 message is NE or AL or ER or SU, an application ack SHALL NOT be sent.
Field | Value | Send Response |
---|---|---|
MSH-15 | AL, ER, SU | immediate ack: ACK^O49^ACK |
NE, AL, ER, SU | (none) | |
MSH-16 | AL, ER, SU | application ack: RRE^O50^RRE_O50 |
NE, AL, ER, SU | (none) |
There is not supposed to be an Application Level acknowledgement to an Application Level Acknowledgement message. In Enhanced Mode, MSH-16 SHALL always be set to NE (Never).
Send Immediate Ack: ACK^O50^ACK
When the MSH-15 value of a RRE^O50^RRE_O50 message is AL or ER or SU, an ACK^O50^ACK message SHALL be sent as an immediate ack.
When the MSH-15 value of a RRE^O50^RRE_O50 message is NE or AL or ER or SU, an immediate ack SHALL NOT be sent.
When the MSH-16 value of a RRE^O50^RRE_O50 message is AL or ER or SU, a message SHALL be sent as an application ack.
When the MSH-16 value of a RRE^O50^RRE_O50 message is NE or AL or ER or SU, an application ack SHALL NOT be sent.
Field | Value | Send Response |
---|---|---|
MSH-15 | AL, ER, SU | immediate ack: ACK^O50^ACK |
NE, AL, ER, SU | (none) | |
MSH-16 | AL, ER, SU | application ack: |
NE, AL, ER, SU | (none) |
The RCV message may be created to communicate the reception of items. This message supports reception of items to fill an existing order or orders, or to stock refills. In the most common case, the RCV messages would be routed to the dispensing system that issued the RDS message. The RDS message informs of the items that have been sent, while the RCV informs about the effectively received items (thus supporting any change in quantities, status,e tc., derived from transport or from a mismatch between the actually sent items and the content of the RDS).
In typical cases, the RCV^O59 message is an “echo” of one RDS^O13, but this is not forcibly so: Since the shipment and reception are asynchronous events, and considering variants in delivery, it is expected that one RCV^OYY message is issued for each confirmation of a reception, independently of whether there was one shipment or several shipments.
The RXD segment carries the dispense data for a given reception of the received items.
The FT1 segment is optional and repeating in order to accommodate multiple charge, benefit and pricing situations. When a message of type RCV is used, the FT1 may be included in the RCV message. If the RCV^O59 message is not used by the implementation, then the RDS may contain the FT1 segment.
Note: The NTE segment(s) following the PD1 segment are intended to communicate notes and comments relative to the patient.
The NTE segment(s) following the RXO segment are intended to communicate notes and comments relative to the pharmacy/treatment order.
The NTE segment(s) following the RXE segment are intended to communicate notes and comments relative to the encoded order.
The NTE segment(s) following the RXD segment are intended to communicate notes and comments relative to the dispense event.
The NTE segment(s) following the RXC segment are intended to communicate notes and comments relative to the component(s).
The NTE segment following the OBX segment is intended to communicate notes and comments relative to the results.
Send Application Ack: RRD^O14^RRD_O14
When the MSH-15 value of a RCV^O59^RCV_O59 message is AL or ER or SU, an ACK^O59^ACK message SHALL be sent as an immediate ack.
When the MSH-15 value of a RCV^O59^RCV_O59 message is NE or AL or ER or SU, an immediate ack SHALL NOT be sent.
When the MSH-16 value of a RCV^O59^RCV_O59 message is AL or ER or SU, a RRD^O14^RRD_O14 message SHALL be sent as an application ack.
When the MSH-16 value of a RCV^O59^RCV_O59 message is NE or AL or ER or SU, an application ack SHALL NOT be sent.
Field | Value | Send Response |
---|---|---|
MSH-15 | AL, ER, SU | immediate ack: ACK^O59^ACK |
NE, AL, ER, SU | (none) | |
MSH-16 | AL, ER, SU | application ack: RRD^O14^RRD_O14 |
NE, AL, ER, SU | (none) |
This is the "master" pharmacy/treatment order segment. It contains order data not specific to components or additives. Unlike the OBR, it does not contain status fields or other data that are results-only.
It can be used for any type of pharmacy order, including inpatient (unit dose and compound unit dose), outpatient, IVs, and hyperalimentation IVs (nutritional IVs), as well as other non-pharmacy treatments, e.g., respiratory therapy, oxygen, and many nursing treatments.
In addition to the pharmaceutical/treatment information, this segment contains additional data such as provider and text comments.
A quantity/timing field is not needed in the RXO segment. The ORC segment contains the requested ORC-7-quantity/timing of the original order which does not change as the order is encoded, dispensed, or administered.
Seq# | Data Element Name | DataType | Usage | Vocabulary | Cardinality | Item # | Length | C.LEN | Flags |
---|---|---|---|---|---|---|---|---|---|
RXO | |||||||||
1 | Requested Give Code | CWE | C | [0..1] | 00292 | ||||
2 | Requested Give Amount - Minimum | NM | C | [0..1] | 00293 | ||||
3 | Requested Give Amount - Maximum | NM | O | [0..1] | 00294 | ||||
4 | Requested Give Units | CWE | C | [0..1] | 00295 | ||||
5 | Requested Dosage Form | CWE | C | [0..1] | 00296 | ||||
6 | Provider's Pharmacy/Treatment Instructions | CWE | O | [0..*] | 00297 | ||||
7 | Provider's Administration Instructions | CWE | O | [0..*] | 00298 | ||||
8 | Deliver-To Location | W | [0..1] | 00299 | |||||
9 | Allow Substitutions | ID | O | [0..1] | 00300 | [1..1] | |||
10 | Requested Dispense Code | CWE | O | [0..1] | 00301 | ||||
11 | Requested Dispense Amount | NM | O | [0..1] | 00302 | ||||
12 | Requested Dispense Units | CWE | O | [0..1] | 00303 | ||||
13 | Number Of Refills | NM | O | [0..1] | 00304 | 3 | # | ||
14 | Ordering Provider's DEA Number | XCN | W | [0..1] | 00305 | ||||
15 | Pharmacist/Treatment Supplier's Verifier ID | XCN | C | [0..*] | 00306 | ||||
16 | Needs Human Review | ID | O | [0..1] | 00307 | [1..1] | |||
17 | Requested Give Per | ST | C | [0..1] | 00308 | 20 | # | ||
18 | Requested Give Strength | NM | O | [0..1] | 01121 | ||||
19 | Requested Give Strength Units | CWE | O | [0..1] | 01122 | ||||
20 | Indication | CWE | O | [0..*] | 01123 | ||||
21 | Requested Give Rate Amount | ST | O | [0..1] | 01218 | 6 | # | ||
22 | Requested Give Rate Units | CWE | O | [0..1] | 01219 | ||||
23 | Total Daily Dose | CQ | O | [0..1] | 00329 | ||||
24 | Supplementary Code | CWE | O | [0..*] | 01476 | ||||
25 | Requested Drug Strength Volume | NM | O | [0..1] | 01666 | 5 | # | ||
26 | Requested Drug Strength Volume Units | CWE | O | [0..1] | 01667 | ||||
27 | Pharmacy Order Type | ID | O | [0..1] | 01668 | [1..1] | |||
28 | Dispensing Interval | NM | O | [0..1] | 01669 | ||||
29 | Medication Instance Identifier | EI | O | [0..1] | 02149 | ||||
30 | Segment Instance Identifier | EI | O | [0..1] | 02150 | ||||
31 | Mood Code | CNE | C | [0..1] | 02151 | ||||
32 | Dispensing Pharmacy | CWE | B | [0..1] | 01681 | ||||
33 | Dispensing Pharmacy Address | XAD | B | [0..1] | 01682 | ||||
34 | Deliver-to Patient Location | PL | O | [0..1] | 01683 | ||||
35 | Deliver-to Address | XAD | O | [0..1] | 01684 | ||||
36 | Pharmacy Phone Number | XTN | O | [0..*] | 02309 |
The Pharmacy/Treatment Route segment contains the alternative combination of route, site, administration device, and administration method that are prescribed as they apply to a particular order. The pharmacy, treatment staff and/or nursing staff has a choice between the routes based on either their professional judgment or administration instructions provided by the physician.
Seq# | Data Element Name | DataType | Usage | Vocabulary | Cardinality | Item # | Length | C.LEN | Flags |
---|---|---|---|---|---|---|---|---|---|
RXR | |||||||||
1 | Route | CWE | R | [1..1] | 00309 | ||||
2 | Administration Site | CWE | O | [0..1] | 00310 | ||||
3 | Administration Device | CWE | O | [0..1] | 00311 | ||||
4 | Administration Method | CWE | O | [0..1] | 00312 | ||||
5 | Routing Instruction | CWE | O | [0..1] | 01315 | ||||
6 | Administration Site Modifier | CWE | O | [0..1] | 01670 |
If the drug or treatment ordered with the RXO segment is a compound drug OR an IV solution, AND there is not a coded value for OBR-4-universal service ID, which specifies the components (base and all additives), then the components (the base and additives) are specified by two or more RXC segments. The policy of the pharmacy or treatment application on substitutions at the RXC level is identical to that for the RXO level.
Seq# | Data Element Name | DataType | Usage | Vocabulary | Cardinality | Item # | Length | C.LEN | Flags |
---|---|---|---|---|---|---|---|---|---|
RXC | |||||||||
1 | RX Component Type | ID | R | [1..1] | 00313 | [1..1] | |||
2 | Component Code | CWE | R | [1..1] | 00314 | ||||
3 | Component Amount | NM | R | [1..1] | 00315 | ||||
4 | Component Units | CWE | R | [1..1] | 00316 | ||||
5 | Component Strength | NM | O | [0..1] | 01124 | ||||
6 | Component Strength Units | CWE | O | [0..1] | 01125 | ||||
7 | Supplementary Code | CWE | O | [0..*] | 01476 | ||||
8 | Component Drug Strength Volume | NM | O | [0..1] | 01671 | 5 | # | ||
9 | Component Drug Strength Volume Units | CWE | O | [0..1] | 01672 | ||||
10 | Dispense Amount | NM | C | [0..1] | 03314 | ||||
11 | Dispense Units | CWE | C | [0..1] | 03315 |
The RXE segment details the pharmacy or treatment application's encoding of the order. It also contains several pharmacy-specific order status fields, such as RXE-16-number of refills remaining, RXE-17-number of refills/doses dispensed, RXE-18-D/T of most recent refill or dose dispensed, and RXE-19-total daily dose.
Note that ORC-7-quantity/timing has a different meaning from RXE-1-quantity/timing and RXG-3-quantity/timing. The pharmacy or treatment department has the "authority" (and/or necessity) to schedule dispense/give events. Hence, the pharmacy or treatment department has the responsibility to encode this scheduling information in RXE-1-quantity/timing and RXG-3-quantity/timing. ORC-7-quantity/timing does not change: it always specifies the requested give/dispense schedule of the original order.
Seq# | Data Element Name | DataType | Usage | Vocabulary | Cardinality | Item # | Length | C.LEN | Flags |
---|---|---|---|---|---|---|---|---|---|
RXE | |||||||||
1 | Quantity/Timing | W | [0..1] | 00221 | |||||
2 | Give Code | CWE | R | [1..1] | 00317 | ||||
3 | Give Amount - Minimum | NM | R | [1..1] | 00318 | ||||
4 | Give Amount - Maximum | NM | O | [0..1] | 00319 | ||||
5 | Give Units | CWE | R | [1..1] | 00320 | ||||
6 | Give Dosage Form | CWE | O | [0..1] | 00321 | ||||
7 | Provider's Administration Instructions | CWE | O | [0..*] | 00298 | ||||
8 | Deliver-To Location | W | [0..1] | 00299 | |||||
9 | Substitution Status | ID | O | [0..1] | 00322 | [1..1] | |||
10 | Dispense Amount | NM | C | [0..1] | 00323 | ||||
11 | Dispense Units | CWE | C | [0..1] | 00324 | ||||
12 | Number Of Refills | NM | O | [0..1] | 00304 | 3 | # | ||
13 | Ordering Provider's DEA Number | XCN | B | [0..*] | 00305 | ||||
14 | Pharmacist/Treatment Supplier's Verifier ID | XCN | B | [0..*] | 00306 | ||||
15 | Prescription Number | ST | C | [0..1] | 00325 | 20 | # | ||
16 | Number of Refills Remaining | NM | C | [0..1] | 00326 | ||||
17 | Number of Refills/Doses Dispensed | NM | C | [0..1] | 00327 | ||||
18 | D/T of Most Recent Refill or Dose Dispensed | DTM | C | [0..1] | 00328 | ||||
19 | Total Daily Dose | CQ | C | [0..1] | 00329 | ||||
20 | Needs Human Review | ID | O | [0..1] | 00307 | [1..1] | |||
21 | Special Dispensing Instructions | CWE | O | [0..*] | 00330 | ||||
22 | Give Per | ST | C | [0..1] | 00331 | 20 | # | ||
23 | Give Rate Amount | ST | O | [0..1] | 00332 | 6 | # | ||
24 | Give Rate Units | CWE | O | [0..1] | 00333 | ||||
25 | Give Strength | NM | O | [0..1] | 01126 | ||||
26 | Give Strength Units | CWE | O | [0..1] | 01127 | ||||
27 | Give Indication | CWE | O | [0..*] | 01128 | ||||
28 | Dispense Package Size | NM | O | [0..1] | 01220 | ||||
29 | Dispense Package Size Unit | CWE | O | [0..1] | 01221 | ||||
30 | Dispense Package Method | ID | O | [0..1] | 01222 | [1..2] | |||
31 | Supplementary Code | CWE | O | [0..*] | 01476 | ||||
32 | Original Order Date/Time | DTM | O | [0..1] | 01673 | ||||
33 | Give Drug Strength Volume | NM | O | [0..1] | 01674 | 5 | # | ||
34 | Give Drug Strength Volume Units | CWE | O | [0..1] | 01675 | ||||
35 | Controlled Substance Schedule | CWE | O | [0..1] | 01676 | ||||
36 | Formulary Status | ID | O | [0..1] | 01677 | [1..1] | |||
37 | Pharmaceutical Substance Alternative | CWE | O | [0..*] | 01678 | ||||
38 | Pharmacy of Most Recent Fill | CWE | O | [0..1] | 01679 | ||||
39 | Initial Dispense Amount | NM | O | [0..1] | 01680 | ||||
40 | Dispensing Pharmacy | CWE | B | [0..1] | 01681 | ||||
41 | Dispensing Pharmacy Address | XAD | B | [0..1] | 01682 | ||||
42 | Deliver-to Patient Location | PL | O | [0..1] | 01683 | ||||
43 | Deliver-to Address | XAD | O | [0..1] | 01684 | ||||
44 | Pharmacy Order Type | ID | O | [0..1] | 01685 | [1..1] | |||
45 | Pharmacy Phone Number | XTN | O | [0..*] | 02310 |
Seq# | Data Element Name | DataType | Usage | Vocabulary | Cardinality | Item # | Length | C.LEN | Flags |
---|---|---|---|---|---|---|---|---|---|
RXD | |||||||||
1 | Dispense Sub-ID Counter | NM | R | [1..1] | 00334 | 4 | # | ||
2 | Dispense/Give Code | CWE | R | [1..1] | 00335 | ||||
3 | Date/Time Dispensed | DTM | R | [1..1] | 00336 | ||||
4 | Actual Dispense Amount | NM | R | [1..1] | 00337 | ||||
5 | Actual Dispense Units | CWE | C | [0..1] | 00338 | ||||
6 | Actual Dosage Form | CWE | O | [0..1] | 00339 | ||||
7 | Prescription Number | ST | R | [1..1] | 00325 | 20 | # | ||
8 | Number of Refills Remaining | NM | C | [0..1] | 00326 | ||||
9 | Dispense Notes | ST | O | [0..*] | 00340 | 200 | # | ||
10 | Dispensing Provider | XCN | B | [0..*] | 00341 | ||||
11 | Substitution Status | ID | O | [0..1] | 00322 | [1..1] | |||
12 | Total Daily Dose | CQ | O | [0..1] | 00329 | ||||
13 | Dispense-to Location | W | [0..1] | 01303 | |||||
14 | Needs Human Review | ID | O | [0..1] | 00307 | [1..1] | |||
15 | Special Dispensing Instructions | CWE | O | [0..*] | 00330 | ||||
16 | Actual Strength | NM | O | [0..1] | 01132 | ||||
17 | Actual Strength Unit | CWE | O | [0..1] | 01133 | ||||
18 | Substance Lot Number | ST | O | [0..*] | 01129 | 20 | # | ||
19 | Substance Expiration Date | DTM | O | [0..*] | 01130 | ||||
20 | Substance Manufacturer Name | CWE | O | [0..*] | 01131 | ||||
21 | Indication | CWE | O | [0..*] | 01123 | ||||
22 | Dispense Package Size | NM | O | [0..1] | 01220 | ||||
23 | Dispense Package Size Unit | CWE | O | [0..1] | 01221 | ||||
24 | Dispense Package Method | ID | O | [0..1] | 01222 | [1..2] | |||
25 | Supplementary Code | CWE | O | [0..*] | 01476 | ||||
26 | Initiating Location | CWE | O | [0..1] | 01477 | ||||
27 | Packaging/Assembly Location | CWE | O | [0..1] | 01478 | ||||
28 | Actual Drug Strength Volume | NM | O | [0..1] | 01686 | 5 | # | ||
29 | Actual Drug Strength Volume Units | CWE | O | [0..1] | 01687 | ||||
30 | Dispense to Pharmacy | CWE | B | [0..1] | 01688 | ||||
31 | Dispense to Pharmacy Address | XAD | B | [0..1] | 01689 | ||||
32 | Pharmacy Order Type | ID | O | [0..1] | 01690 | [1..1] | |||
33 | Dispense Type | CWE | O | [0..1] | 01691 | ||||
34 | Pharmacy Phone Number | XTN | O | [0..*] | 02311 | ||||
35 | Dispense Tag Identifier | EI | O | [0..*] | 03392 |
Seq# | Data Element Name | DataType | Usage | Vocabulary | Cardinality | Item # | Length | C.LEN | Flags |
---|---|---|---|---|---|---|---|---|---|
RXG | |||||||||
1 | Give Sub-ID Counter | NM | R | [1..1] | 00342 | 4 | # | ||
2 | Dispense Sub-ID Counter | NM | O | [0..1] | 00334 | 4 | # | ||
3 | Quantity/Timing | W | [0..1] | 00221 | |||||
4 | Give Code | CWE | R | [1..1] | 00317 | ||||
5 | Give Amount - Minimum | NM | R | [1..1] | 00318 | ||||
6 | Give Amount - Maximum | NM | O | [0..1] | 00319 | ||||
7 | Give Units | CWE | R | [1..1] | 00320 | ||||
8 | Give Dosage Form | CWE | O | [0..1] | 00321 | ||||
9 | Administration Notes | CWE | O | [0..*] | 00351 | ||||
10 | Substitution Status | ID | O | [0..1] | 00322 | [1..1] | |||
11 | Dispense-to Location | W | [0..1] | 01303 | |||||
12 | Needs Human Review | ID | O | [0..1] | 00307 | [1..1] | |||
13 | Special Administration Instructions | CWE | O | [0..*] | 00343 | [1..250] | |||
14 | Give Per | ST | C | [0..1] | 00331 | 20 | # | ||
15 | Give Rate Amount | ST | O | [0..1] | 00332 | 6 | # | ||
16 | Give Rate Units | CWE | O | [0..1] | 00333 | ||||
17 | Give Strength | NM | O | [0..1] | 01126 | ||||
18 | Give Strength Units | CWE | O | [0..1] | 01127 | ||||
19 | Substance Lot Number | ST | O | [0..*] | 01129 | 20 | # | ||
20 | Substance Expiration Date | DTM | O | [0..*] | 01130 | ||||
21 | Substance Manufacturer Name | CWE | O | [0..*] | 01131 | ||||
22 | Indication | CWE | O | [0..*] | 01123 | ||||
23 | Give Drug Strength Volume | NM | O | [0..1] | 01692 | 5 | # | ||
24 | Give Drug Strength Volume Units | CWE | O | [0..1] | 01693 | ||||
25 | Give Barcode Identifier | CWE | O | [0..1] | 01694 | ||||
26 | Pharmacy Order Type | ID | O | [0..1] | 01695 | [1..1] | |||
27 | Dispense to Pharmacy | CWE | W | [0..1] | 01688 | ||||
28 | Dispense to Pharmacy Address | XAD | W | [0..1] | 01689 | ||||
29 | Deliver-to Patient Location | PL | O | [0..1] | 01683 | ||||
30 | Deliver-to Address | XAD | O | [0..1] | 01684 | ||||
31 | Give Tag Identifier | EI | O | [0..*] | 03393 | ||||
32 | Dispense Amount | NM | C | [0..1] | 03316 | ||||
33 | Dispense Units | CWE | C | [0..1] | 03317 |
The ORC must have the filler order number and the order control code RE. As a site-specific variant, the RXO and associated RXCs and/or the RXE (and associated RXCs) may be present if the receiving application needs any of their data. The RXA carries the administration data.
Seq# | Data Element Name | DataType | Usage | Vocabulary | Cardinality | Item # | Length | C.LEN | Flags |
---|---|---|---|---|---|---|---|---|---|
RXA | |||||||||
1 | Give Sub-ID Counter | NM | R | [1..1] | 00342 | 4 | # | ||
2 | Administration Sub-ID Counter | NM | R | [1..1] | 00344 | 4 | # | ||
3 | Date/Time Start of Administration | DTM | R | [1..1] | 00345 | ||||
4 | Date/Time End of Administration | DTM | R | [1..1] | 00346 | ||||
5 | Administered Code | CWE | R | [1..1] | 00347 | ||||
6 | Administered Amount | NM | R | [1..1] | 00348 | ||||
7 | Administered Units | CWE | C | [0..1] | 00349 | ||||
8 | Administered Dosage Form | CWE | O | [0..1] | 00350 | ||||
9 | Administration Notes | CWE | O | [0..*] | 00351 | ||||
10 | Administering Provider | W | [0..1] | 00352 | |||||
11 | Administered-at Location | W | [0..1] | 00353 | |||||
12 | Administered Per | ST | C | [0..1] | 00354 | 20 | # | ||
13 | Administered Strength | NM | O | [0..1] | 01134 | ||||
14 | Administered Strength Units | CWE | O | [0..1] | 01135 | ||||
15 | Substance Lot Number | ST | O | [0..*] | 01129 | 20 | # | ||
16 | Substance Expiration Date | DTM | O | [0..*] | 01130 | ||||
17 | Substance Manufacturer Name | CWE | O | [0..*] | 01131 | ||||
18 | Substance/Treatment Refusal Reason | CWE | O | [0..*] | 01136 | ||||
19 | Indication | CWE | O | [0..*] | 01123 | ||||
20 | Completion Status | ID | O | [0..1] | 01223 | [2..2] | |||
21 | Action Code – RXA | ID | O | [0..1] | 01224 | [1..1] | |||
22 | System Entry Date/Time | DTM | O | [0..1] | 01225 | ||||
23 | Administered Drug Strength Volume | NM | O | [0..1] | 01696 | 5 | # | ||
24 | Administered Drug Strength Volume Units | CWE | O | [0..1] | 01697 | ||||
25 | Administered Barcode Identifier | CWE | O | [0..1] | 01698 | ||||
26 | Pharmacy Order Type | ID | O | [0..1] | 01699 | [1..1] | |||
27 | Administer-at | PL | O | [0..1] | 02264 | ||||
28 | Administered-at Address | XAD | O | [0..1] | 02265 | ||||
29 | Administered Tag Identifier | EI | O | [0..*] | 03396 |
The RXV segment details the pharmacy or treatment application’s encoding of specific infusion order parameters
Seq# | Data Element Name | DataType | Usage | Vocabulary | Cardinality | Item # | Length | C.LEN | Flags |
---|---|---|---|---|---|---|---|---|---|
RXV | |||||||||
1 | Set ID - RXV | SI | O | [0..1] | 03318 | ||||
2 | Bolus Type | ID | R | [1..1] | 03319 | [1..1] | |||
3 | Bolus Dose Amount | NM | O | [0..1] | 03320 | ||||
4 | Bolus Dose Amount Units | CWE | O | [0..1] | 03321 | ||||
5 | Bolus Dose Volume | NM | O | [0..1] | 03322 | 20 | # | ||
6 | Bolus Dose Volume Units | CWE | O | [0..1] | 03323 | ||||
7 | PCA Type | ID | R | [1..1] | 03324 | [1..2] | |||
8 | PCA Dose Amount | NM | O | [0..1] | 03325 | 20 | # | ||
9 | PCA Dose Amount Units | CWE | O | [0..1] | 03326 | ||||
10 | PCA Dose Amount Volume | NM | O | [0..1] | 03327 | 20 | # | ||
11 | PCA Dose Amount Volume Units | CWE | O | [0..1] | 03328 | ||||
12 | Max Dose Amount | NM | O | [0..1] | 03329 | 20 | # | ||
13 | Max Dose Amount Units | CWE | O | [0..1] | 03330 | ||||
14 | Max Dose Amount Volume | NM | O | [0..1] | 03331 | 20 | # | ||
15 | Max Dose Amount Volume Units | CWE | O | [0..1] | 03332 | ||||
16 | Max Dose per Time | CQ | R | [1..1] | 03333 | ||||
17 | Lockout Interval | CQ | O | [0..1] | 03334 | ||||
18 | Syringe Manufacturer | CWE | O | [0..1] | 03339 | ||||
19 | Syringe Model Number | CWE | O | [0..1] | 03385 | ||||
20 | Syringe Size | NM | C | [0..1] | 03386 | 20 | # | ||
21 | Syringe Size Units | CWE | C | [0..1] | 03431 | ||||
22 | Action Code | ID | O | [0..1] | 00816 | [2..2] |
The Cumulative Dosage segment allows for the communication of cumulative dosage limits that administrations against this medication order should stay within. As part of one of the pharmacy messages, one may want to indicate one or more limits that apply, e.g., limit for the duration of the order, lifetime limit, or weekly limit.
Seq# | Data Element Name | DataType | Usage | Vocabulary | Cardinality | Item # | Length | C.LEN | Flags |
---|---|---|---|---|---|---|---|---|---|
CDO | |||||||||
1 | Set ID – CDO | SI | O | [0..1] | 03430 | [1..4] | |||
2 | Action Code | ID | O | [0..1] | 00816 | [2..2] | |||
3 | Cumulative Dosage Limit | CQ | O | [0..1] | 03397 | ||||
4 | Cumulative Dosage Limit Time Interval | CQ | O | [0..1] | 03398 |
The purpose of this section is to show how certain specific situations would be handled using the pharmacy/treatment protocol. The ellipses represent uncompleted details. The symbol // precedes comments for clarification.
The order "give 500 mg Ampicillin P.O. Q6H for 10 days for a total of 40 tablets" is sent to the RX application from the OE application. This order can be coded with various levels of precision by an ordering application:
E-mail only version (uses only free text, RXO-6-provider's pharmacy/treatment instructions or RXO-7-provider's administration instructions only); fully encoded version must be re-entered or verified manually by the pharmacy or treatment application.
With RXO-2-requested give amount-minimum, RXO-4-requested give units, and ORC-7-quantity/timing coded, and RXO-1-requested give code as free text.
With RXO-1-requested give code, RXO-2-requested give amount-minimum, RXO-4-requested give units, and ORC-7-quantity/timing coded, but where RXO-1-requested give code does not include units.
With RXO-1-requested give code, RXO-2-requested give amount-minimum, RXO-4-requested give units, and ORC-7-quantity/timing coded, and where RXO-1-requested give code does include units.
In this case, the units are optional. The rule for this case (on orders, dispense results, give results, and administration results) is as follows: if units are coded, they override or supersede the units value implied by the give code.
The E-mail only version of the order: no coded fields exist in the RXO.
MSH|^&~\|Pharm|GenHosp|CIS|GenHosp|2006052911150700||OMP^O09^OMP_O09|...
PID|...
ORC|NW|1000^OE||||E|...
RXO||||||500 mg Polycillin Q6H for 10 days, dispense 40 Tablets|...
A partially coded version of the order. This version has the RXO-2-requested give amount-minimum, RXO-4-requested give units, and ORC-7-quantity/timing coded, but the RXO-1-requested give code as free text.
MSH|^&~\|Pharm|GenHosp|CIS|GenHosp|2006052911150700||OMP^O09^OMP_O09|...
PID|...
ORC|NW|1000^OE||||E|^Q6H^D10^^^R|...
RXO|^Polycillin 500 mg TAB^|500||MG|||||Y||40|...
RXR|PO|...
A more completely coded version of the order, with the RXO-1-requested give code, RXO-2-requested give amount-minimum, RXO-4-requested give units, and ORC-7-quantity/timing coded, but where RXO-1-requested give code does not imply units.
MSH|^&~\|Pharm|GenHosp|CIS|GenHosp|2006052911150700||OMP^O09^OMP_O09|...
PID|...
ORC|NW|1000^OE||||E|^Q6H^D10^^^R|...
RXO|RX1001^Polycillin^L|500||MG|||||Y||40|...
RXR|PO|...
A completely encoded version, with the RXO-1-requested give code, RXO-2-requested give amount-minimum, RXO-4-requested give units, and ORC-7-quantity/timing coded, and where RXO-1-requested give code does imply units.
MSH|^&~\|Pharm|GenHosp|CIS|GenHosp|2006052911150700||OMP^O09^OMP_O09|...
PID|...
ORC|NW|1000^OE||||E|^Q6H^D10^^^R|...
RXO|RX1001^Polycillin 500 mg TAB^L|500||MG|||||G||40|...
RXR|PO|...
Pharmacy or treatment supplier's encoded version (RDE message) sent to nursing application (a generic substitution).
MSH|^&~\|Pharm|GenHosp|CIS|GenHosp|2006052911150700||RDE^O11^RDE_O11|...
PID|...
ORC|RE|1000^OE|9999999^RX|||E|^Q6H^D10^^^R|...
RXE|^^^200612100600^^R|0047-0402-30^Ampicillin 250 MG
TAB^NDC|2||TAB|||||G|80||||123456|rx#1001|...
RXR|PO|...
Pharmacy or treatment supplier's dispense results (RDS message).
MSH|...
PID|...
ORC|RE|1000^OE|9999999^RX|||E|^Q6H^D10^^^R|...
RXD|1|0047-0402-30^Ampicillin 250 MG TAB^NDC|199012100400|8|TAB||RX#1001|
123456|G|8|...
Pharmacy or treatment supplier's give results (RGV message).
MSH|^&~\|Pharm|GenHosp|CIS|GenHosp|2006052911150700||RGV^O15^RGV_O15|...
PID|...
ORC|RE|1000^OE|9999999^RX|||E|^Q6H^D10^^^R|...
RXG|1|1|^^200612100600^^R|0047-0402-30^Ampicillin 250 MG TAB^NDC|500||MG|||G|...
RXR|PO|...
Nursing application Medications Administration results to pharmacy, treatment, or Order Entry application.
MSH|^&~\|Pharm|GenHosp|CIS|GenHosp|2006052911150700||RAS^O17^RAS_O17|...
PID|...
ORC|RE|1000^OE|9999999^RX|||E|^Q6H^D10^^^R|...
RXA|1|1|200612100615||0047-0402-30^Ampicillin 250 MG TAB^NDC|2|TAB|...
RXR|PO|...
RXO|58160040000110^Fluoxetine HCL 10mg Capsule^GPI^00777310402^Prozac 10 mg caps^NDC|...
The need for strength and strength unit fields in addition to the amount and amount units fields included in various RX_ segments requires explanation. Physicians can write a prescription for a drug such as Ampicillin in two ways. One way would be: "Ampicillin 250 mg capsules, 2 capsules four times a day." In this case the give amount would be 2, the give units would be capsules, the strength would be 250 and the strength units would milligrams.
ORC|||||||1^QID|...
RXO|01200020200105^Ampicillin 250 mg capsule^GPI^00047040230^Ampicillin 250 mg caps^NDC|2||caps^capsule^FDB||||||||||||||250|mg|...
However, the provider could also write the prescription as "Ampicillin 500 mg four times a day." In this case the give amount would be 500 and the give units would be milligrams. The strength would not be reported in the RXO segment because it is not specified; the drug could be given in two 250 mg caps or one 500 mg cap. But the pharmacist would dispense a specific capsule size and would record the strength in the RXE segment as 250 or 500, depending upon which pill size was dispensed.
ORC|||||||1^QID|...
RXO|012000202001^Ampicillin capsule^GPI |500||mg^milligram^ISO||...
The RXD-4 and RXD-5 together might say
100 tabs:
RXD||||100|TAB^tablet^FDB|...
Or, 100 each
RXD||||100|EA^each^FDB|...
Or, perhaps a volume, 3 liters
RXD||||3|L^liter^ISO|...
For example, the RXD-4, RXD-5, RXD-16 and RXD-17 together might say
100 tabs of 240 mg strength:
RXD||||100|tab^tablet^FDB|||||||||||240|mg|...
Or, 100 each of 60 units per cc
RXD||||100|EA||||||||||||60|iu/ml^^ISO+|...
Or, perhaps a volume, 3 liters with 60 grams per liter
RXD||||3|L^liter^ISO|||||||||||60|g/L^^ISO+|...
If the package given to the patient is 2, 4 ounce bottles with a strength of 100/5ml, but the cough suppressant is stocked in 1 gallon bottles, then the field contains 1 gallon.
RXD||||8|ounce^^ISO|||||||||||20|mg/ml|||||1|gal^gallon^ISO|...
If one were to dispense Mevacor 100 tablets with a strength of 20 mg/tablet, and the package from the manufacturer is a 60 tablet package, then the fields reflect 60 tablets (the size of the package stocked by the pharmacy).
RXD||||100|tab^^FDB|||||||||||20|mg|||||60|tab|...
Example: Adam Everyman appears in the Pharmacy with a prescription for Veramil 120 mgm B.I.D. The prescription is filled and the $5 co-pay is collected. The following RDS message is generated:
MSH|^&~\|Pharm|GenHosp|IE||2006052911150700||RDS^O13^RDS_O13||...
PID|||444-33-3333^^^MPI&GenHosp&L^MR||Everyman^Adam||19600614|M||C|2222 Home St^^Anytown^US^12345||^^^^^555^5552004| ...
ORC|RE||89968665||||||2006052910300700|||444-44-4444^HIPPOCRATES^HAROLD^^^^MD||^^^^^555^ 5551004|...
RXE|1^BID^^20060529|^Verapamil|120||mg^milligram^FDB.MDDB||...
RXD|1|00378112001^Verapamil Hydrochloride 120 mg TAB^NDC |200605291115-0700|100|||1331665|3|...
RXR|PO|...
FT1|1|||200605291115-0700||CO^Co-Pay^HL70017 |00378112001^Verapamil Hydrochloride 120 mg TAB^NDC |||1|5&USD^TP|...
FT1|2|||200605291115-0700||PY^Payment^HL70017 |00378112001^Verapamil Hydrochloride 120 mg TAB^NDC |||1|5&USD|...
Encoding Note: For readability, these examples do not show encoding of the subcomponents of the Give Codes (CWE data type) in the RXC and RXO segments. In practice, the subcomponents should be encoded as described in the HL7 specification.
Example #1
D5/0.45NaCl 1000mL with 20mEq KCl in every 3rd bottle. Start the KCl in the 3rd bottle of this order. Run in at a rate of 100mL/hr.
(Other message data: placer order #123, placer application ID=SMS, interval=continuous, start date/time=11/28/94 0900, no stop date/time, priority=Routine, order sequencing=Cyclical.)
This order may be expressed using a parent/child relationship. The parent order consists of an ORC (and a RXO, incompletely elaborated in this example) that contains order level information. The repeating bottle cycle of D5/0.45NaCl 1000mL followed by D5/0.45NaCl 1000mL followed by D5/0.45NaCl + 20mEq KCL 1000mL is represented by three child segments. The placer system may be treating this as a single order with two bottles, A (D5/0.45NaCl 1000mL @ 100mL/hr) and B (D5/0.45NaCl + 20mEq KCL 1000mL @ 100mL/hr), repeating in the cycle of A-A-B.
The parent:
ORC|NW|123^SMS|||||1^C^^200611280900^^R^^^^C|...
RXO|Cyclic IV|...
The first child:
ORC|CH|123A1^SMS|||||1^C^^^^^^^^C&123B&SMS&&&*ES+0M|123|...
RXO Segment, Requested Give Amount-Minimum: ...|100||ML|...
Requested Give Per (Time Unit): ...|H1|...
RXR|IV|...
RXC|B|D5/.45NACL|1000|ML|...
The second child:
ORC|CH|123A2^SMS|||||1^C^^^^^^^^C&123A1&SMS&&&ES+0M|123|...
RXO Segment, Requested Give Amount-Minimum: ...|100||ML|...
Requested Give Per (Time Unit): ...|H1|...
RXR|IV|...
RXC|B|D5/.45NACL|1000|ML|...
The third child:
ORC|CH|123B^SMS|||||1^C^^^^^^^^C&123A2&SMS&&ES+0M|123|...
RXO Segment, Requested Give Amount-Minimum: ...|100||ML|...
Requested Give Per (Time Unit): ...|H1|...
RXR|IV|...
RXC|B|D5/.45NACL|1000|ML|...
RXC|A|KCL|20|MEQ|...
Discussion points:
Placer Order Number - Three alternatives must be discussed for placer order number.
Each child could have its own placer order number.
Each child could have the order number of the parent plus some appended identifier (for examples, 123A or 123.A or 123.1 etc.) that labels each child or each unique combination of ingredients.
In addition to the appended identifier discussed in 'B' above, a further suffix could be attached to uniquely identify each repetition of a particular member of the sequence. The example (a cycle of bottles 'A' and 'B' in the sequence A-A-B) identified the order numbers of the children as 123A1, 123A2, and 123B, thereby enabling the quantity/timing to be completely unambiguous. This could be expressed many other ways, such as 123A.1 or 123.A.1 or 123.A#1 etc. HL7 does not specify a format for the expression of order number suffixes, nor does it specify a delimiter to use for such a purpose.
Sequence Condition Value - In this example, the first child contains an asterisk (*) as the first character of the Sequence Condition Value and the third (last) child contains a pound sign (#).
The asterisk and pound sign are important for designating the first and last bottles especially when children are sent in separate messages, although this example is not constructed that way.
Note that computing the duration of the bottle is dependent upon the presence of all of the following fields:
RXO-2-requested give amount-minimum
RXO-4-requested give units
RXC-3-component amount
RXC-4-component units
For cyclic IV orders, these fields are all required in order to determine how long each occurrence of a child will last.
While HL7 allows either sending the parent and children in one message or sending the parent and children in separate messages, it appears simpler and therefore recommended to have the parent and all children included in a single message. The example is constructed that way.
Example #2
D5W + 40mEq KCl 1000mL alternating with D5/LR + 20mEq KCl 1000mL at 125mL/hr
(Other message data: placer order #124, placer application ID=SMS, interval=continuous, start date/time=11/28/94 0900, no stop date/time, priority=Routine, order sequencing=Cyclical)
This example is a variation on the first example where two different base solutions are used. In this example, the placer system deals with this as one order with two alternating bottles, A (D5W + 40mEq KCl 1000mL @ 125mL/hr) and B (D5/LR + 20mEq KCl 1000mL @ 125mL/hr) in the cycle A-B. The principles discussed in Example #1 apply equally to this example.
The parent:
ORC|NW|124^SMS|||||1^C^^200611280900^^R^^^^C|...
RXO|Cyclic IV|...
The first child:
ORC|CH|124A^SMS|||||1^C^^^^^^^^C&124B&SMS&&&*ES+0M|124|...
RXO Segment, Requested Give Amount-Minimum: ...|125||ML|...
Requested Give Per (Time Unit): ...|H1|...
RXR|IV|...
RXC|B|D5W|1000|ML|...
RXC|A|KCL|40|MEQ|...
The second child:
ORC|CH|124B^SMS|||||1^C^^^^^^^^C&124A&SMS&&ES+0M|124|...
RXO Segment, Requested Give Amount-Minimum: ...|125||ML|...
Requested Give Per (Time Unit): ...|H1|...
RXR|IV|...
RXC|B|D5/LR|1000|ML|...
RXC|A|KCL|20|MEQ|...
Example #3
D5/0.45NaCl 1000mL with 20mEq KCl in every 3rd bottle. Start the KCl in the 3rd bottle of this order. Add 10mL of multi-vitamins to the one bag daily. Run in at a rate of 100mL/hr.
(Other message data: placer order #134, placer application ID=SMS, interval=continuous, start date/time=11/28/94 0900, no stop date/time, priority=Routine, order sequencing=Cyclical. Note that the encoding of the multi-vitamins statement in the above order, adding multi-vitamins to one IV bag each day, may vary by institution to put it into the first or last bottle of the day.)
This order may be expressed using a parent/child relationship. The parent order consists of an ORC (and a RXO, although one is not completely elaborated in this example) that contains order level information. The repeating bottle cycle of D5/0.45NaCl 1000mL followed by D5/0.45NaCl 1000mL followed by D5/0.45NaCl + 20mEq KCL 1000mL is represented by three child segments. This order is complicated by the request to add one component into any one of the three repeating bottles, depending upon which of the bottles will occur first on any particular day. Further complicating this order is a rate of infusion (10 hours for a 1000mL bottle) which results in a fractional number of daily administrations. Most legacy systems have a great deal of trouble accommodating orders like this within their existing database structures; however there a few vendors who now are able to handle the situation. The placer system may be treating this as a single order with two bottles, A (D5/0.45NaCl 1000mL @ 100mL/hr) and B (D5/0.45NaCl + 20mEq KCL 1000mL @ 100mL/hr), repeating in the cycle of A-A-B with a cyclical component (multi-vitamins).
The parent:
ORC|NW|134^SMS|||||1^C^^200611280900^^R^^^^C|...
RXO|Cyclic IV|...
The first child:
ORC|CH|134A1^SMS|||||1^C^^^^^^^^C&134B&SMS&&&*ES+0M|134|...
RXO Segment, Requested Give Amount-Minimum: ...|100||ML|...
Requested Give Per (Time Unit): ...|H1|...
RXR|IV|...
RXC|B|D5/.45NACL|1000|ML|...
The second child:
ORC|CH|134A2^SMS|||||1^C^^^^^^^^C&134A1&SMS&&&ES+0M|134|...
RXO Segment, Requested Give Amount-Minimum: ...|100||ML|...
Requested Give Per (Time Unit): ...|H1|...
RXR|IV|...
RXC|B|D5/.45NACL|1000|ML|...
The third child:
ORC|CH|134B^SMS|||||1^C^^^^^^^^C&134A2&SMS&&ES+0M|134|...
RXO Segment, Requested Give Amount-Minimum: ...|100||ML|...
Requested Give Per (Time Unit): ...|H1|...
RXR|IV|...
RXC|B|D5/.45NACL|1000|ML|...
RXC|A|KCL|20|MEQ|...
The fourth child:
ORC|CH|134X^SMS|||||1^Q1D^^^^^^^^|134|...
RXO|MULTIVITAMINS|10||ML|INJECTABLE|...
Discussion points:
This method for accommodating the Multi-vitamins Daily scenario does not pretend to be the best or only way to express the message, but simply demonstrates adapting the current specification to a highly complex order without adding new components.
The Multi-vitamins component may be sent as a fourth child.
In this example, its ORC-7-quantity/timing includes an interval of "Q1D" (every 1 days).
Its order number consists of the placer's parent order number plus an appended identifier ('X' in the above example) that labels this child as a special case. This convention would need to be agreed upon by sending and receiving applications.
Example #4
D5W + 40mEq KCl 1000mL alternating with D5/LR + 20mEq KCl 1000mL alternating with D5/0.45NaCl 1000mL. Infuse the D5W and D5/0.45 at 125mL/hr, and the D5/LR at 100mL/hr.
(Other message data: placer order #177, placer application ID=SMS, interval=continuous, start date/time=11/28/94 0900, no stop date/time, priority=Routine, order sequencing=Cyclical)
This example is another variation of Example 1 where the rate for each bottle is different, and this can be expressed within the RX segments of the children using current components. In this example, the placer system deals with this as one order with three alternating bottles, A (D5W + 40mEq KCl 1000mL @ 125mL/hr) , B (D5/LR + 20mEq KCl 1000mL @ 100mL/hr) , and C (D5/0.45NaCl 1000mL @ 125mL/hr) in the cycle A-B-C. The principles discussed in Example #1 apply equally to this example.
The parent:
ORC|NW|177^SMS|||||1^C^^200611280900^^R^^^^C|...
RXO|Cyclic IV|...
The first child:
ORC|CH|177A^SMS|||||1^C^^^^^^^^C&177C&SMS&&&*ES+0M|177|...
RXO Segment, Requested Give Amount-Minimum: ...|125||ML|...
Requested Give Per (Time Unit): ...|H1|...
RXR|IV|...
RXC|B|D5W|1000|ML|...
RXC|A|KCL|40|MEQ|...
The second child:
ORC|CH|177B^SMS|||||1^C^^^^^^^^C&177A&SMS&&&ES+0M|177|...
RXO Segment, Requested Give Amount-Minimum: ...|100||ML|...
Requested Give Per (Time Unit): ...|H1|...
RXR|IV|...
RXC|B|D5/LR|1000|ML|...
RXC|A|KCL|20|MEQ|...
The third child:
ORC|CH|177C^SMS|||||1^C^^^^^^^^C&177B&SMS&&ES+0M|177|...
RXO Segment, Requested Give Amount-Minimum: ...|125||ML|...
Requested Give Per (Time Unit): ...|H1|...
RXR|IV|...
RXC|B|D5/0.45NACL|1000|ML|...
Attention: The original mode query, including QRD and QRF segments were retained for backward compatibility only as of v 2.4 and withdrawn as of v2.7. The reader is therefore referred to chapter 5, section 5.4, for the current query/response message structure.
The following are possible routes at a generic site.
The Ordering application generates a pharmacy/treatment OMP and sends it to the pharmacy or treatment application, Nursing application, and/or other applications as appropriate at the site.
The pharmacy/treatment application may send the RDE, the Pharmacy/Treatment Encoded Order message, a fully encoded order to the Nursing application, Ordering application, and/or other system applications as appropriate at the site.
The pharmacy/treatment application may send the RDS, the Pharmacy/Treatment Dispense message, to the Nursing application or other applications as appropriate at the site, each time a medication is dispensed for this order. This message may occur multiple times for each order.
The pharmacy application may send the RGV, the Pharmacy/Treatment Give message, to the Nursing application or other applications as appropriate at the site, for each scheduled date/time of administration of a medication for a given order. This message may occur multiple times for each order.
The Nursing application (and other applications) can generate the RAS, the pharmacy/treatment Administration Results message, whenever a medication is given to the patient. This message may occur multiple times for each order.
Note: Sites having a long term clinical data repository may wish to route data to the data repository from copies of all or any of the five messages.
Immunization information systems (IIS) that maintain vaccination records need to be able to transmit patient-specific records of vaccine administration to other health information systems to provide access to the record at the time healthcare is given and to allow tracking of progress in reaching age-appropriate immunization coverage. The unsolicited update is the result of a vaccine administration update or delete. This message permits the transmission of immunization records from care providers to immunization registries. Messages containing immunization records carry patient identifying information in the PID segment. They may also carry parent or guardian information in the NK1 segments to help identify a child. The RXA segment is used to report the details of the immunization event: the type of vaccine (e.g., DTaP, polio, MMR), the date administered, the sequence (1st, 2nd, etc.), the amount (e.g., 0.5 ml), and location and provider of the immunization. In addition, the RXA provides a place to record the lot number, manufacturer and date of expiration of the immunization. The RXA can also be used to report the fact that a specified immunization was refused. This section references two tables (CVX and MVX as referenced in HL7 Table 0396 – Coding Systems in Chapter 2C, Code Tables) maintained by the U.S. Centers for Disease Control and Prevention (CDC). These tables are recommended in the U.S. for identifying the immunization in field RXA-5-Administered Code and the vaccine manufacturer in field RXA-17-substance manufacturer name.
Attention: Retained for backwards compatibility only as of v 2.4.and withdrawn as of v 2.7. Refer to Chapter 5, section 5.4, for the current query/response message structure.
Attention: Retained for backwards compatibility only as of v 2.4.and withdrawn as of v 2.7. Refer to Chapter 5, section 5.4, for the current query/response message structure.
Attention: Retained for backwards compatibility only as of v 2.4.and withdrawn as of v 2.7. Refer to Chapter 5, section 5.4, for the current query/response message structure.
Attention: Retained for backwards compatibility only as of v 2.4.and withdrawn as of v 2.7. Refer to Chapter 5, section 5.4, for the current query/response message structure.
Definition: When a provider wishes to update the patient's vaccination record being held in a registry, the provider will transmit an unsolicited update of the record (a V04 trigger event).
An unsolicited update will follow this format. The three-letter code in the leftmost column indicates the segment that is included; the column on the right specifies the chapter in which that segment is fully defined.
Send Application Ack: ACK^V04^ACK
When the MSH-15 value of a VXU^V04^VXU_V04 message is AL or ER or SU, an ACK^V04^ACK message SHALL be sent as an immediate ack.
When the MSH-15 value of a VXU^V04^VXU_V04 message is NE or AL or ER or SU, an immediate ack SHALL NOT be sent.
When the MSH-16 value of a VXU^V04^VXU_V04 message is AL or ER or SU, an ACK^V04^ACK message SHALL be sent as an application ack.
When the MSH-16 value of a VXU^V04^VXU_V04 message is NE or AL or ER or SU, an application ack SHALL NOT be sent.
Field | Value | Send Response |
---|---|---|
MSH-15 | AL, ER, SU | immediate ack: ACK^V04^ACK |
NE, AL, ER, SU | (none) | |
MSH-16 | AL, ER, SU | application ack: ACK^V04^ACK |
NE, AL, ER, SU | (none) |
Attention: The original mode query, including QRD and QRF segments were retained for backward compatibility only as of v 2.4 and withdrawn as of v 2.7. The reader is therefore referred to Chapter 5, section 5.4, for the current query/response message structure.
Attention: The original mode query, including QRD and QRF segments were retained for backward compatibility only as of v 2.4 and withdrawn as of v 2.7. The reader is therefore referred to Chapter 5, section 5.4, for the current query/response message structure.
Attention: The original mode query, including QRD and QRF segments were retained for backward compatibility only as of v 2.4 and withdrawn as of v 2.7. The reader is therefore referred to Chapter 5, section 5.4, for the current query/response message structure.
MSH|^~VALUEamp;||AZVACREC||GAVACREC|200605221606||VXU^V04^VXU_V04|...
PID|...
NK1|...
NK1|...
PV1|...
PV2|...
IN1|...
IN2|||||||NUCLEAR^NANCY^D|909686637A|...
ORC|...
RXA|0|1|20060901115500|20060901115500|03^MMR^CVX|.5|MG^^ISO+| 222557777^KIDDER^KAREN^K^^DR|^^^ CHILD HEALTHCARE CLINIC^^^^^1044 Healthcare Drive^^METROPOLIS^AZ||||W23487909876456|20061125|MSD^Merck \T\ Co., Inc.^MVX|...
RXR|IM^INTRAMUSCULAR^HL70162|LG^LEFT GLUTEUS MEDIUS^HL70163|...
OBX|1|NM|1000.3^TEMP.RECTAL^AS4||102.9|DEGF^^ANSI+|||||F|||20060901153000|...
NTE|||PATIENT DEVELOPED HIGH FEVER APPROX 3 HRS AFTER VACCINE INJECTION. PROBABLE ADVERSE REACTION|...
This message shows an unsolicited update of a vaccination record. The message type is VXU-Unsolicited Vaccination Record Update, with event code V04 (unsolicited vaccination record update). This example is given to show possible uses for some of the optional segments in the message.
Attention: The original mode query, including QRD and QRF segments were retained for backward compatibility only as of v 2.4 and withdrawn as of v 2.7. The reader is therefore referred to Chapter 5, section 5.4, for the current query/response message structure.