Consolidating clinics into one OpenEMR multisite install

Bringing separate OpenEMR installs for several clinics onto one multisite codebase, with a clear view of what stays separate, what carries over and when staying apart is the better choice.

On this page

Consolidating OpenEMR clinics into one multisite install: what the move involves

A practice group running separate OpenEMR installs for each clinic often wants one codebase to patch and upgrade. Consolidation is a data-separation and upgrade-simplification project, not a copy-paste of the existing sites into a shared server. Each clinic's patient records, users, configuration and documents must be moved into its own site inside one install, and the sites must be kept apart so that one clinic's staff cannot see another's data. The first decision is therefore which data must stay isolated and which settings can be shared, because that boundary determines the rest of the plan.

The effort depends on three things: how many sites are involved, how far their configurations have drifted apart, and how much data sits in each database. Drifted configuration is the main driver. Differences in forms, billing settings, appointment categories, access roles and interface allowlists each need a decision about whether to keep, merge or retire them. Data volume affects the export, the import and the verification window. Ask any partner for a written inventory of each site's version, database size, custom forms and integrations before agreeing on scope, because a quote built on that inventory is far more reliable than one built on a site count.

OpenEMR's multisite setup is covered in the deployment and hosting and upgrades groups of this section of the site, so this page focuses on planning rather than installation steps. It does not give a price. Costs depend on the written scope, the number of sites and the state of each source install, and most engagements of this kind are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Confirm your current OpenEMR version and PHP version with each clinic before planning, since the 8.x line requires PHP 8.3 or later according to the OpenEMR releases page.

What carries over to a multisite install and what must be rebuilt

This table compares what each clinic's separate OpenEMR install holds today with how the same item is handled in a multisite install, where each site has its own sites folder and database. Use it to sort your inventory into items that move with a copy, items that need a rebuild, and items you must confirm against the OpenEMR documentation for your target version before you commit.

ItemSeparate installsMultisite equivalent
DatabaseOne database per clinic, often with its own userEach site is a separate database set up under the shared codebase; confirm the database layout for your target version
Sites folder and documentsEach install's sites folder holds configuration and uploaded documentsEach site has its own sites/ subfolder; documents move with the folder and must be re-checked for permissions
Global settingsSet per install in the admin globals screensCopied per site and not shared automatically; plan a settings export and a diff for each clinic
Users and access rolesAccounts and roles live in each clinic's databaseAccounts are per site; a user who works at two clinics needs an account in each, so confirm how your target version handles shared staff
Forms, templates and custom modulesInstalled or edited per installCustom code lives in the shared codebase, so one change affects every site; rebuild and test each clinic's forms on the new base
Billing settings and fee schedulesMaintained per clinic databaseCopied per site and must be reviewed for payer IDs, fee schedules and claim settings before go-live
Interface and integration settingsLab, e-prescribing, FHIR and external endpoint settings per installEach site's endpoints, credentials and allowlists need reconfiguration and retesting; none carry over by default
SSO and LDAP settingsConfigured per installConfirm in the documentation for your target version whether identity settings are per site, and retest login for every clinic

Documented paths for moving each clinic's data into a shared install

Each clinic's data reaches a shared multisite install through a small set of documented routes, and none of them merges two complete sites on its own. The cards below cover what each route moves, what it leaves behind, and what to confirm with the vendor for your exact version before you commit to one.

Per-site database export and import

Each clinic's database is exported and imported into the database that backs the shared install, so its records land in that clinic's site. The import is a loading step, not a merge: identifiers, provider records, fee schedules and user accounts can collide with another clinic's data. Ask your vendor which tables OpenEMR expects to be site-specific for your version, and plan a reconciliation pass for duplicate users and codes before go-live.

Sites folder copy

Each clinic's sites directory holds configuration and uploaded documents that the database export does not carry. Copying it into the multisite layout is a file-level step, so ownership, permissions and the document path must match what the web server expects. Confirm the expected site directory layout for your release, and verify that the copied documents still resolve after the move.

FHIR Bulk Data as a neutral extract

