All guidesCheck my bill — free
VerifyDoc Guide

What Do the Occurrence and Value Codes on My UB-04 Mean in 2026?

November 10, 2026 VerifyDoc 7 min read Last verified: November 10, 2026

On a hospital claim (the UB-04, also called the CMS-1450), occurrence codes and their dates sit in boxes 31–34, occurrence span codes with from/through dates in boxes 35–36, and value codes with dollar amounts or counts in boxes 39–41. The codes come from the National Uniform Billing Committee and tell your insurer about accidents, notices, covered days and what you're expected to pay.

By the VerifyDoc team

This guide gives you a short checklist for reading those boxes, explains the codes most likely to change what you owe, and shows how to get a copy of the claim if all you have is a summary bill. The code definitions below are quoted from an earlier edition of CMS's Medicare Claims Processing Manual (Chapter 25); the current official list is kept by the National Uniform Billing Committee, which can revise a code's wording over time.

Quick AnswerThe UB-04 (CMS-1450) has room for 8 occurrence code/date pairs (form locators 31–34), 4 occurrence span codes with from/through dates (35–36), and 12 value code/amount pairs (39–41), per CMS's Medicare Claims Processing Manual, Chapter 25. Codes 01–06 flag an accident or crime, which can send your claim to another payer first. Span codes 76 and 77 mark periods you can, or can't, be charged for. Value codes A1 and A2 are the deductible and coinsurance the hospital expects your insurer to apply.

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.

No bill handy? See an example audit →
Check my bill — free preview →

What are occurrence codes and value codes on a hospital bill?

