OpenMRS vs Bahmni for GDPR and EU data residency

If your organisation must show GDPR controls for patient records in the EU, both OpenMRS and Bahmni are self-hosted, so the operator carries the obligations. This page covers the GDPR angle only; the general OpenMRS vs Bahmni comparison is on its own page.

On this page

OpenMRS vs Bahmni for GDPR: which fits EU data residency

Neither OpenMRS nor Bahmni carries GDPR obligations on your organization's behalf, and neither has a vendor data processing agreement to sign. Both are self-hosted, so patient data stays wherever you run the server, and the controller duties under Regulation (EU) 2016/679 remain with your team. The choice turns on how much bundled scope your team wants to document: plain OpenMRS asks you to assess one core platform plus the modules you add, while Bahmni brings lab, billing and imaging into the same deployment. This page covers only the GDPR and EU data residency question. The general comparison of the two platforms is on its own page.

Plain OpenMRS fits when you want the smallest footprint to assess. The platform is offered as a Standalone package with an embedded database, as a WAR file for Apache Tomcat that runs against an existing MySQL database, and as the O3 Reference Application container stack. Each packaging choice changes the set of components in your data flow, so pick one deliberately and record it in your system inventory before the assessment starts. A team that already operates MySQL and Tomcat, and that wants to add its own lab or billing integrations under its own access controls, starts with fewer components to document. Confirm with OpenMRS which database and application server versions your chosen package supports, and which modules you need, before you draw the data-flow diagram an assessor will request.

Bahmni fits when one stack covering records, laboratory, billing and imaging is the goal, and you accept more components in the data flow. Bahmni combines OpenMRS with OpenERP for inventory, billing and accounting, OpenELIS for laboratory management, and DICOM and PACS. Its Lite configuration runs OpenMRS alongside a Bahmni Lab service, appointments, patient documents, reports and Crater for billing. Each of these components stores or moves patient data, so each one enters your residency mapping, your access reviews and your breach-notification scope under Article 33 and Article 34. Ask which Lite or Standard components you will enable, where each one stores data, and whether any optional profile, such as SMS, sends data outside your environment.

Where patient data sits and where it could leave the boundary

Start with clinician browsers on the organisation network, which send requests and entries to the self-hosted OpenMRS or Bahmni server. The server reads and writes the patient database in the region you choose, and that database is the main store to trace. Scheduled backup copies are the hand-off most likely to leave the boundary, so the arrow to the off-site copy is marked as a possible third-country transfer. In Bahmni Lite, the optional profiles (reports, Metabase, Crater billing, SMS, SNOMED Snowstorm Lite and Bahmni Mart) hang off the server, and each one needs its own outbound network path confirmed. Under both platforms, patient data stays wherever the operator deploys the server.

Illustrative flow showing the organisation boundary and the backup path that could leave it.

What GDPR asks of a self-hosted healthcare platform

Start by fixing the controller role, because it decides who carries most of the duties. Under Regulation (EU) 2016/679, which has applied since 25 May 2018, the controller is the body that decides why and how personal data is processed, and any processor acts on its behalf. When your team installs OpenMRS or Bahmni in your own cloud account, data center or air-gapped network, your organisation is usually the controller, so most controller obligations fall to your team. Chapter IV (Articles 24 to 43) sets those obligations out, including security of processing in Article 32 and breach notification in Articles 33 and 34. Neither project offers a vendor data processing agreement, so any hosting provider, implementer or managed service that can reach patient data is a processor you must contract with and assess.

Treat residency as a policy decision, not a rule the GDPR imposes. Chapter V (Articles 44 to 50) regulates transfers of personal data to third countries. It does not require storage inside the EU, so keeping data in the EU is usually a sector, contract or organisational choice layered on top. Confirm that position with counsel. For OpenMRS and Bahmni, patient data stays wherever you deploy the server, so the transfer question moves to where data actually travels: database and file backups, log shipping, remote administration by an implementer in another country, and any optional component you enable. Bahmni Lite's Docker Compose file includes optional profiles for Metabase, SMS and SNOMED Snowstorm Lite, and each one may hold or receive data. Map every component to a location before go-live and keep that map as the basis for your transfer assessment.