The FHIR Bulk Data export produces NDJSON files at system, patient or group level, which gives you a copy of each clinic's clinical data that does not depend on the source schema. It is a read-only extract for loading into a target or for reconciliation, not a configuration transfer, and it will not carry forms, billing setup or users. Check which resource types your clinics use and whether the export covers them for your version.

FHIR README

Multisite setup steps

OpenEMR's documentation describes how to create additional sites within one installation, and that setup is the foundation every data path depends on. Read the steps for your release line before you import anything, because site creation, database layout and configuration inheritance determine where each clinic's data lands. Treat the documented steps as the baseline, and confirm each one against a staging copy.

OpenEMR releases

No automatic merge of complete sites

No supplied importer merges two complete clinic sites into one. Patient matching, duplicate provider and facility records, and conflicting codes must be resolved by people who know both clinics' workflows. Budget for that review as a separate workstream, and ask any vendor offering a merge tool to show, in writing, how it resolves duplicate patients and conflicting configuration for your version.

Vendor confirmation checklist

Before you commit to a path, confirm with OpenEMR's community or a professional support vendor which steps, table layouts and export options apply to your current version and database. Ask whether the multisite procedure has changed since your install was created, which files must be copied, and how upgrades treat each site. Record the answers so the migration plan cites what was confirmed.

How the consolidation sequence runs from inventory to decommission

The sequence moves each clinic's data and configuration onto one multisite install in controlled stages, so every cutover is verified and the old installs can be retired with a retained, restorable backup. Each stage produces a written record that the next stage depends on.

  1. Inventory each clinic's data and configuration

    Before any copying, record what each separate install holds: its OpenEMR version, PHP and database versions, installed modules, custom forms and templates, user accounts and roles, scheduling templates, billing setup, and the sites directory with its documents. Note which items are shared across clinics and which are unique to one clinic. The output is a signed inventory per clinic that lists every item to move, keep separate, or retire. Confirm with each clinic's administrator and your compliance lead that the inventory is complete before moving on.

  2. Build the multisite target and clone the shared configuration

    On the target install, create one site per clinic and clone the shared global settings, forms, templates and roles into a baseline that each site inherits or overrides. Keep site-specific items such as facility records, provider lists and clinic-level billing identifiers separate. Verify the target is running a supported release on the PHP and database versions the release notes name, and confirm the multisite setup against the OpenEMR documentation for your version. The step is done when a test login to each empty site shows the expected configuration and no clinic can see another clinic's records.

  3. Pilot one clinic on the multisite install

    Choose one clinic with a representative workload and migrate its patient, scheduling and billing data into its new site. Run a small set of scripted scenarios such as booking an appointment, creating an encounter, posting a claim and printing a superbill, and check the results against the source install. Record every defect and workaround. The pilot is complete when the scenarios pass, the defect list is closed or accepted in writing, and the clinic's staff have signed off on daily use.

  4. Run the parallel period with reconciliation

    Keep the old install for the clinic in read-only use while staff work in the new site, and reconcile records on a fixed schedule. Compare patient counts and identifiers, appointment lists for the same days, and billing totals such as charges, payments and open balances against the source. Investigate every mismatch to its cause, whether a mapping error, a timezone difference or a duplicate patient record. The step is done when a full reconciliation cycle shows no unexplained differences and the sign-off record names who approved it.

  5. Cut over each remaining clinic in turn

    For each remaining clinic, freeze writes on its source install, take a final export, load it into the clinic's site, repeat the reconciliation checks, and then point users, interfaces and printers at the multisite URL. Keep the source install intact and available for rollback until the cutover is accepted. Interface allowlists, outbound messaging such as reminders and fax, and any FHIR or lab connections need explicit retesting at each cutover. The clinic is cut over when its reconciliation passes on the live data and its interfaces are confirmed working.

  6. Decommission old installs and keep retained backups

    Once every clinic has been accepted on the multisite install, take a final full backup of each old install, including the database and the sites documents, and verify that the backup can be restored into a test environment. Store the backups under the retention and access rules your compliance program sets, then shut down the old servers and remove their public access. Confirm the retention period with your compliance and legal advisers, because the HIPAA Security Rule does not set one. The step is done when restore tests pass, the retention record is filed, and the old hosts are no longer reachable.

