The Demo site for our new HL7 Version 2+ (plus) Standard
visit the hl7 website

Draft Website - For Review Purposes Only

Order Entry: Pharmacy/Treatment, Vaccination

Co-Chair:

Hans Buitendijk

Cerner Corporation

Co-Chair:

David Burgess

LabCorp

Co-Chair:

Lorraine Constable

Constable Consulting

Co-Chair:

Robert Hausam

Hausam Consulting

Co-Chair:

Ken McCaslin

Accenture

Co-Chair:

Patrick Loyd

ICode Solutions

Co-Chair:

Riki Merrick

Vernetzt, LLC

Co-Chair:Chapter Chair:

JD Nolen

Children’s Mercy Hospital

Editor

Scott Robertson

Kaiser Permanente

Sponsoring Committee:

Orders & Observations

List Server:

ord@lists.hl7.org



Purpose

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.

Preface (organization 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.

Pharmacy/Treatment Trigger Events & Messages

Usage notes for pharmacy/treatment messages

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.

IV solution groups

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.

OMP - Pharmacy/Treatment Order Message (Event O09)

OMP^O09^OMP_O09: Pharmacy/treatment Order Message
HL7 MessageStructure Table - OMP_O09
Segment Cardinality Must Implement Status
OMP_O09
MSH 1..1 Yes additional
ARV 0..* additional
SFT 0..* additional
UAC 0..1 additional
NTE 0..* additional
PATIENT 0..1 additional
PID 1..1 Yes additional
NTE 0..* additional
ARV 0..* B
GT1 0..1 additional
AL1 0..* additional
ADDITIONAL_DEMOGRAPHICS 0..1 additional
PD1 1..1 Yes additional
PRT 0..* additional
PATIENT_VISIT 0..1 additional
PV1 1..1 Yes additional
PV2 0..1 additional
PRT 0..* additional
ARV 0..* B
INSURANCE 0..* additional
IN1 1..1 Yes additional
IN2 0..1 additional
IN3 0..1 additional
ORDER 1..* Yes additional
ORC 1..1 Yes additional
RXO 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
RXR 1..* Yes additional
CDO 0..* additional
FT1 0..* additional
BLG 0..1 additional
TIMING 0..* additional
TQ1 1..1 Yes additional
TQ2 0..* additional
COMPONENT 0..* additional
RXC 1..1 Yes additional
NTE 0..* additional
OBSERVATION 0..* additional
OBX 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional

Original Mode Acknowledgement Choreography for OMP^O09^OMP_O09

Send Application Ack: ORP^O10^ORP_O10

Enhanced Mode Acknowledgement Choreography for OMP^O09^OMP_O09

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)

ORP - Pharmacy/Treatment Order Acknowledgment (Event O10)

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).

ORP^O10^ORP_O10: Description
HL7 MessageStructure Table - ORP_O10
Segment Cardinality Must Implement Status
ORP_O10
MSH 1..1 Yes additional
MSA 1..1 Yes additional
ERR 0..* additional
SFT 0..* additional
UAC 0..1 additional
NTE 0..* additional
RESPONSE 0..1 additional
PATIENT 0..1 additional
PID 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
ORDER 1..* Yes additional
ORC 1..1 Yes additional
PRT 0..* additional
TIMING 0..* additional
TQ1 1..1 Yes additional
TQ2 0..* additional
ORDER_DETAIL 0..1 additional
RXO 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
RXR 1..* Yes additional
COMPONENT 0..* additional
RXC 1..1 Yes additional
NTE 0..* additional

Original Mode Acknowledgement Choreography for ORP^O10^ORP_O10

Send Immediate Ack: ACK^O10^ACK

Enhanced Mode Acknowledgement Choreography for ORP^O10^ORP_O10

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)

RDE/RRE - pharmacy/treatment encoded order message (O01/O02)

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.

RDE - Pharmacy/Treatment Encoded Order Message (Event O11)

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.



RDE^O11^RDE_O11: Pharmacy/Treatment Encoded Order Message
HL7 MessageStructure Table - RDE_O11
Segment Cardinality Must Implement Status
RDE_O11
MSH 1..1 Yes additional
ARV 0..* additional
SFT 0..* additional
UAC 0..1 additional
NTE 0..* additional
PATIENT 0..1 additional
PID 1..1 Yes additional
PD1 0..1 additional
PRT 0..* additional
NTE 0..* additional
ARV 0..* B
GT1 0..1 additional
AL1 0..* additional
PATIENT_VISIT 0..1 additional
PV1 1..1 Yes additional
PV2 0..1 additional
PRT 0..* additional
ARV 0..* B
INSURANCE 0..* additional
IN1 1..1 Yes additional
IN2 0..1 additional
IN3 0..1 additional
ORDER 1..* Yes additional
ORC 1..1 Yes additional
PRT 0..* additional
RXE 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
RXR 1..* Yes additional
RXC 0..* additional
CDO 0..* additional
FT1 0..* additional
BLG 0..1 additional
CTI 0..* additional
TIMING 0..* additional
TQ1 1..1 Yes additional
TQ2 0..* additional
ORDER_DETAIL 0..1 additional
RXO 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
RXR 1..* Yes additional
COMPONENT 0..* additional
RXC 1..1 Yes additional
NTE 0..* additional
TIMING_ENCODED 1..* Yes additional
TQ1 1..1 Yes additional
TQ2 0..* additional
PHARMACY_TREATMENT_INFUSION_ORDER 0..* additional
RXV 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
TIMING_ENCODED 1..* Yes additional
TQ1 1..1 Yes additional
TQ2 0..* additional
OBSERVATION 0..* additional
OBX 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional

Original Mode Acknowledgement Choreography for RDE^O11^RDE_O11

Send Application Ack: RRE^O12^RRE_O12

Enhanced Mode Acknowledgement Choreography for RDE^O11^RDE_O11

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)

RRE - Pharmacy/Treatment Encoded Order Acknowledgment (Event O12)

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).

