Home / Medical forms / UB-04
UB-04 claim form OCR, service lines included
The UB-04 (CMS-1450) is the institutional claim that hospitals, clinics, nursing facilities and home health agencies send to payers. Most are printed by a billing system, which makes them good to read: the header, the codes and up to 22 service lines per page.

What can be read, form locator by form locator
The UB-04 has 81 numbered form locators. A job reads the ones you need; for filing and payment matching, patient control number, payer, statement period and total charges are usually enough.
| Form locator | What it holds | Read as |
|---|---|---|
| 1, 2 | Billing provider and pay-to name, address and phone | Printed text |
| 3a, 3b | Patient control number and medical record number | Printed text |
| 4 | Type of bill | Printed text |
| 5, 6 | Federal tax number and statement covers period | Printed text |
| 8 to 11 | Patient’s name, address, birth date and sex | Printed text |
| 12 to 17 | Admission date, hour, type and point of origin; discharge hour and status | Printed text |
| 18 to 28 | Condition codes | Printed text |
| 31 to 36 | Occurrence codes, dates and spans | Printed text |
| 39 to 41 | Value codes and amounts | Printed text |
| 42 to 48 | Service lines: revenue code, description, HCPCS or rate, service date, units, total and non-covered charges. Up to 22 lines per page | Table |
| 50, 51 | Payer name and health plan ID | Printed text |
| 56 | Billing provider NPI | Printed text |
| 58, 60, 62 | Insured’s name, unique ID and group number | Printed text |
| 67, 67A to 67Q | Principal and other diagnosis codes | Printed text |
| 69, 74 | Admitting diagnosis; principal procedure code and date | Printed text |
| 76 to 79 | Attending, operating and other providers, with NPIs | Printed text |
The service lines, read as a table
Form locators 42 to 48 hold one service line per row. They are read into one table: in a spreadsheet each line becomes its own row carrying the claim’s patient control number and claim number, and in a database the lines go to their own table, linked to the claim.
Our run used SimpleIndex with AWS Textract on made-up hospital claims. FlexiCapture reads the lines with its own engine on your server.
In a mixed batch
UB-04s rarely arrive alone. In our sample batch, 3 UB-04s came in one stack with 5 CMS-1500s and 4 EOBs. SimpleIndex told the three forms apart by their printed titles, read the patient account, claim number, payer and date of service from each UB-04, and filed every claim as its own PDF: all 12 pages right.
Which product for UB-04s
Both read the form on your own computers. The difference is how the service lines are read and how many claims you handle.
Smaller volume
SimpleIndex 12
Fits a facility or billing office filing UB-04 copies by patient and reading the header values. For the service lines it uses AWS Textract (under a BAA you sign with AWS) or an AI model, which can run on your own server.
Large volume
ABBYY FlexiCapture
Fits payers, clearinghouses and large billing services with high UB-04 volume. It reads the service lines with its own engine on your servers, lets a verification team check each claim, and can write 837I files.
Our SimpleIndex results for claims come from our own test batches of sample forms. Send us sample or masked forms and we’ll run them before you decide.
Questions
Is the UB-04 the same as the CMS-1450?
Yes. CMS-1450 is the form’s official CMS number; UB-04 is the National Uniform Billing Committee’s name for it, from when it replaced the UB-92.
Do the service lines need a cloud engine?
In SimpleIndex they are read by AWS Textract or by an AI model; the AI model can run on your own server, so nothing has to leave your network. FlexiCapture reads them itself. See HIPAA and claims OCR before choosing a cloud engine.
Can it check revenue codes and payers against our lists?
Yes. A value that isn’t on your list of revenue codes, payers or patient accounts stops on screen for a person.
Can the data go out as 837I?
With FlexiCapture, yes. See 837 EDI exports.
Send us your UB-04 volume
How many claims a month, how many service lines they usually carry, and where the data goes. We’ll answer with the setup that fits and a free quote.
Contact usor call +1 (865) 637-8986
Please don’t send real patient forms. We’ll send you sample forms to test with.