Medplum for HTI-4 and CMS-0057-F prior authorization: what the platform covers and what it does not
Medplum can support CMS-0057-F and CMS-9115-F compliance work, but it does not make a payer or provider compliant on its own. Medplum states that it can be used for both rules and that it is pursuing certification for the three mandatory HTI-4 criteria. Its electronic prior authorization support for CMS-0057-F is still in alpha, so a team planning a production obligation should treat that component as a build-and-verify item rather than a finished feature. Compliance in this area is a shared responsibility: Medplum supplies the FHIR server, Auth, Bots and Subscriptions, while your organization owns the workflows, payer agreements, data quality, deadlines and the evidence that auditors and CMS reviewers will ask for. DeployOpen prepares the system, controls and evidence for your assessment, but it does not issue certifications or attestations, and independent certification bodies and auditors make those determinations.
Start by separating the three obligations, because they land on different systems. HTI-4 concerns certified health IT and its e-prescribing and real-time benefit criteria, so the question is whether the EHR or certified module your clinicians use is the certified product, not whether your Medplum deployment is. CMS-0057-F concerns payers and their prior authorization decisions and API timelines, and its electronic prior authorization path in Medplum uses CDS Hooks, OAuth2 client credentials, JWT client assertion and optional mTLS. Confirm with Medplum, in writing, which of its components are GA, which are alpha, and what the certification status is at the date of your review. Ask for the version you will deploy and whether the alpha features are covered by the Medplum versioning policy for security patches.
Mapping HTI-4 and CMS-0057-F requirements to Medplum capabilities and configuration
This table pairs each requirement area with the Medplum capability that supports it and the configuration your team must own. Read it as a division of responsibility: Medplum supplies building blocks, while your deployment, identity setup and certification evidence remain your work. The main takeaway is that CMS-0057-F support is still in alpha and HTI-4 certification is not yet complete, so plan your own validation before relying on either.
| Requirement area | Medplum capability | Configuration your team owns |
|---|---|---|
| HIPAA Security Rule applicability | Medplum offers a BAA on paid cloud plans. Self-hosting moves the safeguards to you. | Confirm whether you are a covered entity or business associate, then document which Security Rule controls you own |
| HTI-4 certification status | Medplum states it is pursuing certification for the three mandatory criteria. Certification is not yet complete. | Ask Medplum for current certification status in writing and do not assume a certified product version |
| CMS-0057-F prior authorization | Electronic prior auth support is in alpha, using CDS Hooks for coverage requirements discovery. | Scope and test the alpha workflow against your payer agreements before any production use |
| OAuth2 client credentials and JWT client assertion | Supports server-to-server access with client credentials and JWT client assertion for payer connections. | Generate signing keys, register clients, set token lifetimes and rotate credentials under your key management policy |
| Optional mTLS for payer connectivity | Supports optional mTLS on the prior authorization path. | Issue and manage client certificates, define trust anchors and plan certificate renewal with each payer |
| FHIR R4 API and SMART-on-FHIR access | Provides a FHIR R4 API and Medplum Auth with SMART-on-FHIR for scoped app access. | Define SMART scopes, access policies and project boundaries that match each application's role |
| User sign-in, MFA and identity providers | Supports Medplum as identity provider, external providers, domain-level corporate identity and MFA. | Choose the identity provider, enforce MFA for staff and confirm which SSO features your plan includes |
| Audit and evidence collection | Medplum's compliance docs state compliance is a shared responsibility with customers. | Collect access logs, configuration records and payer transaction evidence for your own Security Rule review |
How electronic prior authorization runs on Medplum with CDS Hooks and mTLS
Electronic prior authorization on Medplum runs as a sequence of two exchanges: a CDS Hooks call inside the provider's EHR or app that surfaces coverage requirements, then a server-to-server request to the payer that authenticates with OAuth2 client credentials and a JWT client assertion. Mutual TLS (mTLS) is optional and secures the transport layer beneath that authentication. Medplum documents this pattern for its CMS-0057-F support, but that support is in alpha. Treat it as a design target to prove in your environment, not a finished production capability, and confirm its production readiness, supported features and open gaps with Medplum in writing before any payer connection depends on it. The Medplum electronic prior auth docs are the starting point for that conversation.
On the provider side, your team must register a client with the Medplum server, generate the signing key pair used for the JWT client assertion, and store the private key in a secrets manager rather than in application configuration. The CDS Hooks service and the prior authorization client need their own credentials, scoped to the minimum resources they touch. If you plan to use mTLS, decide which certificate authority issues client certificates, how they rotate, and where the certificate private keys live. Your self-hosted deployment owns the load balancer or ingress that terminates or passes through those connections, so confirm the TLS configuration there as part of the build.
On the payer side, the payer's systems must publish the expected CDS Hooks services, accept the provider's client assertion, validate the signing key and certificate chain, and enforce the same token lifetimes and audit logging they apply to other API traffic. Agree the trust model in writing with each payer before testing: which keys or certificates are exchanged, who revokes them, and how a compromised client is cut off. Because each payer may implement the workflow differently, plan a test run against each counterparty's sandbox and record which requests, responses and error paths you verified. Ask Medplum which of these interactions its alpha release has exercised against real payers.
Request flow from EHR to payer APIs stays inside your trust boundary
The request starts in the provider's EHR or app, which calls a CDS Hooks service when an order needs coverage information. That service passes the request to the Medplum server inside your infrastructure, which keeps its data in PostgreSQL and uses Redis as its cache. When Medplum calls a payer API, it authenticates with OAuth2 client credentials using a signed JWT client assertion and, where the payer requires it, presents a client certificate for mTLS. Check that the private key and certificate stay in your own secrets store and that your boundary covers every hop you operate.
Request path from the EHR to payer APIs, with credential holding points marked.
Evidence to collect for auditors and program reviewers
A prior authorization program on Medplum produces evidence in four places: the FHIR server, the identity layer, the contracts and the test record. Auditors and program reviewers will ask for each one, and the self-hosted operator owns all of them.
AuditEvent records for FHIR interactions
Medplum writes AuditEvent resources for FHIR interactions, which is the trail showing who read or changed prior authorization requests, criteria and coverage data. Confirm that AuditEvent creation is enabled in your deployment and that the events cover the Claim, ClaimResponse and Patient resources your flow touches. Export them on a schedule to storage your audit team controls, and test that a sample request can be traced from payer call to resource change. Store a note of which configuration version produced each export.
HTI-4 docsLogin and token logs
Sign-in and token issuance records show which client, user or service account obtained access and when. For the CMS-0057-F flow this includes the OAuth2 client credentials grants used for payer-to-provider server calls, plus any human sign-ins to the admin console. Confirm which identity provider logs sit upstream of Medplum Auth and whether they are forwarded to the same store as AuditEvent data, so one review can connect a token to the resources it accessed.
Client credential and certificate inventory
Keep a register of every client, its client assertion keys, and any mTLS certificate used with a payer endpoint. Record the owner, issue date, rotation schedule and the environment it serves. Reviewers will check that revoked clients cannot obtain tokens and that expired certificates were replaced rather than left in place. Recheck the inventory after each Medplum upgrade, since authentication settings can change between minor versions.
Configuration baseline
A configuration baseline captures the deployed server settings, including the database and Redis connections, TLS termination, project and access policy definitions, and the CDS Hooks endpoint settings. Store it in version control and tag each change with a ticket. Compare the live environment against the baseline on a fixed schedule and after every upgrade, so the evidence shows the system matched the approved design during the period under review.
Business associate contract terms
Under 45 CFR 164.314(a)(2)(i), a business associate contract must require Security Rule compliance, flow the same terms to subcontractors that handle ePHI, and require reporting of security incidents. If you use Medplum Cloud, Medplum's standard BAA covers its side. If you self-host, you are the covered entity or business associate, so the contracts with your payers, clearinghouses and hosting providers carry these terms. Have counsel confirm each contract against the regulation text and file the executed copies with the program records.
45 CFR 164.314 textPrior auth test results
Test results show the prior authorization flow works end to end: CDS Hooks requests return coverage requirements, OAuth2 and JWT client assertion authentication succeed, mTLS rejects clients without a valid certificate, and error paths behave as designed. Keep the test scripts, input data, outputs and the date and version each run used. Because electronic prior auth support is in alpha, record which parts you tested and retest after every change to the flow.
Electronic prior auth docsConfiguration sequence for a compliant prior auth deployment
This sequence takes a Medplum deployment from a confirmed version to a tested, documented prior authorization setup that a compliance team can review. Each step names what is configured, who owns it, and the check that shows it is finished.
Confirm the Medplum version and upgrade path
Start by recording the exact Medplum version you will run and checking it against the current release list and the versioning policy. Medplum's CMS-0057-F electronic prior authorization support is in alpha, so confirm with Medplum which release carries the features you need and whether it is covered by security patches for your planned operating period. If you are already running a self-hosted server, map the minor versions you must pass through, since self-hosted upgrades cannot skip minor versions. Done means a written version decision and an upgrade plan that your engineering lead has signed off.
Choose the deployment target and boundary
Decide where the Medplum server, PostgreSQL, Redis and the prior authorization endpoints will run. The self-hosting docs list AWS with CDK and CloudFormation as the recommended path, with Kubernetes, Ubuntu, Docker and Terraform-based options for other clouds, where the Azure and GCP Terraform paths are marked Beta. Document the network boundary, including which endpoints face payers and which stay internal. Done means an architecture diagram that shows the payer-facing ingress and the locations of every component that holds protected health information.
Configure identity providers and MFA
Set up the identity provider your workforce users will sign in through, using Medplum Auth, an external provider, or a domain-level corporate identity provider. Enable multi-factor authentication for every human account that can administer the project or read prior authorization data. Confirm which SSO options are included in your plan, since multiple external identity providers are listed as an enterprise feature. Done means a test sign-in for each admin and reviewer role, with MFA prompts recorded in the test log.
Create client credentials with JWT client assertion
Create a ClientApplication for each system that calls Medplum or is called by a payer, using the OAuth2 client credentials grant. Configure JWT client assertion so each client authenticates with a signed token rather than a shared secret, and store the signing keys in your secrets manager with a documented rotation owner. Restrict each client to the scopes it needs. Done means a token request from each client succeeds with a signed assertion and fails when the assertion is altered or expired.
Add mTLS where the payer requires it
Medplum's prior authorization support includes optional mTLS. Ask each payer whether it requires mutual TLS, which certificate authority it accepts, and how certificates are issued and revoked. Terminate mTLS at the layer you control, then confirm that the client certificate identity is bound to the correct Medplum client. Done means a handshake test with a valid certificate succeeds, and a test with no certificate or a revoked certificate is rejected and logged.
Register CDS Hooks endpoints for coverage requirements
Register the CDS Hooks services that return coverage requirements discovery information to the ordering system, and confirm each service's hook type and the FHIR resources it reads. Limit each service to the data it needs under your access policies. Keep a list of every registered endpoint with its owner and the payer or EHR that calls it. Done means each service returns a valid card for a test order and the registry matches the live endpoints.
Test against payer sandboxes
Run end-to-end tests against payer sandbox environments where available, covering authentication, the coverage requirements lookup, the prior authorization submission and status polling. Record each request and response, the version under test, and any deviation from the payer's published interface. Confirm the test data contains no real patient information unless it is covered by an agreement that permits it. Done means a signed test report that lists passed cases, open defects and the owner of each defect.
Document the evidence trail
Assemble the records a compliance reviewer will ask for: the version decision, architecture diagram, identity and MFA settings, client and certificate inventory, CDS Hooks registry, sandbox test reports, and AuditEvent logging configuration. Confirm that access and authentication events are retained and that the retention period matches your policy. Medplum does not issue certifications for your deployment, so the document set is evidence for your own assessment and for any independent auditor you engage. Done means a versioned evidence folder with a named owner who reviews it on each release.
Questions buyers ask before hiring help with HTI-4 and CMS-0057-F
Does using Medplum make my system compliant with HTI-4 and CMS-0057-F?
No. Medplum is a platform you build on, and the rules apply to the system you run, the payers and providers you connect to, and the evidence you keep. Medplum's documentation states that it can be used for CMS-0057-F and CMS-9115-F compliance and that it is pursuing certification for the three mandatory criteria under HTI-4. Your organization still has to define which workflows fall under each rule, configure the FHIR resources, CDS Hooks services and authorization settings for them, test each path, and show who is responsible for each control. The electronic prior authorization support is described as alpha, so it needs validation against your payer scope before anyone relies on it. Ask the vendor to state exactly which criteria are certified and which are in progress, and do not treat a platform statement as your own conformance result.
What drives the cost and effort of an HTI-4 and CMS-0057-F project?
Four factors drive most of the effort: the number of workflows in scope (e-prescribing, real-time benefit checks, and prior authorization requests are each different work), the number of payer connections, the depth of testing, and the evidence work. Each payer connection needs its own credentials, endpoint configuration, certificate handling and test cases, so the count matters more than the code volume. Testing scales with the number of request types and failure modes you must prove. Evidence work covers the design records, configuration exports, test results and access logs that your compliance team needs. Your own team is paid for internal time, and a partner is paid for the scoped work. Ask any quote to break these four areas out, to state what is one-time, such as build and validation, and what recurs, such as payer onboarding, retesting after upgrades and ongoing monitoring.
How long does an HTI-4 and CMS-0057-F project take?
The duration depends on scope, payer count, the state of your existing integrations and how quickly your payers complete their side of testing, so no single figure applies. The dates that are fixed are regulatory: ONC finalized HTI-4 on July 31, 2025, and it became effective on October 1, 2025. Medplum's electronic prior authorization support is in alpha, which means some of the timeline depends on how the product matures and on whether your use case is covered by it. A realistic plan starts with a scoped inventory of workflows and payers, then a build and test phase per workflow, then a validation phase with evidence capture. Ask for a schedule with milestones tied to named payer tests, and ask what happens if a payer's test environment is unavailable. Dates should be written into the statement of work before work starts.
What does my team need to provide for an HTI-4 and CMS-0057-F engagement?
Your team needs to supply decisions and access that only your organization can give. This includes a named owner for each workflow, a list of payers and the technical contacts at each one, access to the payer test environments and credentials, decisions on your identity provider and token settings, and the existing system inventory that shows where prescribing, benefit and authorization data already live. Someone from compliance must confirm which rule criteria apply to each workflow and which evidence the organization will accept. Your security team must approve certificate handling if mTLS is used, and your operations team must agree who runs the system after go-live. Missing any of these usually shows up as delayed testing rather than as a technical failure, so put them in the project plan with owners and dates.
Can my own engineering team implement HTI-4 and CMS-0057-F without a partner?
Yes, if your team has the skills and the time, and many organizations do this in house. The work requires FHIR and OAuth2 expertise, experience with CDS Hooks and client credential flows, JWT client assertion and, where used, mTLS certificate management. It also requires someone who can read the rules well enough to design the evidence trail. The practical questions are capacity and continuity: can the people who build the integration also run it, retest it after each Medplum upgrade, and answer an auditor's questions later? Upgrades matter here because self-hosted Medplum must move through each minor version in sequence, and skipping versions causes startup failures. Confirm internal skills against the technical list above, and decide early whether you want a partner for the build, the validation, or only for an independent review of your evidence.
Does DeployOpen issue HTI-4 or CMS-0057-F certifications?
No. DeployOpen plans, implements, integrates, hardens, documents and supports self-hosted open-source platforms, and it prepares systems, controls and evidence for compliance assessments. It does not issue audit reports, attestations or certifications. Certification decisions for ONC criteria are made by accredited certification bodies, and payer or program acceptance is set by the payers and programs involved. What DeployOpen can deliver is a scoped implementation, the configuration and test evidence your assessor or certification body will request, and documentation of how each control is operated. Ask any partner, including DeployOpen, to state in writing that it is not providing a certification, and ask your certification body or payer which evidence it will accept before the build starts.
Who is responsible for security when Medplum is self-hosted for prior authorization?
When you self-host Medplum, your organization owns the controls for the environment it runs in, and Medplum's compliance documentation describes compliance as a shared responsibility between Medplum and its customers. Self-hosting means you choose the infrastructure, the PostgreSQL and Redis configuration, the identity provider, the secrets and certificate handling, and the logging. Medplum's hosted plans include a standard BAA, but a self-hosted deployment is a different arrangement that you must assess on its own terms. For prior authorization, pay particular attention to client credentials, JWT signing keys, mTLS certificate rotation and who can read the authorization records. Ask for a responsibility matrix that assigns each control to Medplum, to your team or to the partner, and review it with your compliance lead before testing begins.
How DeployOpen scopes and delivers compliance configuration and evidence
DeployOpen plans, builds, tests and documents self-hosted Medplum deployments inside your own infrastructure, including the configuration and evidence that HTI-4 and CMS-0057-F prior authorization work will ask for. We prepare systems, controls and evidence for your compliance assessments, but independent auditors and certification bodies issue any reports or certifications.
How we scope
- Written scope names which HTI-4 and CMS-0057-F workflows are in play, such as e-prescribing, benefit criteria or prior authorization requests.
- Scope records which Medplum version, hosting option and cloud account the work will run in, and who owns each control.
- Engagements are fixed-scope, so deliverables and timelines are agreed in writing before build work starts.
How we build
- Configure Medplum authentication for clients, including client credentials, JWT client assertion and any optional mTLS setup.
- Build and test CDS Hooks coverage requirements discovery against the payer endpoints your scope names, using the alpha feature set confirmed for your version.
- Test the deployment against the agreed requirements and record the results, including failures, fixes and retests.
How we hand over
- Deliver configuration documentation covering access policies, certificates, client registrations and the data flows each workflow uses.
- Provide evidence packs that map each control to the requirement it supports, so your compliance team can review them.
- Walk your platform, security and compliance staff through the runbooks and the open items that remain with your team.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Support can cover planning Medplum upgrades, which must move through each minor version in sequence on self-hosted deployments.
- Confirm with Medplum and your legal team which certification status and responsibilities apply to your deployment before go-live.

