Blog

    How to Build a Multi-Location EHR

    By GauravNovember 26, 20268 mins read
    On this page

    A practice group with one clinic can run its EHR around one front desk, one schedule and one billing setup. Add a second or fifth location and every one of those assumptions breaks.

    This post covers what changes when an EHR has to serve several locations: how the chart stays shared, how access stays scoped, and what each site still needs of its own. It is written for groups planning a custom build or extending a product they already own.

    What does it take to build a multi-location EHR?

    Connecting several sites to one record?

    Our EHR integration services cover the interfaces, identity and data flows behind a shared chart.

    Building a multi-location EHR means one patient chart that every site can reach, with access, scheduling, billing and reporting scoped to the location where care happens. Agnotic Technologies models location as a first-class part of the record, instead of copying a single-site design once per clinic.

    The core decision is simple to state: the patient belongs to the organization, and the visit belongs to a site.

    Which parts are shared and which belong to a site?

    Draw this line before writing code. Most later arguments come from data that sits on the wrong side of it.

    • Shared across sites: demographics, allergies, problems, medications, results and signed notes.
    • Owned by a site: schedules, rooms, devices, supply lists and front desk queues.
    • Owned by a visit: the location, rendering clinician, charges and the note in progress.
    • Configured per site: hours, templates, local forms and default printers.

    How should permissions work across locations?

    Permissions should combine role and location. A front desk user at one site rarely needs another site's schedule, while a covering physician may need charts from all of them.

    The HIPAA Privacy Rule's minimum necessary standard requires covered entities to limit uses and disclosures of protected health information to the minimum needed for the purpose.

    • Role plus site: grant access by role and list the sites each user works at.
    • Break-glass: allow emergency access outside a user's sites, require a reason and review it.
    • Shared clinicians: let one user switch site context without logging out, and stamp every action with the active site.

    What does a shared patient change?

    When one patient visits two locations, both sites update the same chart. That is the point of a single record, and it is also where duplicate patients start.

    Run one registration search across all sites before creating a patient, and send near matches to one review queue. A patient created twice at two front desks becomes two charts that nobody reconciles.

    How do scheduling and billing differ by site?

    Scheduling is local, but referrals and follow-ups cross sites. Billing must carry the right identifiers for the place of service.

    HIPAA requires covered health care providers to obtain a National Provider Identifier (NPI) and use it on standard transactions, such as claims, wherever a provider identifier is required.

    • Scheduling: per-site calendars, with a group view for patients who can go to any site.
    • Place of service: stamp each visit with the location so charges and claims carry it.
    • Identifiers: keep the billing and rendering provider identifiers per site in configuration, not in code.
    • Reporting: every report can filter by site and roll up to the group.

    Single database or one per site?

    For a group under one owner, a single database with a location column on every site-owned table is usually simpler. One database per site makes the shared chart a sync problem.

    Separate databases make sense when locations belong to different legal entities that must not see each other's data. Then you are building a multi-tenant product, which our multi-tenant architecture post covers.

    How do interfaces change with more sites?

    Every outside system now has to know which site an order came from and where a result should go. Interfaces built for one clinic usually assume a single location and a single inbox.

    • Orders: send the ordering site with each lab or imaging order, so the performing lab routes the result back correctly.
    • Results: route incoming results to the ordering site's inbox and the ordering clinician, not a shared queue for the whole group.
    • Admissions and visits: carry the location in every visit message, using codes from one shared location list.
    • Devices and printers: map them per site in configuration, so a label never prints in the wrong building.

    Keep one interface per outside partner where you can, with routing rules by site, rather than cloning a whole interface for each location. Clones drift apart, and each fix has to be made several times.

    How do you add a new location step by step?

    Treat each new site as a repeatable release, with a checklist that gets shorter every time.

    • Step 1, configure: create the location record, hours, rooms, providers, billing identifiers and printers.
    • Step 2, connect: add the site to interface routing rules and test an order and a result end to end.
    • Step 3, grant access: assign users to the new site by role, and check that existing users at other sites do not gain access they should not have.
    • Step 4, load data: bring in appointments already booked and any patients new to the group, through the shared registration search.
    • Step 5, rehearse: run a mock clinic day with staff, from check-in to checkout and claim.
    • Step 6, go live and review: watch the first weeks closely and list every manual fix for the next site's checklist.

    How should the screen show the active site?

    Show the active site on every screen, in the same place, in a way a busy user cannot miss. Most wrong-site bookings and misrouted orders happen because a user forgot which location they had switched to.

    • Header: the site name and a colour or badge in the top bar, never only inside a menu.
    • Switching: a deliberate switch action with a confirmation, not a silent change when the user opens a chart from another site.
    • Session start: ask a user who works at several sites to pick one at sign-in, instead of reusing yesterday's choice.
    • Printed output: put the site on labels, prescriptions and visit summaries, so paper never travels to the wrong building.

    How do you test access across sites?

    Test it with real role and site combinations, written as automated cases. A permission bug in a multi-location EHR usually lets someone see too much, and nobody reports it.

    • Build a matrix of roles against sites, and list for each cell which schedules, inboxes and reports the user should see.
    • Sign in as each test user and confirm both what appears and what must not appear, including search results and report totals.
    • Check break-glass: the reason prompt appears, the access is logged and the review report shows it the next day.
    • Repeat the matrix after every new site, because a missing site assignment can widen access by default.

    What happens when a site closes or two sites merge?

    Plan for it from the start by never deleting a location record. Mark it inactive, keep it on past visits and claims, and stop it appearing in schedules and new orders.

    For a merge, move future appointments, open orders and inbox items to the surviving site with a logged batch job, and leave history where it was. Reports then still match what was billed under each site at the time.

    How should reporting work across sites?

    Reports should answer two kinds of question: how is each site doing, and how is the group doing. Build both from the same data, with location as a standard filter, so the site numbers always add up to the group number.

    Agree on shared definitions first. If one site counts a no-show differently from another, the comparison is meaningless, and the first group dashboard will start an argument instead of a decision.

    Mistakes we see in multi-location builds

    • Site as a text field: free-typed location names that reporting cannot group.
    • Copied templates: each site edits its own copy of a note template until the chart reads like five products.
    • Hidden defaults: a user's last site saved silently, so the next visit is booked at the wrong clinic.
    • Late interfaces: lab and imaging interfaces built for one site, then cloned per site with different mappings.

    What are best practices for a multi-location EHR?

    Keep one chart, make site context visible on every screen, and put every site difference in configuration. Add a new location in a test environment first and list everything you had to change by hand. Each manual step is a configuration gap to close before the next site.

    How Agnotic can help

    Agnotic designs and builds EHR features for groups that are adding sites, including the location model, permissions, registration search and site-aware interfaces. We start by mapping which data is shared, site-owned and visit-owned in your current system.

    Plan a multi-location EHR with Agnotic

    We design the location model and the access rules before the next site goes live.

    Sources

    Frequently Asked Questions

    It is an EHR where one patient chart serves several sites, while access, scheduling, billing and reporting are scoped to the location where each visit happens.

    Talk to an engineer about your project

    Tell us how many sites you run and how they share patients. We will map the location model.