RRE^O12^RRE_O12: Pharmacy/Treatment Encoded Order Acknowledgment Message
HL7 MessageStructure Table - RRE_O12
Segment Cardinality Must Implement Status
RRE_O12
MSH 1..1 Yes additional
MSA 1..1 Yes additional
ERR 0..* additional
SFT 0..* additional
UAC 0..1 additional
NTE 0..* additional
RESPONSE 0..1 additional
PATIENT 0..1 additional
PID 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
ORDER 1..* Yes additional
ORC 1..1 Yes additional
PRT 0..* additional
TIMING 0..* additional
TQ1 1..1 Yes additional
TQ2 0..* additional
ENCODING 0..1 additional
RXE 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
RXR 1..* Yes additional
RXC 0..* additional
TIMING_ENCODED 1..* Yes additional
TQ1 1..1 Yes additional
TQ2 0..* additional

Original Mode Acknowledgement Choreography for RRE^O12^RRE_O12

Send Immediate Ack: ACK^O12^ACK

Enhanced Mode Acknowledgement Choreography for RRE^O12^RRE_O12

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)

RDS - Pharmacy/Treatment Dispense Message (Event O13)

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|... (amount paid by insurance)

FT1|2|||200607211055||CP|00340024110^VERAPAMIL 120MG TABLET ^NDC|||100|5.00&USD|... (copay paid by patient)

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.



RDS^O13^RDS_O13: Pharmacy/Treatment Dispense Message
HL7 MessageStructure Table - RDS_O13
Segment Cardinality Must Implement Status
RDS_O13
MSH 1..1 Yes additional
ARV 0..* additional
SFT 0..* additional
UAC 0..1 additional
NTE 0..* additional
PATIENT 0..1 additional
PID 1..1 Yes additional
PD1 1..1 Yes additional
PRT 0..* additional
ARV 0..* B
NTE 0..* additional
AL1 0..* additional
PATIENT_VISIT 0..1 additional
PV1 1..1 Yes additional
PV2 0..1 additional
PRT 0..* additional
ARV 0..* B
ORDER 1..* Yes additional
ORC 1..1 Yes additional
PRT 0..* additional
RXD 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
RXR 1..* Yes additional
RXC 0..* additional
CDO 0..* additional
FT1 0..* additional
TIMING 0..* additional
TQ1 1..1 Yes additional
TQ2 0..* additional
ORDER_DETAIL 0..1 additional
RXO 1..1 Yes additional
PRT 0..* additional
ORDER_DETAIL_SUPPLEMENT 0..1 additional
NTE 1..* Yes additional
RXR 1..* Yes additional
COMPONENT 0..* additional
RXC 1..1 Yes additional
NTE 0..* additional
ENCODING 0..1 additional
RXE 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
RXR 1..* Yes additional
RXC 0..* additional
TIMING_ENCODED 1..* Yes additional
TQ1 1..1 Yes additional
TQ2 0..* additional
OBSERVATION 0..* additional
OBX 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional

Original Mode Acknowledgement Choreography for RDS^O13^RDS_O13

Send Application Ack: RRD^O14^RRD_O14

Enhanced Mode Acknowledgement Choreography for RDS^O13^RDS_O13

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)

RRD - Pharmacy/Treatment Dispense Acknowledgement Message (Event O14)

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).

RRD^O14^RRD_O14: Pharmacy/Treatment Dispense Acknowledgment Message
HL7 MessageStructure Table - RRD_O14
Segment Cardinality Must Implement Status
RRD_O14
MSH 1..1 Yes additional
MSA 1..1 Yes additional
ERR 0..* additional
SFT 0..* additional
UAC 0..1 additional
NTE 0..* additional
RESPONSE 0..1 additional
PATIENT 0..1 additional
PID 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
ORDER 1..* Yes additional
ORC 1..1 Yes additional
PRT 0..* additional
TIMING 0..* additional
TQ1 1..1 Yes additional
TQ2 0..* additional
DISPENSE 0..1 additional
RXD 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
RXR 1..* Yes additional
RXC 0..* additional

Original Mode Acknowledgement Choreography for RRD^O14^RRD_O14

Send Immediate Ack: ACK^O14^ACK

Enhanced Mode Acknowledgement Choreography for RRD^O14^RRD_O14

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)

RGV/RRG - pharmacy/treatment give message (O01/O02)

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.

RGV - Pharmacy/Treatment Give Message (Event O15)

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.

RGV^O15^RGV_O15: Pharmacy/Treatment Give
HL7 MessageStructure Table - RGV_O15
Segment Cardinality Must Implement Status
RGV_O15
MSH 1..1 Yes additional
ARV 0..* additional
SFT 0..* additional
UAC 0..1 additional
NTE 0..* additional
PATIENT 0..1 additional
PID 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
AL1 0..* additional
ARV 0..* B
PATIENT_VISIT 0..1 additional
PV1 1..1 Yes additional
PV2 0..1 additional
PRT 0..* additional
ARV 0..* B
ORDER 1..* Yes additional
ORC 1..1 Yes additional
PRT 0..* additional
TIMING 0..* additional
TQ1 1..1 Yes additional
TQ2 0..* additional
ORDER_DETAIL 0..1 additional
RXO 1..1 Yes additional
PRT 0..* additional
ORDER_DETAIL_SUPPLEMENT 0..1 additional
NTE 1..* Yes additional
RXR 1..* Yes additional
COMPONENTS 0..* additional
RXC 1..1 Yes additional
NTE 0..* additional
ENCODING 0..1 additional
RXE 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
RXR 1..* Yes additional
RXC 0..* additional
TIMING_ENCODED 1..* Yes additional
TQ1 1..1 Yes additional
TQ2 0..* additional
GIVE 1..* Yes additional
RXG 1..1 Yes additional
PRT 0..* additional
RXR 1..* Yes additional
RXC 0..* additional
CDO 0..* additional
TIMING_GIVE 1..* Yes additional
TQ1 1..1 Yes additional
TQ2 0..* additional
OBSERVATION 0..* additional
OBX 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional

Original Mode Acknowledgement Choreography for RGV^O15^RGV_O15

Send Application Ack: RRG^O16^RRG_O16

Enhanced Mode Acknowledgement Choreography for RGV^O15^RGV_O15

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)

RRG - Pharmacy/Treatment Give Acknowledgment Message (Event O16)

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).

RRG^O16^RRG_O16: Pharmacy/Treatment Give Acknowledgment Message
HL7 MessageStructure Table - RRG_O16
Segment Cardinality Must Implement Status
RRG_O16
MSH 1..1 Yes additional
MSA 1..1 Yes additional
ERR 0..* additional
SFT 0..* additional
UAC 0..1 additional
NTE 0..* additional
RESPONSE 0..1 additional
PATIENT 0..1 additional
PID 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
ORDER 1..* Yes additional
ORC 1..1 Yes additional
PRT 0..* additional
TIMING 0..* additional
TQ1 1..1 Yes additional
TQ2 0..* additional
GIVE 0..1 additional
RXG 1..1 Yes additional
PRT 0..* additional
RXR 1..* Yes additional
RXC 0..* additional
TIMING_GIVE 1..* Yes additional
TQ1 1..1 Yes additional
TQ2 0..* additional

Original Mode Acknowledgement Choreography for RRG^O16^RRG_O16

Send Immediate Ack: ACK^O16^ACK

Enhanced Mode Acknowledgement Choreography for RRG^O16^RRG_O16

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)

RAS/RRA - pharmacy/treatment administration message (O01/O02)

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.

RAS - Pharmacy/Treatment Administration Message (Event O17)

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.

RAS^O17^RAS_O17: Pharmacy/Treatment Administration
HL7 MessageStructure Table - RAS_O17
Segment Cardinality Must Implement Status
RAS_O17
MSH 1..1 Yes additional
ARV 0..* additional
SFT 0..* additional
UAC 0..1 additional
NTE 0..* additional
PATIENT 0..1 additional
PID 1..1 Yes additional
PD1 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
ARV 0..* B
AL1 0..* additional
PATIENT_VISIT 0..1 additional
PV1 1..1 Yes additional
PV2 0..1 additional
PRT 0..* additional
ARV 0..* B
ORDER 1..* Yes additional
ORC 1..1 Yes additional
PRT 0..* additional
CTI 0..* additional
TIMING 0..* additional
TQ1 1..1 Yes additional
TQ2 0..* additional
ORDER_DETAIL 0..1 additional
RXO 1..1 Yes additional
PRT 0..* additional
ORDER_DETAIL_SUPPLEMENT 0..1 additional
NTE 1..* Yes additional
RXR 1..* Yes additional
COMPONENTS 0..* additional
RXC 1..1 Yes additional
NTE 0..* additional
ENCODING 0..1 additional
RXE 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
RXR 1..* Yes additional
RXC 0..* additional
CDO 0..* additional
TIMING_ENCODED 1..* Yes additional
TQ1 1..1 Yes additional
TQ2 0..* additional
ADMINISTRATION 1..* Yes additional
RXA 1..* Yes additional
PRT 0..* additional
RXR 1..1 Yes additional
OBSERVATION 0..* additional
OBX 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional

Original Mode Acknowledgement Choreography for RAS^O17^RAS_O17

Send Application Ack: RRA^O18^RRA_O18

Enhanced Mode Acknowledgement Choreography for RAS^O17^RAS_O17

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)

RRA - Pharmacy/Treatment Administration Acknowledgment Message (Event O18)

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).

RRA^O18^RRA_O18: Pharmacy/Treatment Administration Acknowledgment Message
HL7 MessageStructure Table - RRA_O18
Segment Cardinality Must Implement Status
RRA_O18
MSH 1..1 Yes additional
MSA 1..1 Yes additional
ERR 0..* additional
SFT 0..* additional
UAC 0..1 additional
NTE 0..* additional
RESPONSE 0..1 additional
PATIENT 0..1 additional
PID 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
ORDER 1..* Yes additional
ORC 1..1 Yes additional
PRT 0..* additional
TIMING 0..* additional
TQ1 1..1 Yes additional
TQ2 0..* additional
ADMINISTRATION 0..1 additional
RXR 1..1 Yes additional
TREATMENT 1..* Yes additional
RXA 1..1 Yes additional
PRT 0..* additional

Original Mode Acknowledgement Choreography for RRA^O18^RRA_O18

Send Immediate Ack: ACK^O18^ACK

Enhanced Mode Acknowledgement Choreography for RRA^O18^RRA_O18

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)

RDE - Pharmacy/Treatment Refill Authorization Request Message (Event O25)

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.

RDE^O25^RDE_O11: Pharmacy/Treatment Refill Authorization Request
HL7 MessageStructure Table - RDE_O11
Segment Cardinality Must Implement Status
RDE_O11
MSH 1..1 Yes additional
ARV 0..* additional
SFT 0..* additional
UAC 0..1 additional
NTE 0..* additional
PATIENT 0..1 additional
PID 1..1 Yes additional
PD1 0..1 additional
PRT 0..* additional
NTE 0..* additional
ARV 0..* B
GT1 0..1 additional
AL1 0..* additional
PATIENT_VISIT 0..1 additional
PV1 1..1 Yes additional
PV2 0..1 additional
PRT 0..* additional
ARV 0..* B
INSURANCE 0..* additional
IN1 1..1 Yes additional
IN2 0..1 additional
IN3 0..1 additional
ORDER 1..* Yes additional
ORC 1..1 Yes additional
PRT 0..* additional
RXE 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
RXR 1..* Yes additional
RXC 0..* additional
CDO 0..* additional
FT1 0..* additional
BLG 0..1 additional
CTI 0..* additional
TIMING 0..* additional
TQ1 1..1 Yes additional
TQ2 0..* additional
ORDER_DETAIL 0..1 additional
RXO 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
RXR 1..* Yes additional
COMPONENT 0..* additional
RXC 1..1 Yes additional
NTE 0..* additional
TIMING_ENCODED 1..* Yes additional
TQ1 1..1 Yes additional
TQ2 0..* additional
PHARMACY_TREATMENT_INFUSION_ORDER 0..* additional
RXV 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
TIMING_ENCODED 1..* Yes additional
TQ1 1..1 Yes additional
TQ2 0..* additional
OBSERVATION 0..* additional
OBX 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional

Original Mode Acknowledgement Choreography for RDE^O25^RDE_O11

Send Application Ack: RRE^O26^RRE_O12

Enhanced Mode Acknowledgement Choreography for RDE^O25^RDE_O11

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)

RRE - Pharmacy/Treatment Refill Authorization Request Acknowledgment (Event O26)

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).

RRE^O26^RRE_O12: Pharmacy/Treatment Refill Authorization Request Acknowledgment Message
HL7 MessageStructure Table - RRE_O12
Segment Cardinality Must Implement Status
RRE_O12
MSH 1..1 Yes additional
MSA 1..1 Yes additional
ERR 0..* additional
SFT 0..* additional
UAC 0..1 additional
NTE 0..* additional
RESPONSE 0..1 additional
PATIENT 0..1 additional
PID 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
ORDER 1..* Yes additional
ORC 1..1 Yes additional
PRT 0..* additional
TIMING 0..* additional
TQ1 1..1 Yes additional
TQ2 0..* additional
ENCODING 0..1 additional
RXE 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
RXR 1..* Yes additional
RXC 0..* additional
TIMING_ENCODED 1..* Yes additional
TQ1 1..1 Yes additional
TQ2 0..* additional

Original Mode Acknowledgement Choreography for RRE^O26^RRE_O12

Send Immediate Ack: ACK^O26^ACK

Enhanced Mode Acknowledgement Choreography for RRE^O26^RRE_O12

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)

ROR - Pharmacy/Treatment Order Response

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.

RAR - Pharmacy/Treatment Administration Information

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.

RDR - Pharmacy/Treatment Dispense Information

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.

RER - Pharmacy/Treatment Encoded Order

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.

RGR - Pharmacy/Treatment Dose Information

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.

Pharmacy Query/Response Message Pair

Conformance Statement

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.



If this field is not valued, all values for this field are considered to be a match.



If one PID.3 is specified, only 1 segment pattern will be returned.

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.



QBP^Q31^QBP_Q11: Query Grammar: QBP Message
HL7 MessageStructure Table - QBP_Q11
Segment Cardinality Must Implement Status
QBP_Q11
MSH 1..1 Yes additional
ARV 0..* additional
SFT 0..* additional
UAC 0..1 additional
QPD 1..1 Yes additional
QBP 0..1 additional
... 0..1 additional
RCP 1..1 Yes additional
DSC 0..1 additional

Original Mode Acknowledgement Choreography for QBP^Q31^QBP_Q11

Send Application Ack: RSP^K31^RSP_K31

Enhanced Mode Acknowledgement Choreography for QBP^Q31^QBP_Q11

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)

RSP^K31^RSP_K31: Response Grammar: Pharmacy Dispense Message
HL7 MessageStructure Table - RSP_K31
Segment Cardinality Must Implement Status
RSP_K31
MSH 1..1 Yes additional
MSA 1..1 Yes additional
ERR 0..* additional
SFT 0..* additional
UAC 0..1 additional
QAK 1..1 Yes additional
QPD 1..1 Yes additional
RCP 1..1 Yes additional
RESPONSE 1..* Yes additional
PATIENT 0..1 additional
PID 1..1 Yes additional
PD1 0..1 additional
PRT 0..* additional
NTE 0..* additional
ARV 0..* B
AL1 0..* additional
PATIENT_VISIT 0..1 additional
PV1 1..1 Yes additional
PV2 0..1 additional
PRT 0..* additional
ARV 0..* B
ORDER 1..* Yes additional
ORC 1..1 Yes additional
PRT 0..* additional
RXD 1..1 Yes additional
PRT 0..* additional
RXR 1..* Yes additional
RXC 0..* additional
CDO 0..* additional
TIMING 0..* additional
TQ1 1..1 Yes additional
TQ2 0..* additional
ORDER_DETAIL 0..1 additional
RXO 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
RXR 1..* Yes additional
COMPONENTS 0..* additional
RXC 1..1 Yes additional
NTE 0..* additional
ENCODING 0..1 additional
RXE 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
RXR 1..* Yes additional
RXC 0..* additional
TIMING_ENCODED 1..* Yes additional
TQ1 1..1 Yes additional
TQ2 0..* additional
OBSERVATION 0..* additional
OBX 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
DSC 0..1 additional

Original Mode Acknowledgement Choreography for RSP^K31^RSP_K31

Send An Acknowlegment is never sent in original mode.

Enhanced Mode Acknowledgement Choreography for RSP^K31^RSP_K31

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

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|

RDE - Pharmacy/Treatment Dispense Request Message (Event O49)

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.



RDE^O49^RDE_O49: Pharmacy/Treatment Dispense Request Message
HL7 MessageStructure Table - RDE_O49
Segment Cardinality Must Implement Status
RDE_O49
MSH 1..1 Yes additional
SFT 0..* additional
UAC 0..1 additional
NTE 0..* additional
PATIENT 0..1 additional
PID 1..1 Yes additional
PD1 0..1 additional
PRT 0..* additional
NTE 0..* additional
GT1 0..1 additional
AL1 0..* additional
PATIENT_VISIT 0..1 additional
PV1 1..1 Yes additional
PV2 0..1 additional
PRT 0..* additional
INSURANCE 0..* additional
IN1 1..1 Yes additional
IN2 0..1 additional
IN3 0..1 additional
ORDER 1..* Yes additional
ORC 1..1 Yes additional
PRT 0..* additional
PRT 0..* Deprecated
RXE 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
RXR 1..* Yes additional
RXC 0..* additional
FT1 0..* additional
BLG 0..1 additional
CTI 0..* additional
TIMING 0..* additional
TQ1 1..1 Yes additional
TQ2 0..* additional
ORDER_DETAIL 0..1 additional
RXO 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
RXR 1..* Yes additional
COMPONENT 0..* additional
RXC 1..1 Yes additional
NTE 0..* additional
TIMING_ENCODED 1..* Yes additional
TQ1 1..1 Yes additional
TQ2 0..* additional
OBSERVATION 0..* additional
OBX 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional

Original Mode Acknowledgement Choreography for RDE^O49^RDE_O49

Send Application Ack: RRE^O50^RRE_O50

Enhanced Mode Acknowledgement Choreography for RDE^O49^RDE_O49

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)

RRE - Pharmacy/Treatment Encoded Order Acknowledgment (Event O50)

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).

RRE^O50^RRE_O50: Pharmacy/Treatment Encoded Order Acknowledgment Message
HL7 MessageStructure Table - RRE_O50
Segment Cardinality Must Implement Status
RRE_O50
MSH 1..1 Yes additional
MSA 1..1 Yes additional
ERR 0..* additional
SFT 0..* additional
UAC 0..1 additional
NTE 0..* additional
RESPONSE 0..1 additional
PATIENT 0..1 additional
PID 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
ORDER 1..* Yes additional
ORC 1..1 Yes additional
PRT 0..* additional
PRT 0..* Deprecated
TIMING 0..* additional
TQ1 1..1 Yes additional
TQ2 0..* additional
ENCODING 0..1 additional
RXE 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
RXR 1..* Yes additional
RXC 0..* additional
TIMING_ENCODED 1..* Yes additional
TQ1 1..1 Yes additional
TQ2 0..* additional

Original Mode Acknowledgement Choreography for RRE^O50^RRE_O50

Send Immediate Ack: ACK^O50^ACK

Enhanced Mode Acknowledgement Choreography for RRE^O50^RRE_O50

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)

RCV - Pharmacy/Treatment Dispense Message (Event O59)

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.



RCV^O59^RCV_O59: Pharmacy/Treatment Dispense Message
HL7 MessageStructure Table - RCV_O59
Segment Cardinality Must Implement Status
RCV_O59
MSH 1..1 Yes additional
SFT 0..* additional
UAC 0..1 additional
NTE 0..* additional
PATIENT 0..1 additional
PID 1..1 Yes additional
PD1 0..1 additional
PRT 0..* additional
NTE 0..* additional
AL1 0..* additional
PATIENT_VISIT 0..1 additional
PV1 1..1 Yes additional
PV2 0..1 additional
PRT 0..* additional
ORDER 1..* Yes additional
ORC 1..1 Yes additional
PRT 0..* additional
RXD 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
RXR 1..* Yes additional
RXC 0..* additional
FT1 0..* additional
TIMING 0..* additional
TQ1 1..1 Yes additional
TQ2 0..* additional
ORDER_DETAIL 0..1 additional
RXO 1..1 Yes additional
ORDER_DETAIL_SUPPLEMENT 0..1 additional
NTE 1..* Yes additional
RXR 1..* Yes additional
COMPONENT 0..* additional
RXC 1..1 Yes additional
NTE 0..* additional
ENCODING 0..1 additional
RXE 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
RXR 1..* Yes additional
RXC 0..* additional
TIMING_ENCODED 1..* Yes additional
TQ1 1..1 Yes additional
TQ2 0..* additional
OBSERVATION 0..* additional
OBX 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional

Original Mode Acknowledgement Choreography for RCV^O59^RCV_O59

Send Application Ack: RRD^O14^RRD_O14

Enhanced Mode Acknowledgement Choreography for RCV^O59^RCV_O59

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)

Pharmacy/Treatment Segments

RXO - Pharmacy/Treatment Order Segment

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.

HL7 Attribute Table - RXO - Pharmacy/Treatment Order Segment
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

RXO-1: Requested Give Code (CWE) 00292

FIXME

RXO-2: Requested Give Amount - Minimum (NM) 00293

FIXME

RXO-3: Requested Give Amount - Maximum (NM) 00294

FIXME

RXO-4: Requested Give Units (CWE) 00295

FIXME

RXO-5: Requested Dosage Form (CWE) 00296

FIXME

RXO-6: Provider's Pharmacy/Treatment Instructions (CWE) 00297

FIXME

RXO-7: Provider's Administration Instructions (CWE) 00298

FIXME

RXO-8: Deliver-To Location () 00299

FIXME

RXO-9: Allow Substitutions (ID) 00300

FIXME

RXO-10: Requested Dispense Code (CWE) 00301

FIXME

RXO-11: Requested Dispense Amount (NM) 00302

FIXME

RXO-12: Requested Dispense Units (CWE) 00303

FIXME

RXO-13: Number Of Refills (NM) 00304

FIXME

RXO-14: Ordering Provider's DEA Number (XCN) 00305

FIXME

RXO-15: Pharmacist/Treatment Supplier's Verifier ID (XCN) 00306

FIXME

RXO-16: Needs Human Review (ID) 00307

FIXME

RXO-17: Requested Give Per (ST) 00308

FIXME

RXO-18: Requested Give Strength (NM) 01121

FIXME

RXO-19: Requested Give Strength Units (CWE) 01122

FIXME

RXO-20: Indication (CWE) 01123

FIXME

RXO-21: Requested Give Rate Amount (ST) 01218

FIXME

RXO-22: Requested Give Rate Units (CWE) 01219

FIXME

RXO-23: Total Daily Dose (CQ) 00329

FIXME

RXO-24: Supplementary Code (CWE) 01476

FIXME

RXO-25: Requested Drug Strength Volume (NM) 01666

FIXME

RXO-26: Requested Drug Strength Volume Units (CWE) 01667

FIXME

RXO-27: Pharmacy Order Type (ID) 01668

FIXME

RXO-28: Dispensing Interval (NM) 01669

FIXME

RXO-29: Medication Instance Identifier (EI) 02149

FIXME

RXO-30: Segment Instance Identifier (EI) 02150

FIXME

RXO-31: Mood Code (CNE) 02151

