Specifies the route of administration (such as oral, IV, IM, or subcutaneous), administration site, and administration method for a pharmacy or treatment order. It accompanies RXO, RXE, RXG, RXA, and RXD segments in pharmacy messages and is required whenever the route is not implied by the ordered drug. RXR ensures that clinical staff and downstream systems know the intended or actual route of drug delivery.
from zato.hl7v2 import RXR, CWE
rxr = RXR()
rxr.route = CWE(
identifier='PO', text='Oral')How to construct and work with real-world RXR segments.
Route only for a once-daily capsule routine
from zato.hl7v2.v2_9 import RXR
from zato.hl7v2.v2_9 import CWE
rxr = RXR()
rxr.route = CWE(
identifier='PO', text='Oral')Transdermal route, forearm site, applicator, and site modifier
from zato.hl7v2.v2_9 import RXR
from zato.hl7v2.v2_9 import CWE
rxr = RXR()
rxr.route = CWE(
identifier='TD', text='Transdermal')
rxr.administration_site = CWE(
identifier='FA', text='Left forearm')
rxr.administration_device = CWE(
identifier='PAD', text='Pad applicator')
rxr.administration_method = CWE(
identifier='SPREAD', text='Thin layer')
rxr.routing_instruction = CWE(
identifier='ROT', text='Rotate sites')
rxr.administration_site_modifier = CWE(
identifier='LEFT', text='Left side')Intravenous route, antecubital site, infusion line, drip method, and modifiers
from zato.hl7v2.v2_9 import RXR
from zato.hl7v2.v2_9 import CWE
rxr = RXR()
rxr.route = CWE(
identifier='IV', text='Intravenous')
rxr.administration_site = CWE(
identifier='AC', text='Antecubital fossa')
rxr.administration_device = CWE(
identifier='INF', text='Infusion line')
rxr.administration_method = CWE(
identifier='DRIP', text='Gravity drip')
rxr.routing_instruction = CWE(
identifier='WELL', text='Wellness infusion')
rxr.administration_site_modifier = CWE(
identifier='UP', text='Upper arm')Step-by-step guides for working with HL7 v2 in Zato.
RXR records route of administration and related details such as site, device, method, and instructions for pharmacy and nutrition workflows. It complements ORC, RXO, RXE, RXD, RXG, and PID when systems document how a wellness product is given.
Field 1 (route) is required. Populate administration_site, administration_device, administration_method, routing_instruction, and administration_site_modifier when your interface specification uses them.
from zato.hl7v2.v2_9 import RXR, CWE
rxr = RXR()
rxr.route = CWE(
identifier='PO', text='Oral')Use administration_site when the route depends on a specific body location, for example transdermal application on the forearm or intravenous access at the antecubital fossa. Oral routes often leave this field empty.
administration_method describes the technique (for example drip versus push), while routing_instruction can carry partner-specific directions. Follow your trading partner guide for which field holds each kind of note.
RXE encodes structured order lines; RXD documents a dispense; RXR states how the product is administered. The same order may include one RXR or several when routes differ.
Zato connects to any system that speaks HL7v2 over MLLP or FHIR over REST. This includes Epic, Cerner, Meditech, Allscripts, and other EHR platforms.
Yes, Zato has built-in MLLP support for sending and receiving HL7v2 messages. MLLP channels handle the framing protocol automatically.
Zato supports HL7 v2.9, which is backward compatible with earlier versions including v2.3, v2.5, and v2.7. Standard segments and datatypes are available as typed Python classes.
Yes. Zato handles both HL7v2 and FHIR natively, so you can parse v2 messages and build FHIR resources with IG-specific extensions in the same service. Typed Python classes are available for both protocols, including extensions from US Core, UK Core, Da Vinci, and other Implementation Guides.
Complete list of fields in the RXR segment, HL7 v2.9.
| # | Python name | Datatype | Usage | Repeatable | Table |
|---|---|---|---|---|---|
| 1 | route | CWE | Required | No | HL70162 |
| 2 | administration_site | CWE | Optional | No | HL70550 |
| 3 | administration_device | CWE | Optional | No | HL70164 |
| 4 | administration_method | CWE | Optional | No | HL70165 |
| 5 | routing_instruction | CWE | Optional | No | HL70766 |
| 6 | administration_site_modifier | CWE | Optional | No | HL70495 |
Get started with Zato and connect your systems in minutes.