OpenEMR UB-04 institutional billing

A facility that bills for hospital or institutional services needs UB-04 claims instead of professional claims. This page covers when that applies in OpenEMR, the setup sequence, and how to test with the clearinghouse before go-live.

On this page

When OpenEMR UB-04 institutional billing applies to your facility

If your organization bills for facility services such as hospital stays, outpatient departments or other institutional care, confirm the claim type before you touch any setup. UB-04 institutional billing is the claim form for these services, and it is not interchangeable with the professional claims a clinician generates for an individual visit. The OpenEMR billing documentation and your clearinghouse define what the platform supports for institutional claims, so treat their current documentation as the starting point rather than assumptions drawn from the professional billing workflow.

In general terms, professional claims bill for the services of an individual provider, while institutional claims bill for the facility's services, such as room, ancillary and other resources used during a stay or outpatient encounter. Whether a given encounter needs a UB-04 depends on three things: the payer's rules for the claim type, the service setting (for example, inpatient, outpatient hospital or a different facility setting), and what your clearinghouse accepts for submission. Ask each payer and your clearinghouse to confirm which claim type and submission format they require for each service line before you map charges.

Make the decision a written one before build work starts. For each service setting your facility bills, record the payer requirements, the clearinghouse requirements and the person accountable for the decision, and confirm the answer against the current OpenEMR billing documentation and your clearinghouse's specifications. If any setting is unclear or split across payers, plan to test those cases separately rather than assuming they behave like the rest.

DeployOpen does not issue, certify or validate claims, and it does not represent that any payer or clearinghouse accepts a particular UB-04 output. Your billing staff, compliance lead and clearinghouse own the claim rules. DeployOpen's role, where scoped, is to help set up and test the OpenEMR side against the rules you confirm.

Which claim form and workflow fit each billing setup

This table compares four ways a team can produce facility or professional claims from OpenEMR, with the fit, payer and clearinghouse confirmations, and coding and charge capture changes for each. Read each row against your encounter documentation and payer contracts, since the right option depends on how charges are captured today.

OptionWhen it fitsWhat to confirm with payers and the clearinghouseWhat it changes for coding and charge capture
Professional claims from the fee sheetEncounters are documented in the chart and billed per provider visit, with services that payers accept on the CMS-1500 formWhich payers require professional claim format for your provider types, and that the clearinghouse accepts the claim type for each payerCharges are entered on the fee sheet at the visit, so CPT, HCPCS, ICD-10 and modifier accuracy depends on clinicians and front-desk staff capturing them at checkout
UB-04 institutional claimsThe facility bills for hospital, outpatient facility or other institutional services that payers expect on the UB-04 formWhich payers and plans require UB-04 for your facility type, the revenue codes and type of bill values each payer accepts, and the clearinghouse institutional claim formatCoding shifts toward facility-level charge capture, revenue codes and institutional rules, so coders need to review how fee sheet charges map to the claim before it is submitted
Bulk facility claim generationMany encounters were not documented in the chart at the time of service and you need to create claims for many patients at once through the Generate Hospital Claims moduleWhether each payer accepts claims generated this way, how the claims are reviewed before release, and what the clearinghouse requires for batch submissionCharge accuracy depends on the source data being reconciled against the medical record, so bulk generation adds a documentation and audit step before claims go out
Outsourced billing serviceYour team lacks the coding, billing or payer follow-up capacity to run UB-04 claims in house, or volume is unevenWho holds clearinghouse credentials, how claim data and remittance files are shared with the service, and who owns denials and appealsCharge capture rules, code sets and documentation expectations must be written down and shared with the service, and the service's coding decisions still need periodic review against your chart

How an institutional claim moves from the chart to the payer

The flow starts when encounter and charge data are captured in OpenEMR inside the client's infrastructure, then a facility claim is built and passed through a pre-transmission review step. Only after that check is the claim sent to an external clearinghouse, which relays it to the payer. Acknowledgments, rejections and remittances travel back along the same path. Confirm each label against your OpenEMR build and clearinghouse, especially which status files come back and where they post.