FIXME

RXO-32: Dispensing Pharmacy (CWE) 01681

FIXME

RXO-33: Dispensing Pharmacy Address (XAD) 01682

FIXME

RXO-34: Deliver-to Patient Location (PL) 01683

FIXME

RXO-35: Deliver-to Address (XAD) 01684

FIXME

RXO-36: Pharmacy Phone Number (XTN) 02309

FIXME

RXR - Pharmacy/Treatment Route Segment

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.

HL7 Attribute Table - RXR - Pharmacy/Treatment Route Segment
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

RXR-1: Route (CWE) 00309

FIXME

RXR-2: Administration Site (CWE) 00310

FIXME

RXR-3: Administration Device (CWE) 00311

FIXME

RXR-4: Administration Method (CWE) 00312

FIXME

RXR-5: Routing Instruction (CWE) 01315

FIXME

RXR-6: Administration Site Modifier (CWE) 01670

FIXME

RXC - Pharmacy/Treatment Component Order Segment

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.

HL7 Attribute Table - RXC - Pharmacy/Treatment Component Order Segment
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

RXC-1: RX Component Type (ID) 00313

FIXME

RXC-2: Component Code (CWE) 00314

FIXME

RXC-3: Component Amount (NM) 00315

FIXME

RXC-4: Component Units (CWE) 00316

FIXME

RXC-5: Component Strength (NM) 01124

FIXME

RXC-6: Component Strength Units (CWE) 01125

FIXME

RXC-7: Supplementary Code (CWE) 01476

FIXME

RXC-8: Component Drug Strength Volume (NM) 01671

FIXME

RXC-9: Component Drug Strength Volume Units (CWE) 01672

FIXME

RXC-10: Dispense Amount (NM) 03314

FIXME

RXC-11: Dispense Units (CWE) 03315

FIXME

RXE - Pharmacy/Treatment Encoded Order Segment

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.

HL7 Attribute Table - RXE - Pharmacy/Treatment Encoded Order Segment
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

RXE-1: Quantity/Timing () 00221

FIXME

RXE-2: Give Code (CWE) 00317

FIXME

RXE-3: Give Amount - Minimum (NM) 00318

FIXME

RXE-4: Give Amount - Maximum (NM) 00319

FIXME

RXE-5: Give Units (CWE) 00320

FIXME

RXE-6: Give Dosage Form (CWE) 00321

FIXME

RXE-7: Provider's Administration Instructions (CWE) 00298

FIXME

RXE-8: Deliver-To Location () 00299

FIXME

RXE-9: Substitution Status (ID) 00322

FIXME

RXE-10: Dispense Amount (NM) 00323

FIXME

RXE-11: Dispense Units (CWE) 00324

FIXME

RXE-12: Number Of Refills (NM) 00304

FIXME

RXE-13: Ordering Provider's DEA Number (XCN) 00305

FIXME

RXE-14: Pharmacist/Treatment Supplier's Verifier ID (XCN) 00306

FIXME

RXE-15: Prescription Number (ST) 00325

FIXME

RXE-16: Number of Refills Remaining (NM) 00326

FIXME

RXE-17: Number of Refills/Doses Dispensed (NM) 00327

FIXME

RXE-18: D/T of Most Recent Refill or Dose Dispensed (DTM) 00328

FIXME

RXE-19: Total Daily Dose (CQ) 00329

FIXME

RXE-20: Needs Human Review (ID) 00307

FIXME

RXE-21: Special Dispensing Instructions (CWE) 00330

FIXME

RXE-22: Give Per (ST) 00331

FIXME

RXE-23: Give Rate Amount (ST) 00332

FIXME

RXE-24: Give Rate Units (CWE) 00333

FIXME

RXE-25: Give Strength (NM) 01126

FIXME

RXE-26: Give Strength Units (CWE) 01127

FIXME

RXE-27: Give Indication (CWE) 01128

FIXME

RXE-28: Dispense Package Size (NM) 01220

FIXME

RXE-29: Dispense Package Size Unit (CWE) 01221

FIXME

RXE-30: Dispense Package Method (ID) 01222

FIXME

RXE-31: Supplementary Code (CWE) 01476

FIXME

RXE-32: Original Order Date/Time (DTM) 01673

FIXME

RXE-33: Give Drug Strength Volume (NM) 01674

FIXME

RXE-34: Give Drug Strength Volume Units (CWE) 01675

FIXME

RXE-35: Controlled Substance Schedule (CWE) 01676

FIXME

RXE-36: Formulary Status (ID) 01677

FIXME

RXE-37: Pharmaceutical Substance Alternative (CWE) 01678

FIXME

RXE-38: Pharmacy of Most Recent Fill (CWE) 01679

FIXME

RXE-39: Initial Dispense Amount (NM) 01680

FIXME

RXE-40: Dispensing Pharmacy (CWE) 01681

FIXME

RXE-41: Dispensing Pharmacy Address (XAD) 01682

FIXME

RXE-42: Deliver-to Patient Location (PL) 01683

FIXME

RXE-43: Deliver-to Address (XAD) 01684

FIXME

RXE-44: Pharmacy Order Type (ID) 01685

FIXME

RXE-45: Pharmacy Phone Number (XTN) 02310

FIXME

RXD - Pharmacy/Treatment Dispense Segment

HL7 Attribute Table - RXD - Pharmacy/Treatment Dispense Segment
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

RXD-1: Dispense Sub-ID Counter (NM) 00334

FIXME

RXD-2: Dispense/Give Code (CWE) 00335

FIXME

RXD-3: Date/Time Dispensed (DTM) 00336

FIXME

RXD-4: Actual Dispense Amount (NM) 00337

FIXME

RXD-5: Actual Dispense Units (CWE) 00338

FIXME

RXD-6: Actual Dosage Form (CWE) 00339

FIXME

RXD-7: Prescription Number (ST) 00325

FIXME

RXD-8: Number of Refills Remaining (NM) 00326

FIXME

RXD-9: Dispense Notes (ST) 00340

FIXME