What stays separate per clinic and what is shared

In an OpenEMR multisite install, each clinic keeps its own database and its own sites/ folder, and those hold the parts that matter most for privacy: patient records, scanned documents, and site-level settings such as facility lists, interface configuration and access rules. The codebase, the PHP runtime and the OpenEMR version are shared. That split is the core of the design. Before you commit, confirm with your vendor or the OpenEMR multisite documentation exactly which settings live in the global configuration and which are stored per site, and map each clinic's custom forms, templates and integrations to one of those two levels.

The shared layer creates three consequences you must plan for. First, all clinics move to a new OpenEMR version at the same time, so one upgrade window now covers every clinic and a problem found at one site can hold back the rest. Second, the clinics share the same web server, PHP process pool, database server and storage capacity, so a heavy reporting job or a busy clinic can slow the others. Third, a single administrator account pool can reach every site, which makes per-site access review and audit log review a standing task rather than a one-time setup step. Ask who can switch sites, who holds global administrator rights, and how audit entries are tagged by site before you go live.

Treat the per-site boundary as something to test, not assume. Run a documented check that a user assigned to clinic A cannot open clinic B's patients, documents or reports, and confirm that backups and restores are scoped per site, since the database and sites/ data are separate for each clinic. The HIPAA Security Rule applies to all ePHI each clinic creates, receives, maintains or transmits, so each clinic's compliance lead should review the access and audit evidence for their own site, even though the platform is shared.

When one multisite install fits and when separate installs are better

A single multisite install tends to fit clinics that already operate as one organization. When the same administrators run every site, the clinics use similar scheduling, billing and clinical workflows, and one team owns upgrades and security decisions, the shared codebase reduces repeated maintenance. Each site still keeps its own database and documents, so the benefit is mainly in administration rather than in data sharing.

  • Common administrators: One team can manage users, global settings and patch timing for all sites.
  • Similar workflows: Clinics that use the same forms, fee schedules and encounter types need less per-site configuration.
  • One upgrade calendar: A single release window covers every clinic, which suits a group that wants one tested version in production.
  • One backup and monitoring owner: Consistent procedures are easier to verify when one team runs them.
  • Consistent security baseline: Password policy, MFA and web server settings can be enforced in one place.

Before committing, confirm with the administrators that they can support every site's configuration and that the clinics truly want the same version at the same time.

How clinic sites sit on one shared OpenEMR codebase

Every clinic opens the same OpenEMR code through one web and PHP layer, but each site has its own database and its own sites folder for configuration and documents. Requests are routed to a site before the application loads its data, so the boundary to check first is that routing step. Admin accounts and audit records are scoped per site, so confirm with your own test accounts that a user at one clinic cannot see another clinic's patients, settings or logs. Confirm the exact multisite behavior for your OpenEMR version with the project documentation before you design around it.

Shared code and runtime serve each clinic's separate database, sites folder and admin scope.

What usually goes wrong in a multisite consolidation and how to prevent it

Consolidating several clinics into one OpenEMR multisite install concentrates risk in a single codebase, a single database server and a single upgrade cycle. The failures below share a root cause: settings, files and permissions that were separate per clinic before the move can quietly become shared or diverge after it.

Configuration drift between clinics

Each site keeps its own global settings, forms, templates and fee schedules, so clinics that started from the same configuration gradually differ as staff make local changes. Over time, one clinic's billing or scheduling behavior no longer matches what was validated. Prevention: record a baseline export of each site's settings after cloning, keep a change log per site, and review differences between sites on a fixed schedule. Confirm with your team which settings should be identical and which are intentionally local.

Administration Globals

Patient records misfiled across sites

When several clinics share one database, a patient registered at one site can be created as a duplicate at another, and staff may open the wrong chart when names or dates of birth are similar. Records can also be attached to the wrong facility if the site selection is not enforced at registration. Prevention: define a patient matching and duplicate-check procedure before cutover, decide which records are shared across clinics, and test registration and chart lookup with staff from each site using realistic but non-patient test data.