Fines make the evidence matter. Article 83 sets the maximum administrative fines. Infringements such as those under Articles 25 to 39 carry a ceiling of EUR 10 million or 2% of total worldwide annual turnover. Infringements of the principles, lawful basis, data subject rights and transfer rules carry EUR 20 million or 4%, whichever is higher in each case. National supervisory authorities enforce the GDPR under Article 51. The European Data Protection Board, established under Article 68, issues guidelines and, under Articles 65 and 70, resolves disputes between authorities through binding decisions. Identify your lead supervisory authority now, then ask counsel which processing records, access logs and security evidence for OpenMRS or Bahmni it is likely to request.

How OpenMRS and Bahmni meet GDPR as documented

This table sets out how OpenMRS and Bahmni are documented against the GDPR areas most relevant to self-hosted healthcare platforms. Both are self-hosted, so most obligations sit with the operator running the server. Treat each row as a checklist of items to confirm in each project's documentation and in your own processes.

RequirementOpenMRS as documentedBahmni as documented
Data locationSelf-hosted. Patient data stays wherever the operator runs the server.Self-hosted. Patient data stays wherever the operator deploys the server.
Processor termsNo vendor DPA is published. Confirm any contractual terms with your implementation partner or hosting provider.No DPA is published, because the project does not act as a processor. Confirm your own processor terms with any partner you use.
Security of processing (Article 32)Encryption and hardening are not detailed in the sources reviewed here. Confirm guidance in the OpenMRS documentation space.Encryption and hardening are not detailed in the sources reviewed here. Confirm guidance in the Bahmni project documentation.
Access control and audit recordsConfirm role, login and audit log coverage in the OpenMRS documentation space before relying on it.Review the Audit Logs and EMR Security and Access Control (OpenMRS) pages in the Bahmni wiki.
Breach notification (Articles 33 and 34)The project offers no breach notification service. The operator's own process applies.The project offers no breach notification service. The operator's own process applies.
Transfers (Chapter V)Depends on where the operator hosts the server and on any optional components the deployment adds.Depends on hosting location and on optional profiles, such as SMS, if they are enabled.

Who carries the GDPR duties in a self-hosted deployment

Self-hosting moves most GDPR operator duties onto the organisation that runs the servers. Neither project hosts your patient data, so the controller and processor records, security of processing and breach handling sit with you and your hosting provider. The four cards below split those duties by party and name the document that proves each one.

OpenMRS project: license and documentation

OpenMRS software is released under the MPL 2.0 with a Healthcare Disclaimer, and OpenMRS Inc., a 501(c)(3) nonprofit, provides the fiscal and legal foundation for the project. Because the software runs in your infrastructure, the project holds no patient data and offers no vendor DPA. Confirm the license terms in the repository, then record in your own processing documentation that the operator is the controller for every OpenMRS instance. No DPA exists to sign, so your own records carry the weight.

openmrs-core repository

Bahmni project: distribution and setups

Bahmni is an open-source distribution managed by the Bahmni Coalition, bundling OpenMRS with billing, laboratory and imaging components. The bahmni-docker repository provides Docker Compose setups for Bahmni Lite and Standard, but those files carry no data processing agreement, and the project publishes none because it is not a processor. Check which configuration you run, then record each bundled component as its own processing activity. Deployment files show how the stack runs, but they do not show how data is handled.

What the organisation configures

Your team carries these duties on either platform: the region where servers run, controller and processor records under Chapter IV, access rights, backups, the breach process under Articles 33 and 34, and documented data flows. Security of processing under Article 32 is judged on these settings, so write down the access and audit configuration. Confirm each setting in your own environment before an assessor asks. The records you keep are the evidence.

Access control page

Hosting provider and optional components

Your hosting provider sets its own terms, data center locations and handling of backups, logs and support access, and you must review each of these as a processor relationship under Chapter IV. Bahmni Lite can add optional components, including Metabase, Bahmni Mart, an SMS service and SNOMED Snowstorm Lite, and each one may send or store data beyond the core stack. If any provider or component sits outside the EU, the transfer rules in Chapter V apply. Get processor terms in writing and confirm where every backup lands before enabling anything optional. Each enabled component is another party to assess.

How the deployment option changes the residency work