Institutional claim path from OpenEMR charge capture to the payer, with return files and the trust boundary.

Setting up UB-04 claims in OpenEMR, step by step

This sequence takes a facility from an unconfigured OpenEMR billing module to a small set of UB-04 test claims that billing staff have checked against the clearinghouse. Each step ends with a check so the team knows when to move on.

  1. Confirm claim types and payer requirements

    Billing leads and payer contract owners list each payer and the claim form it requires for facility services, such as UB-04 for institutional care and professional claims for physician services. Record which payers accept electronic UB-04 submissions through your clearinghouse, and which need paper or a different route. Confirm these requirements against each payer's current companion guide, not from memory. Done when every payer on your active contract list has a named claim type and a submission route in a shared table.

  2. Confirm clearinghouse UB-04 acceptance

    Ask your clearinghouse in writing whether it accepts UB-04 institutional claims electronically for each payer in the table, and which file format and version it expects. Ask how it returns acknowledgments and rejections, and whether it needs a separate trading partner or payer ID for institutional claims. Confirm the answers with a sample transmission plan rather than a verbal yes. Done when the clearinghouse has confirmed acceptance per payer in writing and the file expectations are on record.

  3. Load facility and payer identifiers

    An administrator enters the facility's billing identifiers, including the billing provider's tax ID and national provider identifier, plus the facility's address and the payer identifiers the clearinghouse gave you. Check each value against the source document, because a single wrong identifier can reject every claim for that payer. Confirm the exact screens and field names in your installed OpenEMR version before entering data, since menu paths change between releases. Done when a billing reviewer has compared each entered identifier to the source letter or contract and signed off.

  4. Build charge and code data from the fee sheet

    Billing staff load the CPT, HCPCS, ICD-10 and revenue codes the facility uses, with the fee schedule for each payer, using the fee sheet setup your team has already validated. Confirm that revenue codes and the facility-level charge lines you need for UB-04 are present, since OpenEMR's support for these must be verified in your version. Test one encounter for each common service line and check that the charges post with the expected codes and amounts. Done when a sample encounter shows every charge line in the expected code set and price.

  5. Configure billing settings for the institutional claim type

    An administrator sets the billing options that control how institutional claims are generated, including the claim type, the billing and attending provider defaults, and the claim format sent to each payer. Keep settings for institutional and professional claims separate so a facility visit does not go out on the wrong form. Record every setting you change in a configuration log with the date and the person who made the change. Done when a settings review shows institutional claims routed to UB-04 and professional claims routed elsewhere, with the log complete.

  6. Generate a sample claim and compare it to a reviewed example

    Create one test encounter for each claim scenario, such as an inpatient stay with several revenue lines and a single outpatient visit, then generate the UB-04 output. Have a billing staff member who knows the form compare each generated claim field by field to a reviewed sample, covering diagnosis codes, revenue codes, service dates, units and totals. Mark each mismatch, fix the configuration or data, and regenerate until the field-level review has no open differences. Done when every test scenario has a signed comparison with zero unexplained differences.

  7. Run test claims through the clearinghouse and review responses

    Send a small set of test claims through the clearinghouse's test environment, following the test procedure it provided. Review the acknowledgment, any rejection codes and the payer response for each claim, and log each rejection with its cause and fix. Repeat the cycle after each correction until the clearinghouse accepts every test claim for each payer on your list. Confirm before go-live that the production submission path, credentials and remittance return route are separate from the test setup. Done when each payer has at least one accepted test claim and the rejection log shows every fix that was needed.

Testing with the clearinghouse before live UB-04 claims