Shared upgrades causing downtime for every clinic

A multisite install has one codebase, so an upgrade or a failed migration affects every clinic at the same moment. A clinic that cannot schedule or bill during an outage has no fallback inside the same install. Prevention: rehearse each upgrade on a copy of the full multisite database and sites folder, pick an off-hours window agreed with all clinics, and write down a rollback path before starting. Confirm the PHP and database requirements of the target release before scheduling.

Backups that miss the documents folder

The database holds structured records, but scanned documents, uploads and per-site files live under the sites directory. A backup that captures only the database can restore one clinic's data while leaving its documents missing or mismatched with the records that point to them. Prevention: back up the database and the full sites directory together with the same timestamp, record which files belong to which site, and run a restore test that checks a document opens for a patient at each clinic.

Securing OpenEMR guide

Access rights leaking across sites

Users who work at one clinic may keep access to another clinic's patients, schedules or reports if roles were copied across sites without review. Administrators who hold rights on every site can change settings for all clinics at once. Prevention: map each role to the sites it may use, remove cross-site grants during cloning, limit global administrator accounts to a named few, and review user access against a staff roster for each clinic every quarter. Enable multi-factor authentication for all administrative accounts.

What drives the effort and duration of consolidation

This table lists the factors that set the effort and duration of moving several clinic installs onto one multisite OpenEMR, with the cost type for each and what to ask for in a quote. Read it before requesting scope, because most quote differences come from these inputs rather than from the platform itself.

Driver or costWhy it changes effort or costHow to keep it down or what to ask for
Number of clinics and sitesEach clinic adds an inventory, a site build, a data migration, a user cutover and a test cycle, so effort grows with the count of sites.Ask the partner to price per site and per shared phase separately, so you can see which clinics add the most work.
Database size and historyLarger databases take longer to export, import, reconcile and verify, and years of history increase the chance of duplicate or conflicting patient records.Ask how record matching and duplicate handling are scoped, and whether historical data is in scope or archived.
Configuration divergenceClinics that have set different lists, fee schedules, forms, appointment rules or globals need decisions before a single shared configuration can be cloned.Request a configuration diff across clinics as a first deliverable, and ask who signs off each difference.
Custom forms, modules and templatesCustom code has to be reviewed against the target version and retested, and it may need changes to run cleanly in a shared codebase.Ask for a list of custom items with an owner and a decision (keep, merge or retire) for each.
Lab and clearinghouse interfacesEach interface has its own endpoints, credentials, file formats and test partners, so every one needs cutover planning and testing.Ask which interfaces will be repointed, who holds the partner test accounts, and whether a parallel send is planned.
Document volumeScanned documents and uploads are stored per site, so copying, checking file ownership and confirming access rules takes time that grows with volume.Ask for a file count and storage size per clinic, and confirm how document access is checked after the move.
Users, roles and access rulesShared staff across clinics, duplicate accounts and role conflicts need decisions about who can see which site's patient data.Ask for a user and role export per clinic and a written access model before build starts.
Parallel runs and cutover windowRunning old and new installs side by side adds reconciliation work and keeps two sets of backups and patches in service during the overlap.Ask how long parallel running is planned, who reconciles differences, and what the rollback path is for each clinic.
One-time work: inventory, build, migration, testingPaid once per project. Covers discovery, the multisite build, data moves, interface changes, user training and acceptance testing.Request fixed-scope line items with deliverables and acceptance criteria, as the written scope sets the price.
Recurring work: upgrades, backups, supportPaid over the life of the platform. A multisite install is upgraded and backed up as one system, so one failure or delayed upgrade can affect every clinic.Ask whether support and upgrades are priced per install or per instance, and how restore testing is included in the retainer.

Questions buyers ask before consolidating OpenEMR clinics

What does it cost to consolidate several OpenEMR clinics into one install?

