UB-04 condition, occurrence and value codes
UB-04 condition, occurrence, and value codes are required data elements on the institutional claim form that describe special billing conditions, key dates, and dollar or quantity values that affect how a payer adjudicates a claim. These codes drive coverage, pricing, and edits for inpatient, residential, PHP, IOP, and other facility-level behavioral health services.
What it means
What condition, occurrence, and value codes are on the UB-04
On the UB-04, condition, occurrence, and value codes are structured fields that give payers extra context about a facility claim.
- Condition codes (Form Locators 18-28) describe special conditions that apply to the stay or the entire claim, such as noncovered days, lifetime reserve, partial hospitalization, or same day transfer.
- Occurrence codes and dates (Form Locators 31-34) capture important dates, such as accident dates, benefit period start, or the date active treatment started.
- Value codes and amounts (Form Locators 39-41) report dollar amounts or units tied to the stay, such as patient liability, Medicare blood deductible, or noncovered days.
For behavioral health facilities, these codes are the language payers use to understand complex episodes: long residential stays, partial hospitalization program (PHP), intensive outpatient program (IOP), and room-and-board carve-outs.
Why these codes matter operationally
Condition, occurrence, and value codes are not optional details. Payers use them to decide if a claim is covered, which benefit to hit, and how many days or dollars to pay.
If these codes are missing or wrong, you see:
- Front-end rejections and edits that keep claims from hitting adjudication at all.
- Payment reductions when the payer reads some days as noncovered or counts them against a different benefit.
- Denials tied to policy when the payer thinks the stay is past benefit limits or outside the covered episode.
For a 30-day residential SUD stay or a 6-week PHP, a single missed value code for noncovered days or patient-liability days can shift thousands of dollars into patient responsibility or write-off. Incorrect occurrence dates can push claims into the wrong benefit period and create avoidable CO-16 or CO-197 denials that your team has to rework.
How these codes are used and read in practice
In your billing workflow, condition, occurrence, and value codes are typically:
- Picked by your billing system from prebuilt tables tied to payer, program, and revenue code.
- Populated by billers who read the clinical record, authorization, and payer policy.
- Validated by claim-scrubbing tools that check for missing or incompatible code combinations.
On the payer side, automated edits look for specific patterns. For example, some Medicaid MCOs require certain condition codes for PHP or IOP to apply the correct per-diem rate. Medicare and many commercial plans look at occurrence codes to know when active treatment started, which can affect medical-necessity and benefit-period logic. Value codes are used to carve out noncovered days or patient-liability days, then compare the remaining covered days to the authorized span.
RCM leaders should review denial trends and remits to see when missing or wrong codes are driving CO-16, CO-22, and CO-96 denials. Tight coordination among UR, clinical documentation, and billing is critical, since these codes sit at the intersection of clinical facts, authorization terms, and payer rules.
Common mistakes
- Leaving condition codes blank for PHP/IOP claims where the Medicaid MCO expects specific program-related condition codes, which results in underpayment on per-diem residential and day-treatment services until corrected UB-04s are submitted.
- Using occurrence codes with the wrong date, such as reporting the program admission date instead of the date active treatment started, which can cause payers to deny the first few days of a residential stay as not medically necessary or outside the approved episode.
- Failing to report value codes for noncovered days during a residential stay (for example, family-initiated hold days), so the payer either denies the entire span or pushes those days to patient responsibility, increasing CO-96 and PR-1 denials and patient-collection risk.
- Copying condition and occurrence codes from a prior claim when overlapping benefit periods change, which triggers coordination-of-benefits or duplicate-claim edits like CO-22 or CO-18 because the payer sees conflicting episode information.
- Ignoring remit-level hints that a payer is expecting a specific condition or value code, then repeatedly resubmitting without that code, which inflates avoidable CO-16 and CO-197 denials and adds weeks to cash for long-stay residential programs.
Why it matters in behavioral health
Behavioral health facilities lean heavily on UB-04 condition, occurrence, and value codes because episodes are long, benefits are often carved out, and authorization rules shift mid-stay.
With carve-out behavioral health vendors or state Medicaid MCOs, specific condition codes may be required to flag a claim as behavioral health and route it to the right benefit. If those codes are missing, the claim can hit the medical benefit and deny for noncoverage or incorrect place of service.
For long per-diem residential, PHP, and IOP episodes, occurrence codes help define the active treatment period while value codes segment covered versus noncovered days. UR teams often negotiate partial coverage when criteria are not fully met; if billing does not translate that negotiated span into the right occurrence codes and value codes, the payer system may deny all days after the first concurrent review, or miscalculate the number of payable days.
State Medicaid and block-grant funded SUD programs often tie payment to specific condition and occurrence code combinations that reflect level of care, withdrawal management status, or step-down transitions. Getting these wrong can trigger level-of-care or benefit-exhaustion denials, especially during step-down from withdrawal management to residential to IOP. Tight linkage between ASAM-based level-of-care decisions, authorization spans, and the UB-04 code fields is key for predictable reimbursement.
How AI can help with UB-04 condition, occurrence and value codes
AI agents can help by reading clinical notes, authorizations, and historical payer behavior, then suggesting the correct UB-04 condition, occurrence, and value codes before the claim goes out. The agent can cross-check codes against payer-specific rules and prior denials, flag when a long-stay residential claim is missing required noncovered-day value codes, and push those back to the biller for review instead of letting them hit the clearinghouse.
Supabill's claims-scrubbing agent can hold payer rules and historical denial patterns in context, identify when a particular Medicaid MCO always denies PHP claims that lack certain program-related condition codes, and surface that pattern so your team updates templates at the payer/program level. A human still owns judgment on edge cases like unusual step-down paths, partial coverage agreements from peer-to-peer reviews, and policy interpretation when a payer updates its UB-04 coding rules without clear notice.
FAQ
Where do condition, occurrence, and value codes appear on the UB-04?
Condition codes are in Form Locators 18-28, occurrence codes and dates are in 31-34, and value codes with associated amounts are in 39-41. Clearinghouses and practice-management systems usually label these fields explicitly for data entry.
Are condition, occurrence, and value codes required for every behavioral health claim?
Not every claim needs all three types, but many payers require certain codes based on service type, level of care, and benefit rules. For PHP, IOP, and residential treatment, it is common for Medicaid and commercial plans to expect specific combinations, so you should treat them as required unless your payer guidelines say otherwise.
How do I know which UB-04 codes a specific payer requires?
Check the payer's institutional billing guidelines and any behavioral health or facility-specific manuals, and compare them with your state Medicaid provider manuals when applicable. Reviewing denial trends on remittance advice can also reveal missing or incorrect codes that the payer expects.
Can wrong occurrence or value codes cause medical-necessity denials?
Yes. If occurrence dates do not match the documented start of active treatment or the authorized span, payers may deny days as not medically necessary or outside the covered episode. Value codes that mislabel noncovered days can also trigger denials or shift more charges to patient responsibility.
Do I need to correct and resubmit the UB-04 if I missed a value code for noncovered days?
Usually yes. If the omission affected how many days were paid or how liability was assigned, you will need to submit a corrected claim with the proper value code and amount. Follow the payer's corrected-claim process and timely filing rules when doing so.
Related terms
UB-04 Claim Form (CMS-1450) is the standard institutional claim form that hospitals and facilities use to bill payers for services, including behavioral-health programs like residential, PHP, and IOP. The paper UB-04 mirrors the electronic 837I claim and captures facility, revenue code, per-diem, and stay-level details that are not on a CMS-1500.
Authorization span and units refer to the approved date range and quantity of services (days, visits, hours, or units) that a payer has authorized for a specific level of care or service. Authorization span controls when care is covered, and authorized units control how much care is covered before new approval is required.
Revenue Code is a 3 or 4 digit code on institutional claims that identifies the type of accommodation, department, or service line that provided care. Revenue Code groups charges on UB-04 and 837I claims and drives how facility services are priced and paid.
A claim edit is an automated rule that checks claim data for errors, missing elements, or policy conflicts before or during payer adjudication. Claim edits fire as warnings or hard stops and must be resolved for a claim to pay correctly.
Related denial codes
Claim lacks information or has a submission error
Exact duplicate claim or service
May be covered by another payer per coordination of benefits
Non-covered charges
Precertification, authorization, or notification absent
