H0017 is the HCPCS per-diem code for behavioral health residential treatment delivered in a hospital-based residential program — in the code set's own words, “behavioral health; residential (hospital residential treatment program), without room and board, per diem.” It is the facility line for a day of residential treatment where the program sits inside a hospital, and it is the counterpart to H0018, which covers short-term residential treatment in a non-hospital program. Which of the two a facility bills is a question of setting, not of diagnosis.
HCPCS descriptor
H0017 — “Behavioral health; residential (hospital residential treatment program), without room and board, per diem”
Revenue codes it appears with: 1001, 1002. HCPCS Level II descriptor as published by CMS.
What services bill under H0017?
Residential treatment delivered by a hospital-based program — 24-hour, program-level behavioral health care below the acute inpatient level, billed per day, without room and board in the code's own definition. That is the same residential level of care as H0018; the difference is the setting the program operates in. Because H0017 is a level-of-care code, it carries any residential program a hospital runs — substance-use, mental-health, or eating-disorder programs alike; the diagnosis lives in the claim's ICD coding, not in the code or the rate.
Related: Levels of Care, Explained · H0018 — Short-term residential · Residential reimbursement rates
H0017 or H0018 — which residential code applies?
The code set draws the line at the program's setting: H0017 is “hospital residential treatment program,” H0018 is “short-term residential (non-hospital residential treatment program).” Read literally, a freestanding program's day is H0018 and a hospital-based program's is H0017 — but in practice, which code a payer expects for a given program is a contract question: the code a payer keys its residential per diem to is written into the agreement and the payer's billing rules, so confirm it there rather than inferring it from the setting alone. Whichever code applies, the rate structure behind it is the same per-diem conversation.
Is H0017 a facility code or a professional code?
Facility. Like H0018, H0017 pays the program for the day; the physician, psychiatric, and therapy work delivered during the stay bills separately on the professional side. The negotiation is therefore about the program — staffing, clinical intensity, length of stay — as a per diem or case rate, and the number that matters is the negotiated per diem a payer publishes for the facility in its Transparency in Coverage file.
Which revenue codes does H0017 pair with?
The residential accommodation lines — revenue code 1001 (psychiatric residential) and 1002 (chemical-dependency residential), the same family H0018 travels with, because the code's “without room and board” definition means the accommodation component rides on the revenue code. Some payers require the revenue code and the HCPCS code together for the claim to price; others key their residential rate on one or the other. Read a rate file accordingly: an “H0017 rate” and a “1001 rate” may be one contract line or two.
Related: Behavioral Health Billing Grammar · Behavioral Health Revenue Codes, Explained
Why isn't one facility's H0017 rate comparable to another's?
Because a shared code hides different contracts. Residential per diems vary with the contracting entity (a national behavioral health network, a commercial carrier's own book, a regional plan), the market, the vintage of the rate, and the structure — per diem, case rate, or percent of charges — as well as with program definitions a contract may attach to the code. A hospital-based program adds one more: the residential line may sit inside a broader hospital agreement, negotiated alongside inpatient and outpatient services rather than on its own. And a public Medicaid schedule price for a residential code is a state-set floor, not the market.
Related: What determines a Carelon facility rate · What determines an Aetna facility rate · Medicaid fee schedules vs. commercial negotiated rates
How does a facility benchmark its H0017 rate?
By placing it inside the distribution of comparable facilities' negotiated residential rates in its market, with the same payer, and reading the result as a percentile position. Residential is the level of care where the benchmark is deepest, and a hospital-based program's comparison set is the residential programs a payer actually pays in that market — read with the setting in mind. Ratebench and Peerbench do this on actual negotiated rates resolved to the facility and scored for confidence, with the Massachusetts and North Carolina Medicaid schedules beneath the distribution as a reference floor. The fastest way to see where your residential rate stands is a free rate analysis of your own contract.
Related: Ratebench · Peerbench · Reading Your Percentile Position · Coverage & Methodology
See where your facility's rates rank.
A free rate analysis compares your contract to actual negotiated rates in your market, by level of care and code.
More billing codes
H0010 — Sub-acute detoxification · H0018 — Short-term residential · H0035 — Partial hospitalization · H0015 — Intensive outpatient · All billing codes