The cost depends mostly on the work around the software, because OpenEMR is free and open source under the GNU GPL v3.0 and has no paid edition. Expect one-time project work for inventory, configuration comparison, data reconciliation, testing, cutover and training. Expect recurring costs for hosting, backups, patching and any support retainer. The main cost drivers are the number of clinics, how far their forms, templates, users and settings differ, the data volume, the number of interfaces that must be repointed and the validation your compliance team requires. DeployOpen does not publish a price list, so ask each bidder for an itemized quote tied to a written scope that lists every phase, deliverable and task the practice must complete.

How long does a multisite consolidation usually take?

Timelines follow the same drivers as cost: the number of clinics, the number of versions and hosts being merged, the condition of the existing data and the number of systems that must be retested after cutover. Timelines vary widely between projects, so treat any single figure as a claim to verify. Ask the partner to break the schedule into discovery, build, testing, cutover and stabilization, and to name the dependencies that could move each phase. Common dependencies include clinic staff availability for acceptance testing, a clinic-specific interface vendor or a change freeze your organization requires. The written scope should state the planned cutover window and the rollback point before work starts.

Can our own IT team consolidate OpenEMR clinics without a partner?

A small team with strong Linux and database skills can do this, but only if it has already completed similar work in pieces. The skills include web server administration, PHP 8.3 or later, a MySQL- or MariaDB-compatible database, OpenEMR administration and restore testing. Recent OpenEMR releases require PHP 8.3 or later, so confirm the PHP version on every current install before planning. Your team also needs a clinical owner who can approve configuration differences, a privacy or compliance lead who can review access rules and audit logs, and time for parallel running and testing. Good signs include a restore that has been tested, an upgrade rehearsed on a copy and an existing change process. If any of these are missing, a partner can fill the gaps while your staff learn the system.

Which OpenEMR settings and data stay separate for each clinic?

