Reference·QTY Segment·QTY01
X12 835 Reference

X12 835 QTY01 (Quantity Qualifier Code): Format, Values, and Testing Notes

Jul 28, 2026 · 4 min read
QTY02 →

QTY02 is just a number — it is QTY01 that tells your system whether that number means covered days, non-covered days, or something else entirely. Get the qualifier wrong in a test fixture and your length-of-stay calculation will confidently produce a number that means nothing.

Quick answer

QTY01 is a two-character code that classifies the count carried in QTY02. In an 835, the qualifier most often distinguishes covered days from non-covered days on an institutional claim, though the code list supports other quantity types a payer might need to report at the claim level.

Common qualifier codes you will see in testing

CA
Covered - Actual — the number of days on the claim that fell within the patient's covered benefit period
NA
Not Covered — the number of days on the claim that were not covered under the patient's benefit
OU
Units — a generic unit count used when the quantity being reported is not a day count

Example

Synthetic example Generated by Synthibase
QTY*NA*2

A synthetic QTY01 value of NA paired with a count of 2, reporting two non-covered days on the claim.

Where this trips people up

Test generators frequently hardcode QTY01 to CA because covered-day counts are the most common case, then never produce an NA or OU value — so the branch of code that handles non-covered days or generic units never runs until a real payer sends one. It is also easy to forget that QTY01 alone does not tell you which claim-level total it should reconcile against; that mapping lives in your own system's business rules, and synthetic files that only ever use one qualifier code will never surface a mapping bug.

X12 835 QTY Segment Guide: Fields, Format, and Testing Gotchas
EDI 835 Remittance Advice: Complete Guide for Healthcare IT
How to Test 837I Institutional Claims
Stop hand-picking a single QTY qualifier
Synthibase varies QTY01 across covered days, non-covered days, and unit counts in generated 835 files, so your qualifier-handling logic gets exercised against every code it needs to support, not just the common 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.