Objective. Students will complete UB-04 claim forms for inpatient and outpatient hospital scenarios, correctly applying revenue codes, condition codes, and occurrence codes as required.
This lesson, its worked examples and its practice questions has not yet been verified by a licensed clinician in the field or by a certification or approval body. It is a study draft and may contain errors. Do not use it to make decisions about any patient or medication. Always follow your instructor, your supervising professional, and current official references and regulations.
VoTechWorks program approval and accreditation are still in progress. Credentials are issued only by the certifying bodies named in each program, after their own exams.
The UB-04 (also called the CMS-1450) is the standard paper claim form used by institutional providers—hospitals, skilled nursing facilities, hospices, and outpatient clinics—to bill government payers such as Medicare and Medicaid, as well as most commercial insurers. Unlike the CMS-1500 used by physicians and other professional billers, the UB-04 is designed to capture facility charges across an entire episode of care, organizing services by revenue categories rather than individual procedure lines.
Understanding the UB-04 is essential for anyone working in a hospital billing office, and accuracy on this form directly affects reimbursement, compliance, and—most importantly—patient safety and the integrity of the health record.
The UB-04 is maintained by the National Uniform Billing Committee (NUBC). The official reference for all data elements, valid codes, and field definitions is the NUBC Official UB-04 Data Specifications Manual. Always use the current edition of this manual when making coding or billing decisions, because codes and requirements are updated regularly.
The form contains more than 80 data fields, called form locators (FLs). Each FL has a specific number and purpose. For example, FL 4 captures the Type of Bill (TOB) code, and FLs 42–49 make up the revenue code detail lines.
The TOB is a four-digit code entered in FL 4. It communicates three things to the payer:
1. Facility type — what kind of institution is billing (e.g., hospital, skilled nursing facility, hospice).
2. Care classification — whether the service is inpatient, outpatient, or another category.
3. Frequency code — whether this is an original claim, a replacement, or a void.
For example, a TOB beginning with "011" indicates a hospital inpatient claim, while "013" indicates an outpatient hospital claim. Getting the TOB wrong can cause the entire claim to be rejected or processed under incorrect reimbursement rules, so verify this code against the current NUBC manual for every claim.
Revenue codes are three- or four-digit codes entered in FL 42. They classify the type of service or accommodation being billed—such as room and board, pharmacy, medical-surgical supplies, laboratory, or radiology. Every service line on the UB-04 must have a valid revenue code.
Revenue codes are assigned by the NUBC and must correspond logically to the services described. Entering a revenue code that does not match the actual service provided is a billing error that can constitute a compliance violation. Accuracy here protects both the patient and the facility.
Condition codes are two-character alphanumeric codes that communicate special circumstances affecting billing or claims processing—for example, whether the patient is covered by another insurance, whether an accident was involved, or whether a patient refused Medicare benefits. Up to eleven condition codes can be entered on a single claim. Selecting the wrong condition code—or omitting a required one—can delay payment or trigger a compliance audit.
Occurrence codes identify specific events related to the claim, paired with the date on which the event occurred. Common examples include the date an accident happened, the date a patient was last seen before an admission, or the date Medicare benefits were exhausted. These codes and dates are critical for coordinating benefits with other payers and for establishing medical necessity timelines.
Value codes report monetary amounts or units related to the claim—such as the number of covered days, the patient's deductible amount, or a payer-specific financial figure. These fields feed directly into payer payment calculations, so errors here can result in incorrect patient billing or underpayment.
On an inpatient UB-04, you will typically see room and board revenue codes, a longer span of service dates, and an ICD-10-CM principal diagnosis with additional diagnoses and ICD-10-PCS procedure codes. On an outpatient UB-04, services are usually itemized by individual visit or department, CPT/HCPCS codes may appear alongside revenue codes (FL 44), and the service dates often cover a single day. The TOB code and the revenue codes used will differ between these two scenarios.
Errors on institutional claims are not simply administrative inconveniences. An incorrect diagnosis code on a UB-04 can affect a patient's insurance history, future coverage decisions, and the clinical record used by future providers. Upcoding (billing for a higher-paying service than was provided) and undercoding (failing to report services that were provided) both carry serious legal and ethical consequences under federal fraud and abuse laws. Always code from documentation—never add codes to increase reimbursement or omit codes to avoid scrutiny. When the documentation is unclear, query the appropriate clinical or HIM staff rather than guessing.
When filling out a UB-04:
Developing a consistent, methodical workflow now will serve you throughout your career in institutional billing.
Answer each question, then check it. Nothing is recorded; this is your own practice.
A free tech program — complimentary, as our commitment to get America working. Help us build VoTechWorks. Tell us what works, what doesn’t, and what you want to learn.