RXD-10: Dispensing Provider (XCN) 00341

FIXME

RXD-11: Substitution Status (ID) 00322

FIXME

RXD-12: Total Daily Dose (CQ) 00329

FIXME

RXD-13: Dispense-to Location () 01303

FIXME

RXD-14: Needs Human Review (ID) 00307

FIXME

RXD-15: Special Dispensing Instructions (CWE) 00330

FIXME

RXD-16: Actual Strength (NM) 01132

FIXME

RXD-17: Actual Strength Unit (CWE) 01133

FIXME

RXD-18: Substance Lot Number (ST) 01129

FIXME

RXD-19: Substance Expiration Date (DTM) 01130

FIXME

RXD-20: Substance Manufacturer Name (CWE) 01131

FIXME

RXD-21: Indication (CWE) 01123

FIXME

RXD-22: Dispense Package Size (NM) 01220

FIXME

RXD-23: Dispense Package Size Unit (CWE) 01221

FIXME

RXD-24: Dispense Package Method (ID) 01222

FIXME

RXD-25: Supplementary Code (CWE) 01476

FIXME

RXD-26: Initiating Location (CWE) 01477

FIXME

RXD-27: Packaging/Assembly Location (CWE) 01478

FIXME

RXD-28: Actual Drug Strength Volume (NM) 01686

FIXME

RXD-29: Actual Drug Strength Volume Units (CWE) 01687

FIXME

RXD-30: Dispense to Pharmacy (CWE) 01688

FIXME

RXD-31: Dispense to Pharmacy Address (XAD) 01689

FIXME

RXD-32: Pharmacy Order Type (ID) 01690

FIXME

RXD-33: Dispense Type (CWE) 01691

FIXME

RXD-34: Pharmacy Phone Number (XTN) 02311

FIXME

RXD-35: Dispense Tag Identifier (EI) 03392

FIXME

RXG - Pharmacy/Treatment Give Segment

HL7 Attribute Table - RXG - Pharmacy/Treatment Give Segment
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

RXG-1: Give Sub-ID Counter (NM) 00342

FIXME

RXG-2: Dispense Sub-ID Counter (NM) 00334

FIXME

RXG-3: Quantity/Timing () 00221

FIXME

RXG-4: Give Code (CWE) 00317

FIXME

RXG-5: Give Amount - Minimum (NM) 00318

FIXME

RXG-6: Give Amount - Maximum (NM) 00319

FIXME

RXG-7: Give Units (CWE) 00320

FIXME

RXG-8: Give Dosage Form (CWE) 00321

FIXME

RXG-9: Administration Notes (CWE) 00351

FIXME

RXG-10: Substitution Status (ID) 00322

FIXME

RXG-11: Dispense-to Location () 01303

FIXME

RXG-12: Needs Human Review (ID) 00307

FIXME

RXG-13: Special Administration Instructions (CWE) 00343

FIXME

RXG-14: Give Per (ST) 00331

FIXME

RXG-15: Give Rate Amount (ST) 00332

FIXME

RXG-16: Give Rate Units (CWE) 00333

FIXME

RXG-17: Give Strength (NM) 01126

FIXME

RXG-18: Give Strength Units (CWE) 01127

FIXME

RXG-19: Substance Lot Number (ST) 01129

FIXME

RXG-20: Substance Expiration Date (DTM) 01130

FIXME

RXG-21: Substance Manufacturer Name (CWE) 01131

FIXME

RXG-22: Indication (CWE) 01123

FIXME

RXG-23: Give Drug Strength Volume (NM) 01692

FIXME

RXG-24: Give Drug Strength Volume Units (CWE) 01693

FIXME

RXG-25: Give Barcode Identifier (CWE) 01694

FIXME

RXG-26: Pharmacy Order Type (ID) 01695

FIXME

RXG-27: Dispense to Pharmacy (CWE) 01688

FIXME

RXG-28: Dispense to Pharmacy Address (XAD) 01689

FIXME

RXG-29: Deliver-to Patient Location (PL) 01683

FIXME

RXG-30: Deliver-to Address (XAD) 01684

FIXME

RXG-31: Give Tag Identifier (EI) 03393

FIXME

RXG-32: Dispense Amount (NM) 03316

FIXME

RXG-33: Dispense Units (CWE) 03317

FIXME

RXA - Pharmacy/Treatment Administration Segment

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.

HL7 Attribute Table - RXA - Pharmacy/Treatment Administration Segment
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

RXA-1: Give Sub-ID Counter (NM) 00342

FIXME

RXA-2: Administration Sub-ID Counter (NM) 00344

FIXME

RXA-3: Date/Time Start of Administration (DTM) 00345

FIXME

RXA-4: Date/Time End of Administration (DTM) 00346

FIXME

RXA-5: Administered Code (CWE) 00347

FIXME

RXA-6: Administered Amount (NM) 00348

FIXME

RXA-7: Administered Units (CWE) 00349

FIXME

RXA-8: Administered Dosage Form (CWE) 00350

FIXME

RXA-9: Administration Notes (CWE) 00351

FIXME

RXA-10: Administering Provider () 00352

FIXME

RXA-11: Administered-at Location () 00353

FIXME

RXA-12: Administered Per (ST) 00354

FIXME

RXA-13: Administered Strength (NM) 01134

FIXME

RXA-14: Administered Strength Units (CWE) 01135

FIXME

RXA-15: Substance Lot Number (ST) 01129

FIXME

RXA-16: Substance Expiration Date (DTM) 01130

FIXME

RXA-17: Substance Manufacturer Name (CWE) 01131

FIXME

RXA-18: Substance/Treatment Refusal Reason (CWE) 01136

FIXME

RXA-19: Indication (CWE) 01123

FIXME

RXA-20: Completion Status (ID) 01223

FIXME

RXA-21: Action Code – RXA (ID) 01224

FIXME

RXA-22: System Entry Date/Time (DTM) 01225

FIXME

RXA-23: Administered Drug Strength Volume (NM) 01696

FIXME

