In CMS's Medicare claims data, revenue codes 0250–0259 are the hospital pharmacy (0250 general, 0251 generic drugs, 0258 IV solutions) and 0450–0459 are the emergency room (0451 EMTALA screening, 0452 care beyond that screening). The code tells you which department charged you, not exactly what you got.
By the VerifyDoc team
This guide decodes each pharmacy and emergency room revenue code CMS lists, shows what to check on every line, and explains why self-administered drugs billed under 0637 can land on you instead of Medicare. It ends with the deadlines that apply if a line looks wrong.
Have your itemized bill handy? VerifyDoc reads it line by line and flags duplicates, upcoding, unbundling and math errors. The flag count is free; the full report, with a dispute letter for each finding, is $19.
Check my bill — free preview →What is a revenue code on a hospital bill?
A revenue code is the four-character number in the first column of each line on a hospital's UB-04 claim form (also called the CMS-1450). It names the hospital department, or "cost center," that the charge came from. CMS's Medicare data dictionary describes it as "the provider-assigned revenue code for each cost center for which a separate charge is billed," and gives radiology, the emergency room and pathology as examples of cost centers.
When you see "025x" or "045x," the x is shorthand for the whole family of codes that share the first three digits. CMS uses the same notation in its own lists, for example describing one code as an "extension of 027X." So 025x means every code from 0250 to 0259, and 045x means every code from 0450 to 0459.
One revenue code isn't a department at all. Code 0001 "represents the total of all revenue centers included on the claim," according to CMS. If your bill's 0001 line doesn't equal the sum of the lines above it, that's the first thing to ask about.
What does each 025x pharmacy code mean?
Each 025x code is a pharmacy charge, and the last digit narrows down the kind of drug. These are the descriptions CMS publishes for Medicare claims data, along with what's worth checking on your own bill.
| Code | CMS description | What to check on your bill |
|---|---|---|
| 0250 | Pharmacy – general classification | A large lump sum here hides which drugs you got. Ask for the drug names and quantities. |
| 0251 | Pharmacy – generic drugs | Count the doses against the days you were actually there. |
| 0252 | Pharmacy – nongeneric drugs | Ask whether a generic was available for each brand-name drug listed. |
| 0253 | Pharmacy – take home drugs | Did you actually leave with a supply? |
| 0254 | Drugs incident to other diagnostic service | Should match a diagnostic test you actually had. |
| 0255 | Drugs incident to radiology | Contrast and similar drugs, tied to an imaging study on the same bill. |
| 0256 | Experimental drugs | Were you told about, and did you agree to, an experimental drug? |
| 0257 | Pharmacy – non-prescription | Over-the-counter items. Compare the price to a store shelf. |
| 0258 | Pharmacy – IV solutions | Count the bags against how long you had an IV. |
| 0259 | Pharmacy – other pharmacy | A catch-all. Ask what's in it. |
| 0636 | Drugs requiring specific identification – detailed coding | The line should name the specific drug. If it doesn't, ask which one it is. |
| 0637 | Self-administered drugs administered in an emergency situation | Pills or drugs you could take yourself. Read the next section. |
The pattern to watch for is duplication. If the same drug shows up under 0250 and again under a more specific code like 0251 or 0636 for the same date, ask the billing office whether you were charged twice for one dose. Our guide to phantom charges for services you never received walks through how to raise that.
Why am I being billed for pills I took in the ER or under observation?
Because Medicare Part B usually doesn't cover them. Medicare.gov's guide to outpatient self-administered drugs says that "in most cases, Part B generally doesn't pay for" self-administered drugs you get in a hospital outpatient setting, and that if Part B doesn't cover the drug, "the hospital may bill you for the drug." These are the drugs CMS's code list puts under 0637.
That surprises a lot of people who stayed overnight but were never formally admitted. Observation is an outpatient status, which is why the difference covered in our post on observation versus inpatient admission shows up on the pharmacy lines too.
You may still get some of that money back. Medicare.gov says that if you have a Part D drug plan, "the plan may cover these drugs," and that your plan "may ask you if you could have reasonably gotten any of the drugs from a participating network pharmacy." Ask the hospital for a copy of the 0637 lines with the drug names, then send them to your Part D plan.
What does each 045x emergency room code mean?
The 045x codes show what kind of emergency room charge you're looking at. CMS's Medicare data dictionary lists these:
- 0450: Emergency room, general classification.
- 0451: Emergency room, EMTALA emergency medical screening services. EMTALA is the federal law that requires hospitals with emergency departments to screen anyone who comes in asking for emergency care.
- 0452: Emergency room, ER beyond EMTALA screening, meaning treatment after that screening.
- 0456: Emergency room, urgent care.
- 0459: Emergency room, other.
Two things are worth checking. First, if you had a short, minor visit, ask why both a screening line and a "beyond screening" line appear, and what treatment the second one covers. Second, if you went to a hospital-run urgent care, find out whether the visit was billed as urgent care (0456) or as a general emergency room visit (0450). Emergency room charges are often higher than urgent care charges for the same complaint.
The revenue code only tells you the department. The level of the visit itself is set by a separate procedure code on the same line, and that's where most ER overcharges happen. Our breakdown of common ER coding errors covers facility levels and trauma activation fees.
How do I get the revenue codes and check them against a price list?
Ask the hospital's billing office for an itemized bill or a copy of the UB-04 claim, with the revenue code, procedure code, units and charge on every line. A summary bill that only shows "Pharmacy" and "Emergency Room" totals can't be checked. If you also want your medical records to see which drugs were actually given, HIPAA requires the hospital to act on your access request within 30 days of receiving it, extendable once by up to 30 more days with written notice (45 CFR § 164.524(b)(2)). It can only charge a reasonable, cost-based fee for copies (45 CFR § 164.524(c)(4)).
Then compare prices. Under the federal hospital price transparency rule, 45 CFR § 180.50, hospitals must post their standard charges in a machine-readable file with the codes they use for billing. The code types the rule lists include "Revenue Center Codes (RCC)." That lets you look up what the hospital itself says it charges for a pharmacy or ER line before you accept the number on your bill.
Revenue codes sit alongside the code sets HIPAA requires on claims. Since October 1, 2015, those have been ICD-10-CM for diagnoses, ICD-10-PCS for inpatient hospital procedures, and HCPCS and CPT-4 for physician and other services (45 CFR § 162.1002(c)). A pharmacy or ER line usually carries one of those procedure codes next to its revenue code.
What can I do if a pharmacy or ER line looks wrong?
Start with the billing office and ask for a correction in writing. If the problem is how your insurer processed the claim, check your explanation of benefits first. Our guide to reading a Medicare Summary Notice or commercial EOB shows where the allowed amount and your share appear.
If you have an employer plan covered by ERISA, you have at least 180 days after receiving a denial notice to file an internal appeal (29 CFR § 2560.503-1(h)(3)(i)). The plan must decide a post-service appeal within 60 days when it has one level of appeal (29 CFR § 2560.503-1(i)(2)(iii)(A)). If the plan still says no, you can ask for independent external review within four months of that final notice (45 CFR § 147.136(d)(2)(i)).
If you were uninsured or paid yourself and got a good faith estimate, the No Surprises Act's patient-provider dispute process applies when the bill is at least $400 more than the estimate for that provider or facility (45 CFR § 149.620(a)(2)(ii)). You must start the dispute within 120 calendar days of receiving the first bill with the higher charges, and an administrative fee applies (45 CFR § 149.620(c)(1)).
About VerifyDoc: We help patients identify errors and overcharges on medical bills. We publish guides on hospital billing, the No Surprises Act, and disputing medical charges, updated as federal and state rules change.
Think your bill has errors? Check it in seconds.
Upload your itemized bill and VerifyDoc decodes every line and flags likely errors — duplicates, upcoding, unbundling, phantom charges, and math errors. The flag count is free. The full line-by-line report and a dispute letter for each finding are $19, one flat fee.
Check my bill — free preview →Frequently asked questions
Is a revenue code the same thing as a CPT code?
No. A revenue code names the hospital department a charge came from, like the pharmacy (025x) or emergency room (045x). A CPT or HCPCS code describes the specific service or item. On a hospital claim, each line usually carries both, so ask for an itemized bill that shows the two together.
Why does my bill show both 0451 and 0452 for one ER visit?
CMS's code list separates the EMTALA emergency medical screening (0451) from ER care beyond that screening (0452). Both can appear if you were screened and then treated. If your visit was very short, ask the billing office what treatment the 0452 line covers.
Can I get Medicare to pay for the 0637 self-administered drugs from my ER visit?
Usually not under Part B. Medicare.gov says Part B generally doesn't pay for self-administered drugs in hospital outpatient settings and the hospital may bill you. If you have a Part D plan, it may cover them, but it may ask whether you could reasonably have gotten the drugs from a network pharmacy.
What should I do if most of my pharmacy charges are lumped under 0250?
Ask for the drug names, doses and quantities behind that line. Code 0250 is CMS's "general classification" for pharmacy, so it doesn't tell you what you actually received. Compare the list with your medical records and the hospital's posted standard charges before you pay.