Plain OpenMRS has the smallest set of systems, but the count depends on which packaging you choose. The O3 reference application distro and the other packaging routes each place data in different components, so the assessment starts with the route you pick. Records, audit data and backups all follow the database location, which is the main residency question in every route.

  • Standalone package: The embedded database shares a host with the application, so host disk encryption, storage location and snapshot policy become the controls to document.
  • WAR file on Tomcat: The application server and the MySQL server are separate systems, so confirm where the database, its replicas and its backups sit.
  • O3 container stack: Confirm the image registry, the host or cluster running the containers and where container logs are written, since each is a new location for identifiers.
  • Version pinning: Record the exact O3 build (3.7.1, released July 13, 2026) or Platform build (2.8.1, released October 7, 2025) you assessed, because findings are tied to a version.
  • Hosting responsibility: The project does not host your data and offers no vendor data processing agreement, so your own processing records must name every component listed above.

Before go-live, confirm in your environment where each component runs, which region it sits in and who holds administrator access to it.

Where data can leave the boundary: transfers and optional components

Residency problems usually start at the edges of the platform: optional containers, cloud services, backup targets and vendor support tunnels around the medical record. In a Bahmni Lite deployment, the Docker Compose stack includes optional profiles for Metabase, Bahmni Mart, SMS and SNOMED Snowstorm Lite, and each one runs as a separate service with its own network egress and storage. Before go-live, build a register with one row per container and one row per external path. For each row, record the network egress (destinations and ports), where the service stores data, and the vendor terms that govern any hosted component. Confirm in the docker-compose.yml file which services carry a profiles key, and disable every profile the clinic does not need. For the SMS profile, confirm where messages are routed and what the gateway retains.

Chapter V of the GDPR (Articles 44 to 50) governs transfers of personal data to third countries, and it applies to any onward transfer, not only to the primary database. A metrics dashboard that exports tables, a support engineer who connects from outside the EU or EEA, or a backup copy replicated to another region each counts as a path to examine. Bahmni is self-hosted and publishes no data processing agreement, so the analysis for every component you add falls to your organisation and to that component's vendor. Ask each vendor where its support staff and sub-processors access data from, and get the answer in writing. Where a vendor cannot confirm the location, treat the path as open until you have a documented safeguard or a decision to remove it. The full text of the regulation is available on EUR-Lex.

When the assessor asks how personal data moves, expect a data flow record that shows each path: source container, destination, storage location, the transfer mechanism relied on and the person accountable for it. The record should include the profiles you chose to leave disabled, with the reason, because a documented decision is easier to defend than an absent one. Keep the record under version control alongside the compose file used for each deployment, so the diagram matches what actually runs. Test it by capturing outbound traffic from the running stack over a defined period, comparing the captured destinations against the register, and resolving every destination you cannot explain. Repeat the inventory after each upgrade, including any move from the v1.0.0 image tag, because new or renamed services can add paths that the previous version did not have.

Evidence an assessor asks for and how each side produces it

An assessor will start with where patient records live, which systems copy them and which regions the hosting uses. OpenMRS and Bahmni are both self-hosted, so patient data stays wherever your team deploys the server, and neither project hosts it for you. The platform documentation can describe components, but the hosting region, backups and third-party services are facts only your organization can show.

  • Data flow diagram: Draw every path from users to the application server, the database, backups, reports and exports. For Bahmni, include each bundled component, since each one may keep its own store.
  • Hosting region: Record the country and provider region for production, test and disaster recovery copies. Test copies often hold identifiable patient data, so they belong in the diagram.
  • Component list: Record the exact version of each service. The bahmni-lite Compose stack runs OpenMRS, the Bahmni web and apps frontends, a Bahmni Lab service, appointments, patient documents, reports and Crater for billing, with Metabase, Bahmni Mart, SMS and Snowstorm Lite as optional profiles. Confirm which profiles are enabled.
  • Outbound services: Document any SMS gateway, terminology service or analytics tool that receives data, because each one adds a flow the assessor will ask about.

Check that the diagram matches the running environment, since assessors often compare the diagram against live configuration.

Configuring OpenMRS or Bahmni for a GDPR review