The purpose of this stage is to prove that OpenEMR produces a UB-04 claim the clearinghouse can parse and that the payer-facing format is correct end to end. Use test or sandbox credentials and a set of synthetic or de-identified encounters that cover the facility scenarios your billing team actually handles, such as inpatient stays with revenue codes, outpatient services and claims with secondary payers. Test data should never be real patient information unless your privacy and security controls explicitly allow it in the test environment.

  • Scenario coverage: Include at least one claim for each encounter type you intend to bill on UB-04, with revenue codes, condition codes and occurrence codes populated as they would be in production.
  • Submission file review: Keep a copy of each generated 837I file and compare the segments the clearinghouse returns against your expected values.
  • Acknowledgment files: Record which acknowledgment files come back (for example, the 999 and 277CA equivalents) and how long they take to appear.
  • Error log: Save every rejection with its reason code, the claim it applied to and the fix made in OpenEMR.
  • Sign-off: The billing lead signs off on scenario coverage, and the technical owner signs off on file structure.

Confirm with the clearinghouse which test environment you are using, whether it mirrors production payer routing, and what acknowledgment files it sends back in test.

Protecting PHI in the claim path and the clearinghouse relationship

UB-04 claims carry protected health information from OpenEMR through a clearinghouse to payers, so each hop needs a documented owner and control. The cards below cover the legal relationships, the access model inside OpenEMR, and the hardening steps that protect the billing path.

HIPAA Security Rule reaches the clearinghouse

The HIPAA Security Rule applies to covered entities, including covered health care providers and health care clearinghouses, for all electronic PHI they create, receive, maintain or transmit (45 CFR 164.302). A facility that sends UB-04 claims through a clearinghouse is responsible for the PHI in that path, and the clearinghouse carries its own obligations. Confirm which entity in your chain is the clearinghouse and which is a covered provider, because the obligations differ.

Subpart C text

Business associate contract terms

A business associate contract under 45 CFR 164.314(a)(2)(i) should require the clearinghouse to comply with the Security Rule, flow the same terms down to subcontractors that handle ePHI, and report security incidents, including breaches of unsecured PHI. Ask who the clearinghouse's subcontractors are, such as data centers or print and mail vendors, and confirm they are bound by the same terms. Have legal counsel review the agreement before the first live claim.

Section 164.314 text

Unique user IDs for billing staff

Each person who edits charges, posts payments or releases claims should sign in with a separate OpenEMR account. Shared billing logins make it impossible to tie a changed claim or a deleted line to a person. Map the billing roles in OpenEMR to the minimum access each staff member needs, and review that list when staff change roles or leave.

Audit visibility for claim changes

Confirm that OpenEMR's audit logging records who created, changed or released an institutional claim, and that the logs are kept for the period your policy requires. Test this with a sample claim before go-live: edit a charge, submit the claim and check that the log shows the user, time and action. Logs that exist but cannot be searched by claim or patient will slow down any investigation.

Encryption in transit and at rest

Claim files move between OpenEMR and the clearinghouse over the network and sit on disk in the OpenEMR host, backups and any export folders. The HIPAA technical safeguards treat encryption as an addressable implementation specification, which means you must decide whether it is reasonable and document the decision. Ask the clearinghouse which protocols it accepts and how it encrypts files it stores, and enable the OpenEMR option to encrypt items stored on drive.

HTTPS only and MFA for the OpenEMR host