They're two-character codes the hospital puts on its claim to your insurer to report key dates and amounts that don't fit anywhere else on the form. An occurrence code pairs a code with a single date (for example, the date of an accident). An occurrence span code pairs a code with a from and through date (for example, a stretch of care you were told wasn't covered). A value code pairs a code with an amount, which is usually dollars but can be a count of days or even a birth weight.

The form itself is the UB-04. CMS's Medicare Claims Processing Manual (Pub. 100-04, Chapter 25) describes it as "a uniform institutional provider bill," also known as the CMS-1450, and most hospitals send the same data electronically in the ASC X12 837 institutional format. The manual also states that "The National Uniform Billing Committee (NUBC) maintains lists of approved coding for the form." That's why the same codes show up on Medicare, Medicaid and most commercial hospital claims.

You usually won't see these codes on the summary statement a hospital mails you. They're on the claim, which is why it's worth asking for a copy. If you're still getting oriented, our guide on how to read your itemized hospital bill line by line covers the charge lines, and our explainer on the Type of Bill code in form locator 4 covers the box at the top of the same form.

What should I check first?

Start with these six checks. Each one compares a code on the claim with something you already know about your own stay.

  1. Is there an accident code (01–06) in boxes 31–34? If you weren't in an accident, a crime or a work injury, it shouldn't be there.
  2. Does the accident date match reality? If you were hurt, check the date, and the hour if value code 45 appears.
  3. Are there notice dates (occurrence codes 31 or 32)? Match them against any written notice you actually received.
  4. Is there a span code 76 or 77 in boxes 35–36? These mark periods you may be charged for (76) or the hospital must absorb (77).
  5. Do covered and non-covered days (value codes 80 and 81) add up to your stay? Count your nights and compare.
  6. Do the deductible and coinsurance amounts (value codes A1 and A2) match your Explanation of Benefits? A mismatch is a reason to call both the plan and the hospital.

The table below lists where each kind of code lives on the form and how many the form can hold, from CMS's Chapter 25 instructions.

What it reportsForm locatorsRoom on the formPaired with
Occurrence codes31, 32, 33, 34 (lines a and b)8 codesOne date (MMDDYY)
Occurrence span codes35, 36 (lines a and b)4 codesFrom and through dates
Value codes39, 40, 41 (lines a through d)12 codesAn amount of up to nine digits

Which occurrence codes could change who pays my bill?

The accident codes matter most, because they tell your health plan another source of coverage might pay first. CMS's code list defines them this way: 01 is an accident-related injury "for which there is medical payment coverage"; 02 is an accident "where the State has applicable no-fault or liability laws"; 03 is an accident "resulting from a third party's action that may involve a civil court action"; 04 is an accident "that relates to the patient's employment"; 05 is an accident-related injury "for which there is no medical payment or third-party liability coverage"; and 06 is the date "a medical condition resulted from alleged criminal action."

A wrong accident code can stall a claim that should simply have been paid by your health plan, while it looks for an auto, liability or workers' compensation insurer that doesn't exist. Chapter 25 also tells hospitals that when occurrence codes 01–04 or 24 are used, they must include the matching value code. If you see one of these codes and you had no accident, ask the hospital's billing office to correct and resubmit the claim.

Two other occurrence codes deal with other payers directly. Code 24 is the "Date of receipt of a denial of coverage by a higher priority payer," and code 25 is the date on which coverage such as workers' compensation or no-fault "is no longer available." If those dates are wrong, the order in which insurers pay can be wrong too. Code 11, used on outpatient claims only, is the "Date that the patient first became aware of symptoms/illness."

What do the notice dates and span codes say about charges I can be billed for?

These are the codes that record whether you were warned before receiving care your insurer won't cover. Occurrence code 31 is the date the hospital notified a Medicare beneficiary that they do "not (or no longer) require inpatient care," and code 32 is "The date of the notice provided to the beneficiary" about requested diagnostic procedures or treatments. If either date appears and you never received a written notice, ask the hospital for a copy of the signed notice.

The span codes in boxes 35–36 then mark the periods themselves. Span code 76 covers "a period of non-covered care for which the provider is permitted to charge the beneficiary." Span code 77 covers "a period of care for which the provider is liable," meaning the hospital, not you, absorbs it. Code 74 marks "a period at a non-covered level of care in an otherwise covered stay," and code 72 gives the first and last visit dates in a billing period.

Put the two together. If your bill charges you for days that fall inside a 77 span, or for days with no 76 span and no notice date behind them, that's worth a written dispute. Value code 31 is the related dollar figure: CMS describes it as the amount the Medicare contractor "approved the provider charging the beneficiary" for non-covered accommodations.

Which value codes show the amounts I'm expected to pay?

Value codes A1 and A2 are the closest thing on the claim to your out-of-pocket estimate. CMS defines A1 as "The amount the provider assumes will be applied to the patient's deductible amount involving the indicated payer" and A2 as the amount "applied toward the patient's coinsurance amount." Note the word "assumes": these are the hospital's expectations. Your insurer's Explanation of Benefits is what actually decides your share, so compare the two.

The day-count codes are next. Value code 80 is "The number of days covered by the primary payer," and 81 is "Days of care not covered by the primary payer." For Medicare inpatients, code 82 counts "inpatient Medicare days occurring after the 60th day and before the 91st day" (coinsurance days), and code 83 counts lifetime reserve days. CMS explains that "each beneficiary has a lifetime reserve of 60 additional days of inpatient hospital services." If code 83 shows reserve days on a stay you think was short, ask why.

A few value codes aren't money at all. Code 01 records the hospital's "most common semi-private rate," code 45 is "The hour when the accident occurred," and code 54 is the newborn's "Actual birth weight or weight at time of admission for an extramural birth." If a newborn's charges look off, our post on newborn and maternity charges billed to the wrong member walks through the fix.

How do I get a copy of the UB-04 for my hospital stay?

Ask the hospital's billing office in writing for a copy of the claim it submitted (the UB-04 or the data from its 837 institutional claim) along with your itemized bill. Many billing offices will send it on request. If they won't, put the request in writing as a HIPAA right-of-access request under 45 CFR § 164.524.

Under 45 CFR § 164.524(b)(2), a covered entity must act on an access request no later than 30 days after receiving it. It can extend that once, by no more than 30 days, with written notice of the reason. Under § 164.524(c)(4), it can charge only a reasonable, cost-based fee limited to costs such as copying labor, supplies and postage.

Once you have the claim, run the checklist above and write down every code you question, with its box number. If the hospital corrects a code, ask it to send a corrected claim to your insurer and to hold the account while that's processed.

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.

For advocatesHelp patients fight medical bills as an advocate, financial counselor or nonprofit? We are building a case tool for you, free for design partners. Join the design-partner program →

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

Why is there an accident code on my bill when I wasn't in an accident?

Occurrence codes 01–06 are entered by the hospital's billing staff, and they can be added by mistake. They tell your insurer another payer, such as an auto, liability or workers' compensation insurer, may owe first, which can delay or deny the claim. Ask the billing office in writing to remove the code and resubmit a corrected claim. Then tell your health plan a corrected claim is coming.

Who decides what each UB-04 code means?

The National Uniform Billing Committee (NUBC) maintains the approved code lists, according to CMS's Medicare Claims Processing Manual, Chapter 25. CMS publishes the Medicare instructions for each form locator in that chapter. That's why the same occurrence and value codes are used across Medicare, Medicaid and most private insurers. Chapter 25 says the codes are available from Medicare contractors and from the NUBC's UB-04 Data Specifications Manual.

Can I be charged for days marked with occurrence span code 77?

Span code 77 marks "a period of care for which the provider is liable," so the hospital, not you, should absorb those days. Span code 76 is the opposite: it marks non-covered care the provider is permitted to charge you for. If your statement bills you for dates inside a 77 span, dispute it in writing and cite the span dates from the claim. Keep a copy of everything you send.

My value code A2 amount doesn't match my EOB. Which one is right?

Your Explanation of Benefits usually controls. CMS describes A2 as the amount the provider "assumes" will apply to your coinsurance, so it's the hospital's estimate, not the insurer's decision. If the hospital bills you more than the patient-responsibility amount on your EOB, call the billing office and point to the EOB. Ask them to rebill you once the claim has been fully processed.

This article provides general information about medical bill verification, hospital pricing, insurance claim audits, healthcare billing errors, the No Surprises Act and is not legal, medical, or financial advice. Laws and regulations change; verify current rules before acting. For complex situations, consult a licensed professional in your jurisdiction. Last reviewed: November 10, 2026.