HEALTHCARE COST & UTILIZATION PROJECT

User Support

Do Your own analysis
Explore Expert Research & Limited Datasets

HL7 Drug Order Examples

The following are examples of HL7 segments containing drug order data. This is not intended to explain all the fields in each of these segments or describe the HL7 messaging process but to show the minimum type of drug order data to provide for review.

ORC - Common Order Segment
ORC|order control|placer order number|||||quantity/timing||Date/Time of Transaction

RXE - Pharmacy Encoded Order Segment
RXE|quantity^interval^duration^Start Date/Time^End Date/Time^priority|give code identifier^give code text^coding system|
give amount minimum|give amount maximum|give units|give dosage form

RXR - Pharmacy Route Segment
RXR|route code^route text

RXC - Pharmacy Component Order Segment (this segment is used for compound drugs or IV solution when the base and additive components need to be specified
RXC|component type|componnet code (code, text, coding system)|component amount|component units|component strength| component strength units

1. New order for intravenous order of pantoprazole in sodium chloride

ORC|NW|RX12345^ABC|||||1^^INDEF^201108250200^^RTN||20110825012431
RXE|1^^INDEF^201108250200|00338004902^SODIUM CHLORIDE 0.9 %^NDC|230||ML|SOLP
RXR|IV|
RXC|B|00338004902^SODIUM CHLORIDE 0.9 %^NDC|230|ML
RXC|A|00008092355^PANTOPRAZOLE SODIUM^NDC|80|MG|40|MG

2. New Order for oral drug give once

ORC|NW|20352777|||AC||||201108250625
RXE|^NOW^^201108250625|WARF5^WARFARIN SODIUM|5||MG|TABLET
RXR|ORAL

3. New order for oral drug with specified start and stop time

ORC|NW|28833^EFG|||||^DAILY&0900^^20110812110000^20110825001058||20110825001057
RXE|^DAILY@0900^^20110812110000^20110825001058|3433^LISINOPRIL 20 MG TAB UD|40||mg|TAB^Tab|
RXR|PO^Oral

4. Discontinuation order for intravenous drug ranitidine in sodium chloride

ORC|DC|18686^EFG||||^Q8&0600,1400,2200^^20110824140000^20110825000914||20110825000915
RXE|^Q8@0600,1400,2200^^20110824140000^20110825000914|444^Ranitidine|100||mL|INJ
RXR|IVPB^IVPB
RXC|A|444^Ranitidine Inj 25 mg/mL (IV)|50|mg
RXC|B|195^Sodium Chloride 0.9% 100 mL|100|mL

8/26/2011


Internet Citation: HL7 Drug Order Examples Healthcare Cost and Utilization Project (HCUP). September 2014. Agency for Healthcare Research and Quality, Rockville, MD. www.hcup-us.ahrq.gov/datainnovations/clinicalcontentenhancementtoolkit/mn18.jsp.
Are you having problems viewing or printing pages on this website?
If you have comments, suggestions, and/or questions, please contact hcup@ahrq.gov.
Privacy Notice, Viewers & Players
Last modified 9/15/14