Confirm this in a test build before you commit, because the answer depends on the OpenEMR version and on how each clinic was originally configured. Check patient and encounter data, user accounts and roles, global settings, forms and templates, document storage, scheduling rules, billing settings and interface endpoints. The Securing OpenEMR guide refers to sites/*/documents and recommends blocking direct web access to that folder, so confirm how each site's documents are stored and protected. Build a matrix that lists every item, marks it as shared or per clinic and names the approver. Clinics that must not see each other's patients, staff or documents need that matrix reviewed by compliance before any data moves.

What must our practice provide before a consolidation project starts?

The practice supplies the facts and approvals, and no partner can supply them on the practice's behalf. Plan to provide:

  • An inventory of every OpenEMR install, with its version, PHP and database versions, host, backup method and owner.
  • Named clinical and administrative approvers for configuration differences and acceptance tests.
  • A current user list with roles, plus the rules for who may see each clinic's records.
  • A list of interfaces, labs, portals, clearinghouses and other integrations that connect to each install.
  • Downtime windows and a change freeze calendar.
  • Access to infrastructure, secrets and backups, governed by a contract. Under 45 CFR 164.314, a business associate contract must cover Security Rule compliance and incident reporting, so have counsel review it before any ePHI moves.
How does consolidation change OpenEMR upgrades?

After consolidation, all clinics share one codebase, so one upgrade plan, one test cycle and one maintenance window cover every clinic. A clinic that is slow to approve a change can no longer stay on an older version unless you keep it on a separate install. Recent 8.x releases included security fixes: 8.3.0 was released on August 18, 2026, 8.4.0 on September 13, 2026 and 8.4.1 on September 20, 2026. The 8.3.0 and 8.4.0 releases fixed vulnerabilities in FHIR APIs, the patient portal, billing, the fax and SMS module and the fee sheet. Test each clinic's custom forms, templates, interfaces and roles on a copy before production. Confirm in the release notes how multisite sites are handled at each step on your upgrade path.

How do backups and restores change after consolidating clinics?

One database and one set of file stores now hold several clinics, so a failed backup or a bad restore can affect all of them at once. Design the schedule, retention and offsite copy for the combined data. Then test restores for each clinic separately, including its documents, because a full restore is not the same as recovering one clinic's records. Ask the partner how a single-clinic restore would be performed, how long it would take and how records entered after the backup point would be handled. Keep copies of each pre-consolidation install until reconciliation is signed off. Log the restore tests so you can show an auditor that recovery has been checked.

When are separate OpenEMR installs better than one multisite install?

Keep clinics on separate installs when their data-sharing rules, ownership, regulators or change calendars cannot share one upgrade or restore path. Common cases include:

  • Clinics being sold, spun off or merged on different timelines.
  • Sites under different privacy regimes, such as HIPAA in the United States and GDPR in the EU, where access or data location rules differ.
  • Clinics that need different OpenEMR versions or custom modules that conflict with each other.
  • Clinics whose security teams require a smaller blast radius for outages and incidents.

Multisite reduces administration overhead but enlarges the impact of each failure. Weigh that against the cost of running several upgrade and backup cycles.

What the practice group provides before scoping

The practice group has to hand over a complete inventory before any honest fixed-scope proposal can be written, because a multisite consolidation is only as well defined as the list of installs it touches. Start with one row per existing OpenEMR install: the clinic or entity it serves, the hostname and web root, the database name and host, the sqlconf.php location, the sites folder contents, the OpenEMR and PHP versions, and the date of the last successful backup. Confirm the exact OpenEMR version of each install against the OpenEMR releases page, since the 8.x line requires PHP 8.3 or later and a version gap between installs changes the upgrade path before any data moves.

Next, the group should list the people and external connections that the consolidated system will depend on. That means active users per clinic with their roles and whether any account is shared, the interfaces each install uses (lab, clearinghouse, fax and SMS, patient portal, FHIR clients, and any reporting feeds), and the compliance owner for each clinic who will sign off on access and audit log decisions. Record which clinics will remain separate, whether for a different legal entity, a different state or contract, or a different risk tolerance, because that decision determines how many multisite sites and how many databases the proposal covers.

This inventory is what turns a vague request into a fixed-scope written proposal. A scope document can only name deliverables such as sites to create, configuration to clone, users to map and interfaces to re-point if those items are listed. Ask the implementation partner to state which assumptions depend on your inventory and what changes the scope, such as an unlisted interface or an install that cannot be upgraded in place. Plan for that review to happen before pricing, and confirm the final quote against the written inventory.

How DeployOpen scopes and delivers a multisite consolidation

DeployOpen plans, builds, documents and supports self-hosted open-source platforms inside the client's own infrastructure, so a consolidation of clinic installs into one OpenEMR multisite is scoped in writing before any work starts. Each step, from inventory of the existing installs to cutover and retirement of the old servers, is agreed with the clinics' owners and the team that will run the result.

How we scope

  • Inventory each clinic install's OpenEMR version, PHP version, database and sites folder before deciding what moves.
  • Agree in writing which settings are shared across sites and which stay separate for each clinic.
  • Define the cutover window, rollback path and retirement plan for each legacy install in the written scope.
  • Engagements are fixed-scope, with deliverables and timelines agreed before work starts and quoted from that scope.

How we build

  • Create the multisite layout on a test copy first, then clone configuration and access controls site by site.
  • Migrate one clinic at a time, verifying patient records, scheduling and billing data in each site after import.
  • Test the upgrade path and a restore from backup on the consolidated install before any clinic goes live.
  • Harden the shared install using the controls in the Securing OpenEMR guide, including HTTPS only and blocked direct access to document folders.

How we hand over

  • Deliver written runbooks for adding a clinic site, running an upgrade across all sites and restoring a single site.
  • Document the access model, including which administrators can see which clinic's data and how that was verified.
  • Walk your administrators through backup scope, monitoring and the steps for decommissioning the old servers.
  • Provide a record of the verification results so your compliance and security teams can review the consolidated setup.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Retainers can cover patching after OpenEMR security releases across the shared install and its sites.
  • Ask for a quote that separates one-time migration work from recurring upkeep and any retest work.
  • Confirm with your own team which reviews stay internal, such as clinic-level access approvals and audit log review.

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.