Reference·RXR Segment·RXR-2
HL7 v2 Reference

RXR-2 in HL7 v2: A Field Guide to Administration Site

Jul 28, 2026 · 4 min read
← RXR-1 RXR-3 →

RXR-2 is technically optional in the standard, but for anyone tracking injection sites — think rotating vaccine locations across a series of doses — it is effectively required, and its absence is one of the more common data-quality complaints from downstream MAR systems.

Quick answer

RXR-2 is a coded element (CE/CWE) identifying the anatomical body site where a dose was administered, such as an arm, thigh, or buttock, often with laterality (left/right) included in the display text or a separate component. It is most relevant for injectable and topical products and is frequently left blank for oral or systemic routes where a specific site doesn't apply.

What this field contains

LD^Left Deltoid^HL70163
Upper arm site — a common location for adult and adolescent intramuscular vaccine doses
RVL^Right Vastus Lateralis^HL70163
Thigh site — the preferred injection site for infants, where deltoid muscle mass is insufficient
(blank)
No applicable site — expected and valid when RXR-1 carries a route, like oral or inhaled, where an anatomical site doesn't apply

Example

Synthetic example Generated by Synthibase
RXA|0|1|20260726090000||08^Hep B, adult^CVX|0.5|mL^^UCUM|||||||||||CP|A
RXR|IM^Intramuscular^HL70162|LD^Left Deltoid^HL70163|SY^Syringe^HL70164

RXR-2 carries LD^Left Deltoid^HL70163, pinpointing the exact injection site for the paired intramuscular dose.

Where this trips people up

Because RXR-2 is optional, some sending systems never populate it even for injectable products, and some receiving systems assume it will always be present for anything coded IM or SC in RXR-1. Test suites that only generate site values alongside injected routes never exercise the case where a real feed legitimately omits it, or the opposite case — a topical or oral route that unexpectedly includes a site value the parser wasn't built to ignore. Both directions cause silent data loss or unnecessary validation failures in production.

HL7 v2 RXR Segment Guide: Fields, Format, and Testing Gotchas
HL7 ADT Messages: A01 through A08 Explained
How to Write EDI Test Cases
Test every site and route combination, not just one
Synthibase generates synthetic RXR segments that pair sites correctly with their routes — present for injectables, absent for oral and systemic doses — so your validation logic gets tested against realistic combinations instead of a single fixture.
Start free trial →
This page is written independently by Synthibase for testing and informational purposes. It is not an official publication of HL7 International or X12/Washington Publishing Company, and is not a substitute for reviewing the official standard or your trading partner's companion guide. See our Terms of Service for full legal terms.