RXA-24: Administered Drug Strength Volume Units (CWE) 01697

FIXME

RXA-25: Administered Barcode Identifier (CWE) 01698

FIXME

RXA-26: Pharmacy Order Type (ID) 01699

FIXME

RXA-27: Administer-at (PL) 02264

FIXME

RXA-28: Administered-at Address (XAD) 02265

FIXME

RXA-29: Administered Tag Identifier (EI) 03396

FIXME

RXV - Pharmacy/Treatment Infusion Segment

The RXV segment details the pharmacy or treatment application’s encoding of specific infusion order parameters

HL7 Attribute Table - RXV - Pharmacy/Treatment Infusion Segment
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]

RXV-1: Set ID - RXV (SI) 03318

FIXME

RXV-2: Bolus Type (ID) 03319

FIXME

RXV-3: Bolus Dose Amount (NM) 03320

FIXME

RXV-4: Bolus Dose Amount Units (CWE) 03321

FIXME

RXV-5: Bolus Dose Volume (NM) 03322

FIXME

RXV-6: Bolus Dose Volume Units (CWE) 03323

FIXME

RXV-7: PCA Type (ID) 03324

FIXME

RXV-8: PCA Dose Amount (NM) 03325

FIXME

RXV-9: PCA Dose Amount Units (CWE) 03326

FIXME

RXV-10: PCA Dose Amount Volume (NM) 03327

FIXME

RXV-11: PCA Dose Amount Volume Units (CWE) 03328

FIXME

RXV-12: Max Dose Amount (NM) 03329

FIXME

RXV-13: Max Dose Amount Units (CWE) 03330

FIXME

RXV-14: Max Dose Amount Volume (NM) 03331

FIXME

RXV-15: Max Dose Amount Volume Units (CWE) 03332

FIXME

RXV-16: Max Dose per Time (CQ) 03333

FIXME

RXV-17: Lockout Interval (CQ) 03334

FIXME

RXV-18: Syringe Manufacturer (CWE) 03339

FIXME

RXV-19: Syringe Model Number (CWE) 03385

FIXME

RXV-20: Syringe Size (NM) 03386

FIXME

RXV-21: Syringe Size Units (CWE) 03431

FIXME

RXV-22: Action Code (ID) 00816

FIXME

CDO - Cumulative Dosage Segment

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.

HL7 Attribute Table - CDO - Cumulative Dosage Segment
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

CDO-1: Set ID – CDO (SI) 03430

FIXME

CDO-2: Action Code (ID) 00816

FIXME

CDO-3: Cumulative Dosage Limit (CQ) 03397

FIXME

CDO-4: Cumulative Dosage Limit Time Interval (CQ) 03398

FIXME

Pharmacy/Treatment Message Examples

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.

Example of various levels of coding in an order

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:

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  1. 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|...

  1. 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|...

  1. 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|...

  1. 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|...

  1. 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|...

  1. 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|...

  1. 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|...

  1. 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 segment field examples

RXO segment field examples

RXO-1 Requested Give code example

RXO|58160040000110^Fluoxetine HCL 10mg Capsule^GPI^00777310402^Prozac 10 mg caps^NDC|...

RXO-18 and RXO-19 Requested Strength and Strength Unit examples

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||...

RXD segment field examples

RXD segment field examples

RXD-4 and RXD-5 Dispense amount and Actual dispense units

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|...

Actual dispense amount, Actual dispense units, Actual strength, Actual strength units

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+|...

Valuing the Dispense Package Size Unit

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|...

RDS with FT1 segments example

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|...

Alternating IV order messages

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.

  1. 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.

  1. Each child could have its own placer order number.

  2. 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.

  3. 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.

  1. 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|...

  1. 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.

  1. 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|...

Query examples

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.



Pharmacy/Treatment Transaction Flow Diagram

The following are possible routes at a generic site.

OMP:

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.

RDE:

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.

RDS:

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.

RGV:

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.

RAS:

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.



Vaccine Trigger Events & Message Definitions

Vaccine administration data

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.

Queries for immunization records (QRF Segments)

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.

XQ - Query for Vaccination Record (Event V01)

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.

VXX - RESPONSE TO VACCINATION QUERY RETURNING MULTIPLE PID MATCHES (Event V02)

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.

VXR - Vaccination Record Response (Event V03)

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.

VXU - Unsolicited Vaccination Record Update (Event V04)

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.

VXU^V04^VXU_V04: Unsolicited Vaccination Update
HL7 MessageStructure Table - VXU_V04
Segment Cardinality Must Implement Status
VXU_V04
MSH 1..1 Yes additional
ARV 0..* additional
SFT 0..* additional
UAC 0..1 additional
PID 1..1 Yes additional
PD1 0..1 additional
PRT 0..* additional
NK1 0..* additional
ARV 0..* B
PATIENT_VISIT 0..1 additional
PV1 1..1 Yes additional
PV2 0..1 additional
PRT 0..* additional
ARV 0..* B
GT1 0..* additional
INSURANCE 0..* additional
IN1 1..1 Yes additional
IN2 0..1 additional
IN3 0..1 additional
PERSON_OBSERVATION 0..* additional
OBX 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional
ORDER 0..* additional
ORC 1..1 Yes additional
PRT 0..* additional
RXA 1..1 Yes additional
PRT 0..* additional
RXR 0..1 additional
TIMING 0..* additional
TQ1 1..1 Yes additional
TQ2 0..* additional
OBSERVATION 0..* additional
OBX 1..1 Yes additional
PRT 0..* additional
NTE 0..* additional

Original Mode Acknowledgement Choreography for VXU^V04^VXU_V04

Send Application Ack: ACK^V04^ACK

Enhanced Mode Acknowledgement Choreography for VXU^V04^VXU_V04

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)

Vaccine Segments

FIXME

Vaccination Message Examples

VXQ - query for vaccination record

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.



VXX - response to vaccination query with multiple PID matches

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.



VXR - vaccination record response

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.



VXU - unsolicited vaccination record update

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.

Query acknowledgment with no records found

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.