This sequence takes a self-hosted OpenMRS or Bahmni deployment from hosting decisions to an evidence set that an internal or external reviewer can examine. Each step is the organization's responsibility unless the project documentation says otherwise, and no step produces a certification. Completing them gives the review one consistent record of where patient data lives, who controls it and how it is protected.

  1. Fix the hosting region and contract terms

    Before installing anything, the organization decides which country or region will hold patient data, backups and logs, and confirms it with the cloud account owner or data center operator. Legal or privacy staff review the hosting contract for its data processing terms, sub-processors and data location commitments, because neither OpenMRS nor Bahmni provides a vendor DPA. The step is done when the region, contract clauses and named owner are recorded in the project file.

  2. Choose the deployment and record versions

    The team selects the packaging it will run and writes down each exact version. For Bahmni Lite, that is the 1.0.0 image tag, which the bahmni-docker project marks as the stable, tested version. For OpenMRS, the record names the Platform release or the O3 reference application release that was chosen, such as the O3 3.7.1 or Platform 2.8.1 listed on the OpenMRS download page at the time of review. The step is done when every container, module and image tag is pinned in configuration and listed with its source, and a second person can rebuild the same stack from the record alone.

  3. Map the data flow and disable profiles

    The team maps where patient data enters, moves and is stored, including user access, the web frontends, the database, document storage, reports, billing, SMS and any external system. In Bahmni Lite, optional profiles such as Metabase, Bahmni Mart, SMS and SNOMED Snowstorm Lite stay off unless a documented purpose covers the data they touch. Each enabled or disabled profile is recorded with its reason in the docker-compose.yml review notes. The step is done when the diagram matches the running containers and the data owner has signed off the list of disabled services.

  4. Configure roles, SSO and audit settings

    Administrators set user roles, identity provider integration (SSO) and session settings so each account receives only the clinical and administrative access it needs. The team reads the Bahmni wiki pages on EMR security and access control for OpenMRS and on audit logs, confirms what each documents for the chosen version, and records any gap. The step is done when a test user from each role is shown to see only permitted data, and an audit record is produced for a sample login, a record view and an edit.

  5. Set backup location, encryption and retention

    Backups and exports are written to the storage location chosen in the first step. Encryption at rest and in transit uses the hosting provider's key management and TLS controls, and the team confirms with the project documentation which controls belong to the project and which belong to the operator. Retention periods are set in writing and approved by the data owner. The step is done when a restore test from an encrypted backup into a separate environment succeeds and the retention schedule is on file.

  6. Write breach procedure and collect evidence

    The organization writes its breach response procedure, covering who assesses an incident and how the notification steps in Articles 33 and 34 of the GDPR are carried out. It also documents its records of processing for the deployment. The team then assembles the evidence set: the data flow diagram, version record, hosting contract clauses, role matrix, audit log samples, restore test results, retention schedule, breach procedure and processing records. The step is done when an internal reviewer outside the implementation team has checked the set and logged the findings. No step in this sequence produces an audit report, attestation or certification.

How much effort a GDPR review of OpenMRS or Bahmni takes

What drives the effort of a GDPR review for a self-hosted EMR?

The main drivers are how many components the stack runs, which optional profiles are switched on, where the servers run, and how many data flows and patient records the review must trace. For Bahmni Lite, the Docker Compose stack runs OpenMRS, the Bahmni web and apps frontends, a lab service, appointments, patient documents, reports and Crater for billing, and Metabase, Bahmni Mart, SMS and Snowstorm Lite are optional profiles. Each component that stores or moves personal data needs its own description of processing, access rules and security measures under Article 32. A single server in one location is smaller to document than a multi-site or cloud setup with backups held elsewhere. Interfaces to labs, messaging and reporting add flows to map. Before you ask for a quote, have the implementer list every component, profile, data store and external integration in writing.

Can our own team run a GDPR review without an outside partner?

Yes, if you already have infrastructure, security and privacy staff who can write down the controls, test them and keep the evidence current. The GDPR places accountability on the controller, so much of the work is documentation, configuration review and decisions that only your organization can make. Help is worth considering when nobody on the team has run a clinical record system before, when the stack spans several components and hosts, when the timeline is fixed, or when staff lack time to map data flows and test access controls. DeployOpen's part would be planning, implementation, hardening and preparing systems, controls and evidence for a compliance assessment, under a written scope. It does not issue audit reports or certifications, and independent assessors and certification bodies do. Ask which controls the firm documents and which your staff must own.

What does a GDPR review need from our organization before work starts?

