Self-hosted Medplum for HIPAA compliance: what the platform covers and what you still own
If your team builds on Medplum and must answer to HIPAA, the Security Rule applies to you as a covered entity or business associate for all electronic protected health information you create, receive, maintain or transmit. Choosing between Medplum Cloud with a business associate agreement (BAA) and a self-hosted deployment is a choice about who operates the safeguards, not about whether they apply. On Medplum Cloud, Medplum carries part of the operational load under its BAA. When you self-host, access policies, audit events, encryption, backups and the evidence that each one works move onto your side of the line. Medplum's compliance documentation states that compliance is a shared responsibility between Medplum and its customers, and that statement is the right starting point for mapping which controls you inherit and which you must build and prove yourself.
There is no HIPAA certification. HHS states that no Security Rule standard requires an entity to certify compliance and that private certifications do not stop HHS from later finding a violation, so any claim that a Medplum deployment is "HIPAA certified" should be treated with suspicion. DeployOpen plans, configures and hardens self-hosted Medplum inside your infrastructure and prepares the systems, settings and evidence that your compliance and security teams and any auditor will review. DeployOpen does not issue attestations or certifications. Your own risk analysis, the controls you document, and the judgment of your compliance function remain yours to own.
Mapping Security Rule standards to Medplum capabilities and configuration
This table compares each required and addressable technical safeguard in 45 CFR 164.312, plus the business associate contract terms in 164.314(a)(2)(i), with what Medplum documents and what your team must configure when self-hosting. Treat the middle column as a starting point for your own evidence, since it does not establish compliance. Each addressable specification needs a written assessment of whether it is reasonable and appropriate, with an equivalent measure documented if it is not.
| Requirement | Medplum capability documented | Configuration the deployer must own |
|---|---|---|
| Unique user identification (164.312(a)(2)(i), required) | Medplum Auth supports Medplum users, external identity providers and client credentials, so each person or system can have its own identity. | Prohibit shared accounts, map each user to one identity, and document who approves access and removal. |
| Emergency access procedure (164.312(a)(2)(ii), required) | Confirm with Medplum whether a break-glass access path exists for your version. | Write the procedure, keep a tested emergency administrator path outside normal sign-in, and log every use. |
| Automatic logoff (164.312(a)(2)(iii), addressable) | Token and session lifetimes are part of Medplum's authentication configuration; confirm available settings for your version. | Set session and token lifetimes for your risk level, then record the assessment that supports those values. |
| Encryption and decryption (164.312(a)(2)(iv), addressable) | Medplum's compliance docs describe compliance as a shared responsibility, so storage encryption depends on your deployment. | Encrypt PostgreSQL, Redis, object storage and backups with keys you manage, and document the key lifecycle. |
| Audit controls (164.312(b)) | Medplum's compliance documentation covers HIPAA; confirm which FHIR interactions and sign-ins its audit records capture. | Collect audit records from the server, database and identity provider, forward them to a central store, and set retention periods. |
| Person or entity authentication (164.312(d)) | Supports multi-factor authentication and external identity providers for sign-in. | Enforce MFA for every human account and document how bots and services authenticate. |
| Transmission security (164.312(e)(2)(ii), addressable) | Transport protection depends on the deployment target you choose; confirm TLS options in the self-hosting documentation. | Encrypt API, web app, Agent and database connections, and document the assessment of each addressable choice. |
| Business associate contract terms (164.314(a)(2)(i)) | A standard BAA is listed for paid Medplum cloud plans; confirm whether any Medplum agreement covers self-hosted software. | Obtain BAAs from your own cloud, hosting and subcontractors that handle ePHI, with Security Rule, flow-down and incident reporting terms. |
Evidence to collect for the HIPAA Security Rule review
A Security Rule review asks for evidence that safeguards exist and keep working, not only that they were configured once. The cards below cover the records a self-hosted Medplum deployer should export, retain and review, and each one maps to a safeguard the deployer owns because no Medplum Cloud BAA covers the instance.
Access policy and project exports
Export the access policies, project settings and client application definitions on a fixed schedule and store the exports under version control. Each export shows who can read or write which resource types and proves that unique user identification and role-based access are enforced at the data layer. Check that every change has a reviewer and a ticket, and that the exports match what the running server enforces.
Medplum auth docsIdentity provider and MFA settings
Keep a dated record of each identity provider connection, its signing configuration, the domains it governs and whether multi-factor authentication is required for every human login path. Medplum supports its own identity provider, external providers and client credentials for server-to-server access, so each path needs its own entry. Review the list whenever a provider or client is added, and remove accounts that no longer have an owner.
AuditEvent logs and retention
Keep AuditEvent records and server access logs for every FHIR interaction, login and administrative change, and ship them to storage that the deployer controls. Set the retention period in the deployer's own policy, not the server default, and test that a sample event can be found by patient, user and time window. Confirm with your compliance lead how long your organization must keep these records before setting the retention value.
Encryption configuration
Document how data is encrypted in transit and at rest across the application, PostgreSQL, Redis, object storage and backups, including certificate sources, key owners and rotation dates. The Security Rule treats both encryption specifications as addressable, so the file should record either the implemented control or the documented reason and the alternative measure. Review it after each infrastructure change and after each certificate renewal.
Backup and restore test results
Keep the backup schedule, retention, and the results of restore tests into a separate environment, including the time taken and any data gaps found. A backup that has never been restored is not evidence of contingency planning. Record which PostgreSQL state was restored and whether the restored instance passed the same access and audit checks as production.
Upgrade records and patch timing
Log each Medplum upgrade with the source and target versions, the minor versions applied in sequence, the migration duration and the rollback decision. Compare the dates of each security patch with Medplum's targets of 7 days for critical vulnerabilities and 14 days for high ones, and document any exception with its compensating control. Confirm current support windows on the versions page before planning the next upgrade.
Medplum versions policyRisk analysis and addressable decisions
Keep the documented risk analysis, the risk management plan and a written decision for each addressable implementation specification, stating whether it is reasonable and appropriate and what equivalent measure applies if it is not. The Security Rule requires this documentation under 45 CFR 164.306(d). NIST SP 800-66 Rev. 2 offers sample questions for each standard that can structure the review, and each decision should be re-dated when the deployment changes.
NIST SP 800-66 Rev. 2What changes when Medplum is self-hosted instead of on Medplum Cloud
On Medplum Cloud, the paid plans include a standard BAA and MSA, so the business associate relationship with Medplum is contractual from day one. When you self-host, whether on the free Community option or under an Enterprise Self-Hosted agreement, that contract is not the same thing, and you become the party maintaining the safeguards for the Medplum server, PostgreSQL, Redis, the identity layer and the infrastructure underneath them. Medplum's compliance documentation describes compliance as a shared responsibility. Before you deploy, confirm in writing with Medplum what its self-hosting agreement covers and what it leaves to you, and map each Security Rule standard in 45 CFR 164.312 to a named owner in your environment.
Upgrade discipline becomes a compliance control. Medplum's upgrading guide says self-hosted deployments must move through each minor version in sequence, since skipping versions causes startup failures and post-deploy data migrations can run for hours or days on large datasets. Medplum's versioning policy targets security patches within 7 days for critical vulnerabilities (CVSS 9.0 or higher) and within 14 days for high ones (CVSS 7.0 to 8.9). Those targets apply to Medplum's release process, not to your deployment, so your change process must be able to absorb them. Write down who approves an emergency patch, how long a maintenance window can run, and how you will confirm the patched version is running in production. The latest release at research time was 5.2.5, published October 15, 2026, which is a reasonable point to check your current version against.
The enforcement picture shapes how much this matters. The HHS Office for Civil Rights enforces the Security Rule through complaint investigations, compliance reviews and audits, and its 2024 to 2025 audit program reviews 50 covered entities' and business associates' compliance with provisions most relevant to hacking and ransomware. Civil money penalties under 45 CFR 102.3, for penalties assessed on or after January 28, 2026, range from $145 per violation with no knowledge to $2,190,294 per violation for uncorrected willful neglect, with a calendar-year cap of $2,190,294. Because there is no HIPAA certification, a regulator will ask for your own records of decisions, patch timing and access reviews. Ask your compliance lead to confirm which penalty tier your current controls would fall under, and whether a documented, timely response to a finding would move you into a lower one.
Configuration sequence for a HIPAA-ready self-hosted Medplum
This sequence takes a team from confirming its HIPAA role to a self-hosted Medplum deployment that it can operate, test and show to an assessor. Each step produces a document or a verified setting that the next step depends on.
Confirm the HIPAA role and ePHI scope
Compliance or legal leads decide whether the organization is a covered entity or a business associate, and list every Medplum data flow that creates, receives, maintains or transmits electronic protected health information. Platform and security engineers map those flows to the Medplum resources, Bots, Agent connections and PostgreSQL and Redis instances that hold them. The step is done when the scope statement names each system in the flow and has been signed off by the compliance owner. The Security Rule applies to both covered entities and business associates, so the role determines which contracts and obligations apply.
Run and document the risk analysis
The security lead performs a documented risk analysis of the ePHI scope, identifying threats and vulnerabilities to confidentiality, integrity and availability, and rating the likelihood and impact of each. The output is a risk register with an owner and a treatment decision for each item. NIST SP 800-66 Rev. 2 provides sample questions for each standard that teams can use as a checklist, though it is informational rather than binding. The step is complete when leadership has reviewed and accepted the register, because every later control choice should trace back to an entry in it.
Choose the deployment target
Platform engineers select one of the self-hosting options that Medplum documents and confirm that the target can meet the controls in the risk register, including network isolation, encryption, logging and backup. Medplum's documentation recommends AWS with CDK and CloudFormation, and lists other options, some of which are marked Beta. The team should record the reason for its choice and confirm with Medplum which target it supports for production use. The output is an architecture decision record that names the hosting account, regions, managed PostgreSQL and Redis services, and the people who administer them.
Configure identity with MFA and unique user IDs
Identity engineers connect Medplum to the organization's identity provider or configure Medplum's own authentication, then require multi-factor authentication for every workforce user. Each person signs in with an individual account, and shared or generic logins are disabled. Client credentials for server-to-server access are issued to named services and recorded in an inventory. The step is verified by testing sign-in for each role, confirming that MFA is enforced, and checking that the audit trail attributes actions to a single person or service.
Set access policies and minimum necessary access
Application owners and privacy staff define access policies that limit each role to the resource types and compartments it needs, which supports the minimum necessary expectation in the Privacy Rule and the access control standard in the Security Rule. Administrators test the policies with sample users for each role and attempt out-of-scope reads and writes. The output is a documented access matrix, a test log showing denied and permitted actions, and a change procedure for future policy edits. Access reviews should be scheduled and recorded.
Enable audit logging and retention
Security engineers turn on audit event generation for FHIR interactions, logins and administrative changes, then route those events to a log store outside the application server. They set a retention period that the compliance owner approves and restrict who can alter or delete logs. The step is verified by performing test actions for each role and confirming that the expected entries appear, carry the correct user and timestamp, and survive a restart. Teams should confirm with Medplum how its AuditEvent resources and login logs map to the required audit controls.
Encrypt data at rest and in transit
Infrastructure engineers enable TLS for all client, API and internal connections, including connections to PostgreSQL, Redis and any Agent or external system, and enable encryption at rest for database volumes, backups, object storage and secrets. Keys are managed in a key service with access logging and rotation procedures. The check is a configuration review plus a scan of open endpoints, with results stored as evidence. Because encryption specifications are addressable under the Security Rule, the team should record its assessment and any equivalent measure in the risk register.
Set up backups and test restores
Operations engineers configure automated backups of the PostgreSQL database, binary storage and configuration, encrypted and stored in a separate account or region from production. They then perform a timed restore into an isolated environment and verify that the restored data, access policies and audit events are complete and consistent. The output is a restore runbook, a dated test record with results and any gaps found, and a named owner for each recovery task. Teams should repeat restore tests on a schedule set in their contingency plan and after significant changes.
Establish the upgrade cadence and assemble the evidence binder
Platform owners set an upgrade schedule that follows Medplum's release policy, which ships patch versions weekly and targets security patches within 7 days for critical vulnerabilities and 14 days for high ones. Medplum's upgrade guide requires each minor version to be applied in sequence, so the plan must include a test environment and a rollback window. Finally, the compliance owner assembles the evidence binder: the scope, risk analysis, access matrix, audit configuration, encryption settings, restore test records, change log and business associate agreements. Before publishing the binder, confirm with counsel which contracts Medplum and other vendors provide, since HIPAA certification is not issued by HHS.
How the self-hosted Medplum trust boundaries fit together
The diagram starts with users and external identity providers, which reach Medplum Auth before any request touches the Medplum server and web app inside the customer boundary. The server stores clinical data in PostgreSQL and uses Redis as its cache, and both stay inside the boundary. Audit events and backups are the two flows that leave the boundary for retained storage, so the customer owns retention, access to that storage and its encryption. Check each hand-off against your own owners: who runs the identity provider, who holds the database credentials and where backup copies are kept.
Trust boundaries for a self-hosted Medplum deployment, with the customer-owned area marked.
How much effort and cost does a self-hosted Medplum HIPAA setup need?
What drives the effort of a self-hosted Medplum HIPAA setup?
The effort is driven by four things: how much electronic protected health information (ePHI) the deployment holds and which systems touch it, where it runs, how complex the identity setup is, and how many integrations feed or read data. A small instance that holds ePHI for one application, runs on one managed cloud account and uses one identity provider is far less work than a multi-tenant deployment with several external identity providers, an HL7 feed from an on-premises clinical system and a data warehouse sync. Each added source of ePHI adds access policies, audit events, backup scope and evidence to collect. The Security Rule applies to every system that creates, receives, maintains or transmits ePHI, so the boundary of that scope is the first thing to settle.
Can an internal team set up self-hosted Medplum for HIPAA without a partner?
Often yes, if the team already runs production infrastructure, PostgreSQL and Redis, and has people who know the HIPAA Security Rule well enough to map it to controls. The work that tends to take the longest is not the installation. It is the risk analysis, the access policy design, the audit event pipeline, the backup and restore testing, and the written evidence that shows each control operates. Teams without a dedicated security or compliance owner often find that the documentation standards in 45 CFR 164.316 and the business associate terms in 45 CFR 164.314 are the hardest parts to keep current. NIST SP 800-66 Rev. 2 is a practical reference for mapping each standard to activities, and it is informational rather than binding.
How long does a self-hosted Medplum HIPAA deployment take?
No duration can be stated for this work until the environment is known. The timeline depends on the deployment target, the number of integrations, whether an existing identity provider and logging stack can be reused, the state of current policies and the number of people who must approve each decision. DeployOpen does not publish a timeline. Most engagements are fixed-scope, so the duration, deliverables and milestones are agreed in a written scope before work starts. Ask for the scope to list the environment assumptions behind each milestone, so that a change in data volume or integrations is visible as a change in timeline.
What does DeployOpen need from our team to scope the work?
The work needs named owners on the client side, and it needs them early. Expect to provide a security or compliance lead who can make risk decisions, an infrastructure owner who can grant access to the cloud account, data center or network where Medplum will run, and an application owner who can describe which clinical or administrative workflows use the platform. Risk analysis inputs are also needed: an inventory of systems that hold or transmit ePHI, existing policies, prior risk assessments, identity provider configuration, backup and retention practices, and any business associate agreements already in place. Missing inputs usually show up as open questions in the written scope, which is the right place to resolve them.
What is one-time and what recurs in the cost of self-hosting Medplum for HIPAA?
The one-time costs are the scoping, the risk analysis, the initial deployment and hardening, the access policy and audit configuration, the backup and restore testing, and the first full evidence set. Recurring costs include running the infrastructure, licenses or support where they apply, patching within the timelines in Medplum's versioning policy, planned upgrades through each minor version in sequence, periodic access reviews, backup restore tests, and the annual review of risk analysis and policies. Self-hosting also has a recurring labor cost that many budgets miss: someone must watch security advisories and apply patches. Medplum's policy targets security patches within 7 days for critical vulnerabilities and 14 days for high ones, so that staffing needs to be planned from the start.
How should we compare the cost of self-hosting with Medplum's hosted plans?
Compare the full cost of ownership, not only the platform fee. Medplum publishes list prices for its hosted Production and Premium plans, and it offers custom-priced Enterprise and Enterprise Self-Hosted options. Hosted plans include standard BAA and MSA agreements, so the business associate relationship is already in place, while a self-hosted deployment means you own the controls, the infrastructure, the patching and the evidence. Build your comparison from your own staff time, cloud spend, support needs and the cost of an independent assessment if one is required. Ask Medplum for current Enterprise Self-Hosted terms in writing, and ask DeployOpen for a quote that lists each deliverable, so the two options are compared on the same scope.
Does DeployOpen give a price list or a fixed quote for this work?
DeployOpen does not publish a price list. A quote follows from the written scope, which lists the environment, the ePHI boundary, the integrations, the identity setup, the deliverables and the timeline. Ask each proposal to show who performs each task, what evidence is handed over, what the client must provide, and which items are excluded. Also ask whether ongoing support, upgrades or continuous testing are proposed as a retainer, because those recur and should be priced separately from the initial build. DeployOpen does not issue HIPAA certifications or audit reports, and there is no HIPAA certification to buy, so the quote covers the preparation of controls and evidence rather than an attestation.
How DeployOpen works on this
DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside the client's own infrastructure, so the HIPAA controls for a self-hosted Medplum deployment are configured where your compliance and security teams can review them. Engagements begin with a written scope that sets out the controls, evidence and handover items to be delivered.
How we scope
- Confirm which Medplum components hold ePHI and which cloud, database, cache and identity services sit in the data path.
- Map each in-scope Security Rule standard to a named owner, configuration item or evidence artifact before any build starts.
- Agree the written scope, deliverables and timeline with you in advance, since most engagements are fixed-scope.
How we build
- Configure Medplum Auth, identity provider settings, MFA and access policies to match your role-based access decisions.
- Set up audit event capture, log streaming and retention, plus encryption and backup procedures for PostgreSQL and Redis.
- Test access controls, logging and restore steps against the written scope, and record the results for your review.
How we hand over
- Deliver documentation of the configuration, control owners, and the evidence each HIPAA safeguard requires your team to keep.
- Provide runbooks for access reviews, incident response, backup restores and Medplum version upgrades on your schedule.
- Walk your compliance, security and platform teams through the evidence set so they can judge it against their own risk analysis.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after the initial handover is complete.
- Retest configuration changes after Medplum releases, including the security patches your upgrade plan requires.
- Confirm with your legal and compliance advisers how any HIPAA assessment you commission will use the delivered evidence.
Sources and further reading
- 45 CFR Part 164 Subpart C, Security Standards for the Protection of Electronic Protected Health Information ↗
- Appendix A to Subpart C of Part 164, Security Standards: Matrix ↗
- HHS FAQ 2003: Are we required to certify our organization's compliance with the standards? ↗
- Medplum compliance ↗
- Medplum self-hosting ↗
- NIST SP 800-66 Rev. 2, Implementing the HIPAA Security Rule: A Cybersecurity Resource Guide ↗