The Securing OpenEMR guide says to allow only HTTPS, consider opening only port 443, and remove setup.php and other admin scripts after installation. It also recommends multi-factor authentication and strong password policies for accounts that can reach billing. Block direct web access to sites/*/documents so claim attachments cannot be fetched by URL, and restrict the upload file white list to the file types billing actually needs.

Securing OpenEMR guide

Keeping UB-04 billing configuration through OpenEMR upgrades

Billing configuration and code data need to be retested after every OpenEMR upgrade, because a version change can alter the billing and fee sheet behavior your UB-04 claims depend on. OpenEMR 8.3.0 and 8.4.0 both fixed security vulnerabilities in billing and the fee sheet, and 8.4.1 followed on September 20, 2026. Before changing billing settings, record the version you run today, identify which of those releases sit between it and your target, and read the release notes for each one. Treat the fee sheet code tables, institutional provider and payer settings, and any locally maintained revenue code or charge data as part of the upgrade scope, not as settings that carry over untouched.

Confirm the platform prerequisites before you schedule the change. Recent OpenEMR releases require PHP 8.3 or later and a MySQL- or MariaDB-compatible database, so check the PHP version on your application servers and the database engine and version on your database tier, including any clustered or managed database service. Your clearinghouse may also have its own requirements for file formats or connection methods. Ask your clearinghouse and your OpenEMR support provider to confirm that the target release is supported in your configuration, and record the answers with the change request.

Keep a non-production test environment that matches production in PHP version, database engine, and billing configuration, and maintain a regression set of UB-04 claims for every upgrade. The regression set should include claims for each facility type, each payer that uses a different submission path, claims with multiple revenue codes and line items, and at least one claim that has been rejected or corrected in the past. Generate the same claims before and after the upgrade, compare the generated files and totals, and confirm that the clearinghouse accepts the test submissions. Store the expected outputs with the change record so the next upgrade can be checked against the same baseline.

Limits to confirm in your OpenEMR environment before committing

The UB-04 path depends on three things working together: the OpenEMR version you run, the file format your clearinghouse accepts, and the payer's own rules. Each card below names one limit to verify and who can answer it, so you do not learn about a gap after claims start failing.

UB-04 output in your OpenEMR version

Confirm that the OpenEMR release you run, or plan to run, produces the institutional claim output your payers require. Ask the OpenEMR documentation and release notes which claim types and form outputs are included, then test a representative facility claim in a non-production copy. Check the release notes for billing-related changes, since the 8.3.0 and 8.4.0 releases both fixed security issues in billing and the fee sheet. Record the exact version in your test plan so later upgrades are retested.

OpenEMR releases

Clearinghouse file format and claim types

Ask your clearinghouse which electronic institutional claim format it accepts from OpenEMR, which claim types it routes, and how it handles rejections and acknowledgments. The clearinghouse answers these questions, not OpenEMR. Confirm whether it expects the institutional transaction set for every facility claim, and whether your test claims can be sent to its test environment before production. Agree the file naming, batching and resubmission rules in writing.

Facility-level charges and revenue detail

Institutional claims carry revenue codes, line-level charges and facility identifiers that professional claims do not. Confirm with your billing lead how OpenEMR captures facility-level charges, revenue detail and the facility billing address on each claim. Test a multi-line encounter with several revenue codes and verify each line reaches the claim file unchanged. Note any fields that must be entered manually, because manual entry is where facility claims most often diverge from the chart.

Payer requirements for institutional claims

Each payer sets its own rules for UB-04 claims, including required fields, billing provider identifiers, admission details and attachment handling. The payer or its published companion guide answers these questions. Obtain the payer's current requirements for each contract you bill, and map them to the fields OpenEMR populates. Confirm how a payer rejection is returned to your team, so denials can be worked from a single queue.

Professional support vendors

OpenEMR is supported by a community of volunteers and professionals, and the project keeps a list of professional support vendors on its wiki. Ask each vendor whether it has supported institutional billing setups, what it has delivered for UB-04 specifically, and who would handle a clearinghouse rejection after go-live. Confirm the vendor's availability and support terms in writing, because the wiki list does not describe them. The OpenEMR project does not vouch for individual vendors on that list.

OpenEMR home page

Separate costs without a paid edition

OpenEMR has no paid edition of the software, so the cost of a UB-04 setup comes from other sources: the clearinghouse subscription and per-transaction fees, hosting, testing, and any implementation or support work. The clearinghouse answers questions on its pricing, and the implementation partner answers questions on its scope and effort. Ask each party for a written quote tied to a defined scope, and confirm which costs recur each year and which are one-time.

Questions teams ask before setting up UB-04 billing in OpenEMR

How long does UB-04 setup in OpenEMR take?

Duration depends on how many facility types, revenue codes, payer contracts and clearinghouse connections are in scope, so no fixed timeline applies to every site. The main drivers are how clean the existing charge master and fee schedules are, how many payers need institutional claims, whether the clearinghouse account and payer enrollments are already in place, and how many test claims the billing team wants to review before go-live. Ask any provider for a timeline tied to a written scope, with the assumptions listed so you can see what would move it.

What does UB-04 setup cost, and which parts are one-time?

The cost has three components: the implementation work (configuration, data mapping, testing and documentation), the clearinghouse fees charged by your clearinghouse under its own agreement, and the internal staff time from billing and IT. OpenEMR itself is free and licensed under the GNU GPL v3.0, so there is no software license fee. Setup work is usually one-time, while clearinghouse transaction fees, hosting, backups, upgrades and support recur. Ask every quote to separate one-time items from monthly or annual items so you can compare options on the same basis.

Can our in-house team set up UB-04 billing without a partner?

Yes, if you have people who know the UB-04 form, revenue codes, condition codes and payer-specific rules, and who can administer OpenEMR and the clearinghouse. Teams without that mix often underestimate testing, which is where most rejections are found. Check whether you have someone who can map charges to the right institutional fields, someone who can run and read test submissions with the clearinghouse, and someone who will own the setup after go-live. If any of those is missing, a partner can cover that part under a fixed scope.

What do billing staff and the clearinghouse need to provide?

Billing staff need to supply the facility's revenue code mapping, rate and charge data, payer list, and the rules they apply to institutional claims, and they need to review test claims and rejection reports. The clearinghouse needs to confirm the account, submitter and receiver IDs, file formats it accepts for institutional claims, and the test or production environment you will use. Ask the clearinghouse which institutional transaction versions it supports and how it returns acknowledgments and rejections, since those answers shape the test plan.

Does the Generate Hospital Claims module change the scope?

Yes. The bulk claim generation module creates claims for many patients at once when encounters are not documented in the chart, so it adds review controls, reconciliation of generated claims against source data and a larger test set. Without it, UB-04 setup centers on claims built from documented encounters. With it, the scope must also cover how bulk claims are approved, how duplicates are prevented and how errors are traced back. Confirm the module's current behavior in your OpenEMR version before you include it in a quote, and read the related bulk generation topic on this site.

What should a UB-04 setup quote include?

A useful quote states the OpenEMR version and environment, the facility types and payers in scope, the charge and revenue code mapping work, clearinghouse connection and test cycles, the number of test claim rounds, staff training, documentation and handover, and any post-go-live support. It should name what the client must provide, what is excluded, and how change requests are priced. Ask for assumptions in writing, including what happens if payer enrollment or clearinghouse onboarding is delayed. Because DeployOpen works from a written scope, these items should appear before work starts.

When does UB-04 apply instead of professional claims?

UB-04 is the institutional claim form used by facilities such as hospitals and other licensed facilities billing for services, while professional claims use the CMS-1500 for individual providers. Your billing team should confirm with payers and the clearinghouse which form each payer requires for each service line before setup begins. Get this answer from your own contracts and payer rules, since the split varies by payer and facility type.

How DeployOpen scopes and delivers OpenEMR UB-04 billing

DeployOpen plans, configures, tests and documents UB-04 institutional billing inside the client's own OpenEMR environment, so the facility keeps control of its data and infrastructure. Engagements are fixed-scope, with the billing rules, clearinghouse testing and handover agreed in writing before build work starts.

How we scope

  • Confirm which encounters and claim types the facility must send on UB-04 versus professional claims.
  • Document the OpenEMR version, PHP and database versions, and hosting model the billing setup will run on.
  • Agree in writing which clearinghouse, payer connections and test cases are inside the fixed scope.

How we build

  • Configure facility, revenue code, fee schedule and payer data needed for institutional claim generation.
  • Set up clearinghouse connection settings and validate the outbound claim file before any live submission.
  • Test representative inpatient, outpatient and corrected claims against the clearinghouse's acceptance reports.

How we hand over

  • Deliver a configuration record covering billing settings, code tables, user roles and clearinghouse parameters.
  • Provide a test log with each scenario, expected result, actual result and the fix applied where needed.
  • Walk the billing and revenue cycle team through daily claim submission, rejections and corrections.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after handover.
  • Retest billing workflows after OpenEMR upgrades or security releases that touch billing or the fee sheet.
  • Keep documentation current so the facility's own staff can run the UB-04 process without outside help.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.