Your organization has to make four kinds of decision and provide access, and a vendor cannot make those for you. Start with region: decide where the servers, backups and support access sit, since transfers to third countries fall under the rules in Chapter V (Articles 44 to 50). Next, put written contracts in place with any hosting provider, managed operator or implementation partner that can reach personal data. Name a data protection lead who signs off the data inventory, the risk decisions and the evidence pack. Finally, provide access to the environment: administrator and read access to servers, databases, logs and configuration, plus change windows so the work does not collide with clinical use. In the quote, ask which accounts the team will use, what access it needs and how changes will be recorded.

Will OpenMRS or Bahmni sign a data processing agreement?

Neither project offers a data processing agreement as documented. OpenMRS has no vendor DPA because patient data stays wherever the operator runs it, and Bahmni publishes none because the project is not a processor. That does not settle your position. Your organization usually acts as controller for data on servers it runs, but any hosting provider, managed operator, implementation partner or support vendor that can reach personal data may act as a processor and needs its own signed terms. Ask each project and each provider in writing what they will sign, which processing terms they cover, which sub-processors they use and where support access happens. Treat a verbal yes as incomplete until the terms appear in the contract.

How does choosing OpenMRS or Bahmni change the cost of a later move?

A move between the two gets larger as the stack gains components, because each one holds personal data and each needs its records, controls and tests repeated at the new location. Bahmni Lite bundles OpenMRS with a lab service, billing and optional services, so leaving it means re-documenting each of those flows, along with the core record. Plain OpenMRS has fewer components to carry across, though any modules you add bring their own flows. Confirm export formats and migration tooling with each project before you commit, and ask whether a supported export path exists. Ask your implementer to base the quote on a component inventory that lists the data stores each component writes to.

What fines can apply under Article 83 of the GDPR?

Article 83 sets two maximum fine levels, and in each case the higher of the two figures applies. For infringements such as Articles 25 to 39, which cover security of processing and breach notification, the maximum is EUR 10 million or 2% of total worldwide annual turnover. For infringements of the core principles, lawful basis, data subject rights and transfer rules, the maximum is EUR 20 million or 4%. These figures are upper limits, and the amount in any case depends on its facts. Independent national supervisory authorities enforce the GDPR, and the European Data Protection Board resolves disputes between them through binding decisions. Read the article text in EUR-Lex before you brief your board.

What should a written quote for this work include?

Ask for a written scope that lists each component, optional profile, hosting location, data store and external integration, with deliverables and timeline agreed before work starts. Most DeployOpen engagements are fixed-scope, and the company does not publish a price list, so a quote follows from that written scope. Ask the quote to separate one-time work, such as planning, configuration, hardening, documentation and evidence preparation, from recurring items such as support, upgrades and continuous testing, which are available as retainers. Also ask which artifacts you receive at handover, who on your side must sign each one, and what the team assumes about access and change windows. If a figure depends on an assumption, ask the quote to state that assumption.

How DeployOpen prepares GDPR evidence for either platform

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside the client's own infrastructure, so the data location stays the client's decision. For OpenMRS and Bahmni, we prepare the controls and records a GDPR assessment will ask for, then document what the organization still has to run itself. DeployOpen does not issue audit reports or certifications; independent auditors and certification bodies do.

How we scope

  • The written scope names which OpenMRS or Bahmni components, hosting locations and data flows are in the review.
  • The scope maps where patient data is stored, backed up and accessed, including optional Bahmni services.
  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts; ongoing support is a retainer.

How we build

  • Configure access control, audit logging and SSO where each platform supports them, and confirm gaps before build.
  • Harden the host, database and backup layers in the client's cloud account, data center or air-gapped network.
  • Test the deployment, including security of processing under Article 32, and fix findings before handover.

How we hand over

  • Written documentation of the architecture, data locations, data flows and configuration for the assessor's review.
  • A runbook covering breach notification duties in Articles 33 and 34, agreed with the client's privacy lead.
  • A list of controller tasks that stay with the organization, such as lawful basis and transfer decisions.

How we support

  • Retainers can cover upgrades, backups, continuous testing and documentation updates after handover.
  • Ask which OpenMRS line (2.x Platform or 3.x O3) each upgrade plan targets before scoping.
  • Re-test after material changes, such as a new Bahmni image tag, a new host or a new data location.

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.