OpenMRS vs Bahmni for HIPAA: which side fits your scope
Neither OpenMRS nor Bahmni has a vendor business associate agreement for the software, so the organization or implementer running it carries the HIPAA obligations for the electronic protected health information it hosts. For a covered entity or business associate choosing between them, the fit turns on how much patient data and how many components must be assessed, configured and evidenced against the Security Rule in 45 CFR Part 164 Subpart C. Start by listing every system that creates, stores, transmits or displays ePHI, including the medical record, any laboratory, billing or imaging service, the database, backups and the logs. That list is your assessment boundary, and it decides how much work sits on your side of the contract. The Security Rule reaches covered entities and business associates alike (45 CFR 164.302), so a business associate hosting for clients faces the same question.
OpenMRS is licensed under the MPL 2.0 with Healthcare Disclaimer, and the openmrs-core repository links a SECURITY.md policy that explains how to report vulnerabilities. That policy helps your vulnerability handling, but it describes the project only, not your deployment. Your boundary is the platform, the modules you add, the database and the web tier you put in front of it. Bahmni is a wider boundary. It bundles OpenMRS with billing, inventory, laboratory and DICOM and PACS components, so each one needs its own access review, encryption check, backup and audit trail. Bahmni's wiki says user roles are additive OpenMRS roles and that a login user needs at minimum the Bahmni-User role, so role design has to be tested across both layers. Begin with the EMR Security and Access Control page and compare it with what your deployment actually does.
Before you choose, run three checks. First, map each component that touches ePHI to the safeguards in Appendix A to Subpart C, which lists 18 standards across administrative, physical and technical safeguards with 36 implementation specifications: 14 required and 22 addressable. Second, for every addressable specification, record whether it is reasonable and appropriate for your environment and, if it is not, the equivalent measure you put in place (45 CFR 164.306(d)). Third, confirm which Bahmni configuration you are testing, because the bahmni-docker repository offers Bahmni Lite and Bahmni Standard as separate setups and the boundary changes with the one you pick. This page covers the HIPAA angle only; the general OpenMRS vs Bahmni comparison has its own page. DeployOpen prepares systems, controls and evidence for assessments but does not certify them, and that judgment stays with independent assessors and certification bodies.
When OpenMRS fits a HIPAA scope and when Bahmni does
Neither platform comes with a vendor BAA, so the organization or implementer that runs the system carries the HIPAA obligations for both. The four cards separate scope decisions, where the choice depends on which systems the assessment must cover, from evidence decisions, where the platform is settled and the open question is proof. Use them to place your team before you read the detail.
OpenMRS for a narrower record core
Choose OpenMRS when the team wants a narrower record core that it assembles, configures and documents itself. The assessed boundary stays small: the patient record, the modules you add and the access model you configure. The cost is that your team owns every component decision, along with the documentation an assessor will read. Before committing, check that your in-house or implementer skills cover the safeguard documentation that HIPAA requires for the system.
OpenMRS documentationBahmni when the bundle is in scope
Choose Bahmni when lab, billing and imaging data also need to be in the assessment and a bundled stack is preferred. Bahmni combines OpenMRS with OpenERP for inventory, billing and accounting, OpenELIS for laboratory management, and DICOM and PACS, so every bundled system enters your HIPAA boundary. Confirm which components the configuration you deploy actually runs, since the Lite and Standard setups are not necessarily identical in scope.
Either platform, when evidence decides
Choose either when the team already runs one side well and the open question is evidence. The evidence sits with your organization, because the Security Rule's Appendix A lists 18 standards and 36 implementation specifications, and any addressable item you do not adopt needs a documented reason and an alternative measure. Map each of these to your configuration, access reviews, audit logs and backup records before you decide the platform question.
Appendix A textPause when a control is undocumented
Pause when a control the assessor needs is not yet documented by the project, and confirm it in writing first with the project or your implementer. Bahmni's wiki, for example, describes user roles as additive OpenMRS roles and requires at least the Bahmni-User role for a login user, which you should test against your own access model. Ask for written statements on audit logging, encryption and retention before you rely on any of them in an assessment.
Bahmni access controlWhat the HIPAA Security Rule asks of a self-hosted record platform
The HIPAA Security Rule sets the obligations that a self-hosted record platform must support, and it binds covered entities and business associates for electronic protected health information. It is codified at 45 CFR Part 164 Subpart C, sections 164.302 to 164.318, and the eCFR text of Subpart C is the version to cite in a review. Appendix A lists 18 standards across administrative safeguards (164.308), physical safeguards (164.310) and technical safeguards (164.312), with 36 implementation specifications: 14 required and 22 addressable. Sections 164.314 and 164.316 add organizational and documentation standards, which cover the written policies, business associate terms and retention records that an assessor will request.
Most of the configuration decisions in an OpenMRS or Bahmni deployment fall under addressable specifications, so the addressable rule shapes the work. Under 164.306(d), the organization must assess whether each addressable specification is reasonable and appropriate for its setting. If it is not, the organization must document why and implement an equivalent alternative measure where that is reasonable. Two examples to assess on either platform are automatic logoff for inactive workstations and the encryption of data at rest on the database host. Neither project's documentation makes these decisions for the operator, and OpenMRS and Bahmni both carry no vendor BAA, so the written assessment for each addressable item becomes the evidence the reviewer asks to see.
The rule names no product, so the software choice changes the evidence the organization must produce. The obligation itself stays the same for both platforms. For OpenMRS, the evidence centers on the deployment the organization builds around the core, including the Tomcat WAR or Docker stack, the MySQL or embedded database and the roles assigned to each staff group. For Bahmni, the Bahmni wiki states that user roles are additive OpenMRS roles and that a login user needs at least the Bahmni-User role, so the access matrix must be reviewed across every bundled component. Confirm with each project which audit logging features the version you deploy provides, and test them in your environment before you rely on them in a review.
How OpenMRS and Bahmni meet HIPAA safeguards as documented
This table sets out how OpenMRS and Bahmni line up with the HIPAA Security Rule safeguards a self-hosted deployment touches, using only what each project documents. Neither platform comes with a vendor business associate agreement or an attestation report, so the table shows where your organization or its implementer must supply the evidence. Read each row as a question to confirm against the version you deploy.
| Requirement | OpenMRS as documented | Bahmni as documented |
|---|---|---|
| Business associate agreement | No vendor BAA for the software. The implementer or operator carries HIPAA obligations. | No vendor BAA for the software. The operator carries HIPAA obligations for the patient data it hosts. |
| Vendor attestations | No SOC 2 or similar report supplied. Ask the OpenMRS project and any implementer for written evidence. | No SOC 2 or similar report supplied. Ask the Bahmni Coalition and any implementer for written evidence. |
| Audit logging | Confirm what audit logging the OpenMRS documentation describes for your version. | See the Bahmni Wiki Audit Logs page. Confirm what it records in the version you deploy. |
| Access control | Confirm role and privilege setup for your version in the OpenMRS documentation. | User roles are additive OpenMRS roles. A login user needs at minimum the Bahmni-User role. |
| Encryption | Not documented in this comparison. Confirm encryption at rest and in transit for your deployment. | Not documented in this comparison. Confirm encryption at rest and in transit, including the database and backups. |
| Data location and hosting | Self-hosted. Data sits wherever your organization deploys the platform. | Self-hosted. Data sits wherever your organization deploys the stack. |
| Security reporting and policy | The openmrs-core README links a SECURITY.md policy. Confirm the reporting route before you rely on it. | Confirm the security policy and vulnerability reporting route with the Bahmni Coalition. |
| Licensing and support | MPL 2.0 with Healthcare Disclaimer. Support comes from the community and implementer organizations. | Confirm the license in the Bahmni repositories. Confirm the support route with the Bahmni Coalition or your implementer. |
Why bundled components widen the Bahmni HIPAA scope
Bahmni widens the HIPAA scope from the first install, because the product ships several systems that store or move patient data. Its own description names OpenMRS for medical records, OpenERP for inventory, billing and accounting, OpenELIS for laboratory management, and DICOM and PACS for imaging. Every component that stores or moves patient data goes into the risk analysis under the administrative safeguards in 45 CFR 164.308, into the access review, and into the backup plan. The Bahmni Lite Docker Compose stack adds more services: the Bahmni web and apps frontends, a Bahmni Lab service, appointments, patient documents, reports, and Crater for billing. Ask your team to map each running service to the data it touches before anyone signs off the scope.
The optional profiles are where scope tends to grow without a formal decision. Metabase, Bahmni Mart, SMS and SNOMED Snowstorm Lite each switch on a separate data flow, so each needs its own entry in your data inventory before it runs against live records. For every profile, confirm which database or interface it reads from, who holds accounts on it, where its logs go, and whether a third party receives any protected health information. An SMS gateway that carries patient names or appointment details may need a business associate agreement with its provider, and that is a question for counsel. Also confirm which billing and accounting component your deployment uses. The Lite stack runs Crater for billing, while the Bahmni description names OpenERP, so the inventory and accounting data flows depend on the configuration you actually deploy.
Plain OpenMRS puts the boundary in your hands. The platform is the medical record core under MPL 2.0, and your organization defines the scope by what it adds: modules, forms, reporting and hosting. That gives a smaller starting perimeter, and the operator still carries the same HIPAA duties with no vendor BAA. One module to check is FHIR2, which provides a FHIR R4 REST API with translation support for R3. If it is enabled, its endpoints, the scopes granted to each client and the accounts that call them belong in the access review and the audit logging design, even when no clinician uses them directly. Before you choose the bundle, list what your workflows would need added to plain OpenMRS and compare that list with the bundle's component list. For the role model Bahmni layers on OpenMRS, read EMR Security and Access Control (OpenMRS).
Where PHI flows and where the evidence comes from
The diagram starts with clinicians outside the hosting boundary. They sign in to the OpenMRS or Bahmni Lite containers and pass role checks before reaching patient data. Patient records sit in the database, which is copied to backups, and access events go to audit log storage in the same environment. The evidence pack draws on three inputs: role configuration, audit logs and version records. Before the pack goes to an assessor, confirm that each input can be exported from your own environment, because neither platform has a vendor that signs a BAA for the software.
Patient data flows inside the hosting boundary, and evidence leaves it through one pack.
What an assessor asks for and how each side produces it
OpenMRS gives the assessor a project-level position, and the operational evidence comes from your own deployment. The openmrs-core README names the MPL 2.0 licence with Healthcare Disclaimer and links a SECURITY.md security policy, which shows how the project handles vulnerabilities. Your role configuration, your pinned platform or O3 version and your build and backup setup all come from your side, and the operator carries the HIPAA obligations for the patient data it hosts.
- Licence and security policy: cite the MPL 2.0 licence and the linked SECURITY.md as the project's stated vulnerability process, then document how your team tracks and applies advisories.
- Role configuration: export your role definitions and user assignments from the running instance. The project provides the role mechanism, so the access matrix is a document your organization writes and maintains.
- Pinned version: record the exact platform or O3 build you run. The latest Platform is 2.8.1 (released October 7, 2025) and the latest O3 Reference Application is 3.7.1 (released July 13, 2026), but the assessor tests the version you pinned.
- Audit records and encryption: confirm with your implementer which audit records the pinned version and modules write, and which encryption settings for the database, application server and transport you can configure and show.
Before the assessment, ask for a sample export of each audit record type and a written description of the encryption configuration, and do not treat either as available by default.
Bahmni gives the assessor more concrete artifacts to start from, because the Lite stack bundles several services into one Docker Compose file. Bahmni is open-source software the organization runs itself, so there is no vendor BAA, and the operator carries the HIPAA obligations for the patient data the stack hosts. The Audit Logs page, the role model, the pinned image tag and the service list each map to a part of the assessor's request.
- Audit Logs page: the Bahmni wiki's Audit Logs page describes the logging Bahmni provides. Pull sample extracts from your deployed version and compare them with the page before you cite it.
- Role model: roles are additive OpenMRS roles, and every login user needs at least the Bahmni-User role. Your access matrix should show the combined roles for each user group, not single role names in isolation.
- Pinned Lite tag: the
.envfile in the bahmni-docker repository points to the 1.0.0 image tag as the stable, tested version of Bahmni Lite v1.0.0. Record that tag in your version records and log any deviation from it. - Compose service list: the services in the Lite
docker-compose.yml, including OpenMRS, the web and apps frontends, the Bahmni Lab service, appointments, patient documents, reports and Crater billing, form the asset inventory. Add optional profiles such as Metabase, Bahmni Mart, SMS and Snowstorm Lite to the inventory only if you enable them.
Confirm with the Bahmni Coalition or your implementer which logs carry user, time and record identifiers in your build, because the wiki page alone does not settle that question.
The shared list is what the assessor asks for whichever platform you choose. The HIPAA Security Rule's administrative safeguards in 164.308 call for a risk analysis, and 164.316 calls for written policies and documentation. Neither project can produce these for you, so each item below is yours to build, drawing on platform inputs from the OpenMRS or Bahmni tab.
- Risk analysis and policies: a HIPAA risk analysis tied to 164.308 and written policies under 164.316, with the platform inputs from your chosen tab.
- Access and audit evidence: a role and access matrix, plus sample audit log extracts taken from your own deployed environment.
- Data protection: backup and encryption configuration, including where backups and encryption keys are held and who can restore them.
- Third-party agreements: the chain of agreements with hosting and service providers, including any implementer or cloud provider that can reach patient data.
- Change and incident handling: version and change records, plus your incident and vulnerability handling process, tested against the platform's security policy.
Check each item against your assessor's request list early, and expect some evidence that no project generates, such as your own risk analysis, to come from your organization.
Configuring the chosen side for a HIPAA scope
This sequence takes the platform you selected from a default install to a configuration an assessor can review. Each step ends in a written record of what data is stored, which version runs, who has access, and how decisions were made. Run the same sequence on whichever side you chose.
Inventory components and electronic PHI locations
List every service in the deployment, including the application server, database, reporting, file storage, interfaces, exports, backups and any laboratory or imaging component. For each one, record where electronic protected health information is stored, processed or moved, and which network paths and staff touch it. Bahmni Lite runs several containers from one Docker Compose stack, so confirm each container and volume by name in your own environment. The output is a data flow diagram and an asset list signed by the system owner. This step is done when every PHI location on the diagram has a named owner.
Complete the risk analysis and addressable decisions
The security officer or compliance lead performs the risk analysis required by 164.308 of the Security Rule, covering the administrative safeguards, and records threats, likelihood and impact for each asset from the inventory. For every addressable implementation specification, decide whether it is reasonable and appropriate for your setting. Where you decide it is not, document the reason and the equivalent measure you adopt, as 164.306(d) requires. This step is done when every addressable item has a dated decision and a named approver. The Subpart C text on eCFR is the natural reference for this work.
Pin the platform version and check support
Fix the exact version before configuration begins. For Bahmni Lite, the .env file in the bahmni-docker repository points to the 1.0.0 image tag, which the project describes as the stable, tested version, so record that tag and avoid floating to a newer image. For OpenMRS, choose either the platform or the O3 Reference Application, then confirm its support status on the OpenMRS download page and in the documentation. At the time of this page, the listed latest O3 release is 3.7.1 (July 13, 2026) and the latest platform release is 2.8.1 (October 7, 2025). This step is done when the version, its support status and its end date are recorded and approved by the platform owner.
Set roles and confirm Bahmni-User assignment
Map each job function to an OpenMRS role and grant only the privileges that function needs. In Bahmni, user roles are additive OpenMRS roles, and every login user needs at minimum the Bahmni-User role, so check that no account lacks it. Remove any demonstration or default accounts left from installation, and confirm that shared logins are not in use. Compare the access settings against the Bahmni wiki page on OpenMRS security and access control. This step is done when an export of users and roles matches the approved role matrix with no exceptions.
Confirm audit logging and retention
Turn on audit logging, then confirm what it records, where it is written and how it is exported. For Bahmni, read the Audit Logs page on the Bahmni wiki. For OpenMRS, use the OpenMRS documentation space to confirm the equivalent logging for your version. Test it in a non-production environment by performing a sample read, edit and login, then check that each event shows the user, time and record identifier. Set the retention period in writing, based on your policy and legal obligations. This step is done when the test event trail is captured and the retention setting is approved.
Confirm encryption and backup settings
Confirm how data is encrypted at rest, in transit and in backups. Check these settings against the Bahmni and OpenMRS documentation for your exact version, and confirm them with your infrastructure team, because the answers depend on your database, reverse proxy, container volumes and backup target. For each path, record the mechanism, the key owner and the key rotation process. Then run a full restore from a backup into a test environment to confirm recovery works and that encrypted backups can be decrypted. This step is done when each data path has a documented setting and a successful restore test on file.
Write approved policies and assemble the evidence pack
Write the policies and procedures that 164.316 requires, along with the documentation that shows they are in place, and confirm with counsel how long each record must be kept. Have an accountable owner approve each policy and set a review schedule. Then assemble the evidence pack: the asset inventory, risk analysis, addressable decisions, version record, role matrix, audit test, restore result and approval history. Remember that neither OpenMRS nor Bahmni comes with a vendor BAA, so the operator carries the HIPAA obligations for the data it hosts. This step is done when every safeguard traces to a dated, approved record before any assessment begins.
What drives the cost of a HIPAA-scoped OpenMRS or Bahmni deployment
Does OpenMRS or Bahmni come with a HIPAA business associate agreement?
No, neither platform comes with one for the software. OpenMRS is open source, so no vendor signs a business associate agreement for it, and the same holds for Bahmni, which the organization runs itself. The operator that hosts the patient data carries the HIPAA obligations, whichever platform it chooses. In practice, the organization or its implementer has to document how each obligation is met and put in place any agreements its situation requires, including with the hosting provider it uses. Ask any implementation partner to state in writing which obligations it performs and which stay with you. Terms with a hosting provider are separate and belong with that provider.
What drives the effort of a HIPAA deployment on OpenMRS or Bahmni?
The effort follows how much protected health information the deployment touches and how the system is built around it. The main drivers are:
- The number of components that hold PHI, such as the OpenMRS core, the database, reporting, lab, billing and any imaging store, each of which needs access controls, audit logging and backup.
- The hosting model, whether cloud accounts, a data center or an air-gapped network, since each changes who runs the controls.
- The integrations that move PHI in or out, each needing its own documented data flow.
- The Security Rule's Appendix A to Subpart C of Part 164 lists 36 implementation specifications, 14 required and 22 addressable. For each addressable one, the organization must assess whether it is reasonable and appropriate and, if not, document why and implement an equivalent alternative where reasonable.
- The policies already in place, which may cover part of the work and leave gaps for the rest.
What should a quote for HIPAA-scoped OpenMRS work include?
A quote should follow from a written scope. Ask for:
- The scope in writing: which OpenMRS or Bahmni components, which hosting environment and which integrations are in and out.
- The deliverables: configuration, hardening, backup, documentation and the evidence pack for the assessor.
- The timeline, with the dependencies on your team, such as access approvals and data owners.
- What you supply: cloud or data center access, policy documents, named staff and rules for test data.
- Whether ongoing upgrades and continuous testing are priced as a separate retainer, since they recur after go-live.
Most DeployOpen engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and DeployOpen does not publish a price list. The cost follows the scope items above, so a vague scope produces a vague number.
Can our team run a HIPAA-scoped OpenMRS or Bahmni stack alone?
It depends on skills your team already has, and you should confirm them internally before deciding. A HIPAA-scoped deployment usually needs competence in:
- Container operations, for the Docker Compose stack of Bahmni Lite or a containerized OpenMRS setup, or for servers running Apache Tomcat with MySQL if you use the WAR route.
- Database administration, covering encryption, backup, restore testing and access control.
- Security assessment, to test the controls against the Security Rule and document the results.
Add one person who owns the policies and the operating runbook after go-live. If a skill is missing, the choices are hiring, training or an implementation partner. Some organizations keep day-to-day operation in-house and buy the assessment. Write down the gap list before choosing. Ask what the in-house team would own after handover, because operating effort recurs for the life of the system.
Who certifies HIPAA compliance for an OpenMRS or Bahmni deployment?
Independent auditors and certification bodies issue any formal report, and DeployOpen prepares the systems and evidence those reviews examine. DeployOpen does not issue audit reports, attestations or certifications. Whether any certification scheme applies to you depends on your situation, so check the HHS frequently asked question on certification before committing to one. Evidence for an OpenMRS or Bahmni deployment typically includes the risk analysis, the policies, the access configuration, audit log samples, backup test records and the documented treatment of addressable specifications. Ask any partner to show in writing which of these it produces and which the organization must produce itself.
How long does a HIPAA-scoped OpenMRS or Bahmni project take?
No duration is supplied for this work, so the agreed scope sets the timeline. The main drivers are the number of components holding PHI, the hosting model, how many integrations need documented data flows, how many addressable specifications need documented alternatives, and how much of the policy set already exists. Access approvals, the availability of data owners and the state of the existing environment also move the date. Ask for the timeline in writing as part of the fixed scope, with milestones tied to deliverables and to the client inputs each one depends on. Also ask whether upgrades and continuous testing after go-live sit in a separate retainer with their own schedule. Treat any date you hear before the scope is written as an estimate, not a commitment.
How DeployOpen prepares a HIPAA-scoped deployment
DeployOpen starts from your own HIPAA scope, because OpenMRS and Bahmni are open-source software with no vendor BAA, so the operator carries the obligations for the patient data it hosts. We plan, implement, harden, back up and document either platform inside your own cloud, data center or air-gapped network, then prepare the evidence a compliance assessor will ask for. We do not issue attestations or certifications; independent auditors and certification bodies do.
How we scope
- The written scope names the OpenMRS or Bahmni components, patient data flows and hosting locations covered.
- Scope maps each Security Rule standard to an owner, marking which implementation specifications are required and which are addressable.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
How we build
- We deploy the platform in your cloud account, data center or air-gapped network, with access control and audit logging configured.
- For Bahmni, we set roles as additive OpenMRS roles and confirm every login user holds at least Bahmni-User.
- We test the setup for access control and data exposure, and document the findings and fixes.
How we hand over
- Documentation covers configuration, hardening, backup and restore steps, and the controls your compliance team will review.
- Evidence records which controls the platform supports, which depend on your procedures, and what an assessor must verify.
- Because neither platform comes with a vendor BAA, the handover names who in your organization holds each HIPAA obligation.
How we support
- Retainers cover ongoing support, upgrades and continuous security testing after go-live, agreed in writing.
- Upgrades for OpenMRS or Bahmni are scoped and tested before they reach production patient data.
- Ask quotes to name the systems, environments and assessment evidence included, since pricing follows the written scope.
Sources and further reading
- 45 CFR Part 164 Subpart C, Security Standards for the Protection of Electronic Protected Health Information, eCFR ↗
- Appendix A to Subpart C of Part 164, Security Standards: Matrix, eCFR ↗
- HHS FAQ 2003: Are we required to certify our organization's compliance with the standards? ↗
- Audit Logs - Bahmni Wiki ↗
- EMR Security and Access Control (OpenMRS) - Bahmni Wiki ↗
- openmrs/openmrs-core GitHub repository ↗

