RXA-6 looks like the simplest field in the segment — just a number — but it is meaningless without RXA-7 next to it, and that pairing is where a lot of quiet bugs live.
Quick answer
RXA-6 is the numeric quantity of the substance administered, paired with the unit of measure in RXA-7. It can be a whole number, a decimal, or, per the standard's numeric data type rules, blank or an unknown-quantity indicator when the amount was not documented.
What this field contains
0.5
Decimal dose — fractional doses are routine for vaccines and pediatric dosing — a generator that only emits whole numbers understates real-world variety
999
Unknown-amount convention — some sending systems use a sentinel value or leave RXA-6 blank when the dose amount was never captured, particularly for historical entries
1
Unit-count dose — for non-liquid administrations (e.g. tablets), the amount represents a count rather than a volume
Example
Synthetic example Generated by Synthibase
RXA|0|1|20260726090000||08^Hep B, adult^CVX|0.5|mL^^UCUM|||||||||||CP|A
RXA-6 holds 0.5, read together with RXA-7 (mL^^UCUM) to mean half a milliliter.
Where this trips people up
Because RXA-6 and RXA-7 only make sense together, test suites that vary the amount but hold the unit constant (or vice versa) miss real defects — a receiving system that silently defaults to "mL" when RXA-7 is empty will misinterpret a tablet count as a volume. Historical or refused-dose messages sometimes send RXA-6 as blank or zero rather than omitting it, and code that treats blank and zero as equivalent will double-count or misreport actual administrations.
Cover the dose/unit edge cases before go-live
Synthibase pairs RXA-6 amounts with realistic RXA-7 units — decimals, unit counts, and blank/unknown combinations included — so dosing logic gets tested against the full range, not just the clean case.
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.