Production readiness checklist for the HAPI FHIR JPA starter: what you must add before go-live
A team with a working HAPI FHIR JPA starter in a test environment has to decide what the starter leaves to them before production. The starter is a convenient way to run the server, but it is not a finished production system. Its default configuration uses an embedded H2 database, which suits testing, not a live clinical or patient-facing workload. For production, the starter supports PostgreSQL and Microsoft SQL Server, and the database choice is the first item to settle, because it shapes backups, high availability and performance tuning that follow. Plan to review the starter's configuration model and confirm the database settings against the HAPI FHIR JPA server introduction and the starter repository before you commit to a design.
HAPI FHIR does not provide one security layer that you switch on. It offers building blocks: authentication interceptors, the AuthorizationInterceptor, consent and search narrowing interceptors, CORS support and BALP audit logging. The operator owns the policy that combines them, the identity provider integration and the evidence that controls work. Assign security ownership to a named role, usually the platform security lead with the application owner, and record who approves each access rule. Read the HAPI FHIR security introduction to map each building block to a requirement, then decide how partitioning separates tenants or regions. Partitioning places each resource in a partition, so partition design affects access rules, so review it together with the HAPI FHIR JPA partitioning guidance.
Use this checklist when a working build moves toward a go-live date or a compliance review, and before any real patient or customer data enters the server. Work through the items in order and give each one an owner: the platform team for the database, backups, monitoring, subscription scaling and upgrade windows; the security team for authentication, authorization, audit logging and secrets; the application team for the FHIR profiles, search behavior and interceptors they write; and the business owner for support terms and who answers when the server fails. Confirm the supported FHIR version, Java requirement and release you plan to run against the HAPI FHIR versions page, since version support affects every later item. Commercial support is available from Smile CDR, which the HAPI FHIR README names, so decide early whether your team will carry all support itself.
Which security controls the starter leaves to you
HAPI FHIR states it does not provide a single one-size-fits-all security layer. It ships building blocks that you assemble, configure and test, and the choices below interact, so they should be decided together before go-live.
Identity provider selection
Authentication interceptors verify who is calling, but the starter does not decide which identity provider issues the tokens. Choose the provider that your workforce and client applications already use, confirm which token formats and claims it issues, and agree how those claims map to FHIR access rules. Test with real tokens from the chosen provider, not with stub credentials.
HAPI security docsAuthorization rules with AuthorizationInterceptor
The AuthorizationInterceptor is where you express which users may read, write or search which resource types and compartments. The rules are code you write and maintain, so they need an owner, a review process and tests for denied requests as well as allowed ones. Confirm that rules cover operations such as batch, history and search, not only individual reads.
Consent interceptor
Consent interceptors enforce patient or data-subject consent decisions at request time. Decide which consent sources are authoritative, how a consent withdrawal reaches the server, and what happens to requests that depend on a consent record that is missing or expired. Document the decision logic so auditors and clinical owners can follow it.
Search narrowing interceptor
Search narrowing limits the results a caller can see, for example to a patient or organization in scope, even when the call itself is permitted. It is the control most likely to be bypassed by unscoped queries, chained searches or includes, so test those patterns explicitly. Confirm which search parameters are narrowed and which remain open.
CORS configuration
CORS controls which browser origins may call the server, and it matters only when browser applications reach the FHIR API directly. Restrict allowed origins to the applications you operate, avoid wildcards on authenticated endpoints, and check that credentialed requests and exposed headers match what your front end needs. Browser policy does not replace server authorization.
BALP audit logging
BALP is the audit logging building block for recording access to FHIR data. Decide where the audit events are stored, who can read them, how long they are kept and how they are shipped to your central log platform. Verify that a read, a search and a denied request each produce a record that a reviewer can trace to a user and a resource.
TLS at the edge and how the layers interact
TLS is not configured inside the starter by default, so terminate it at your reverse proxy or load balancer and confirm that the public server address reflects the HTTPS endpoint. Then test the whole chain together: the proxy forwards identity headers or tokens correctly, the interceptors see the real client address, and a request that fails at one layer is logged at the others.
Production database and configuration choices to review
This table compares the database, FHIR version, optional modules and partitioning choices that the starter leaves to you before go-live. Read each row as a decision with the situation where it fits, and confirm each choice against your own data volumes, compliance scope and hosting before you build.
| Decision | Option | Trade-off | When it fits |
|---|---|---|---|
| Database engine | Embedded H2 (default) | Starts with no separate database, but it is not a production choice for a shared, long-lived server | Local evaluation, demos and short-lived test environments only |
| Database engine | PostgreSQL | Supported for production by the starter; you run backups, failover and upgrades for it | Most self-hosted deployments where your team already operates PostgreSQL |
| Database engine | Microsoft SQL Server | Supported for production by the starter; licensing and DBA skills must be confirmed with your organization | Sites standardized on SQL Server that can staff its administration |
| Database engine | MySQL | Not supported by the starter, so it cannot be chosen for a supported deployment | Do not plan around it; select PostgreSQL or SQL Server instead |
| FHIR version | DSTU2, DSTU3, R4, R4B or R5 | Each version changes resource definitions, validation and client expectations; choose before loading data | Pick the version your trading partners, implementation guides and clients require, and confirm it in the starter configuration |
| Optional modules | Terminology, validation, MDM and partitioning | Each enabled module adds schema, configuration and operational work to test and monitor | Enable only the modules your use case needs, and record why each one is on |
| Partitioning for multitenancy | One partition per tenant | Isolates tenants logically within one server, but access control and data separation still have to be designed and tested | Software vendors serving several customers from shared infrastructure |
| Partitioning for separated data sources | Partitions mapped to distinct data sets | Helps organize data, but it does not replace separate databases if regulators require physical separation | Organizations that keep data sets apart for governance reasons and can accept the added configuration |
| Partitioning for regional grouping | Partitions by geography or business unit | Aligns storage with residency or ownership rules, and the grouping must match how searches are scoped | Multi-region programs where data placement rules are documented |
Go-live readiness sequence for a HAPI FHIR JPA server
This sequence turns the starter's defaults into a server you can defend in a security review, with each step closing with a check the team can repeat before go-live.
Confirm the JDK and image versions
Confirm the Java runtime before anything else. HAPI FHIR 8.2.0 requires JDK 17, and the platform team should pin the exact HAPI FHIR version and container tag they will run rather than floating to the latest release. The latest published release at the time of writing is v8.8.2, released on 25 September 2026, so confirm whether your upgrade path targets it or a version your organization has already validated. Done when the build pipeline, base image and runtime all report the same Java major version and the pinned version is recorded in your change record.
Move off H2 to a supported production database
The starter defaults to an embedded H2 database, which is suitable for evaluation only. Move the JPA server to PostgreSQL or Microsoft SQL Server, since the starter does not support MySQL for production. Your database administrators should own the instance, backup policy and encryption settings, and the engineering team should configure the datasource through environment variables or a mounted application.yaml. Done when a fresh deployment starts against the production database, the schema is created or migrated as expected, and no H2 files remain in the runtime path.
Configure authentication and authorization
HAPI FHIR does not ship a single security layer. It provides building blocks, including authentication interceptors and the AuthorizationInterceptor, so your security architects must design the access model before go-live and the engineers must implement it. Decide how clients authenticate against your identity provider, which resource types each role can read and write, and how CORS is restricted for browser applications. Done when a penetration tester or internal reviewer confirms that unauthenticated requests are rejected, that each test role receives only its permitted resources, and that the policy is documented alongside the configuration.
Enable audit logging
Enable the audit capability your compliance team has agreed on, including BALP audit logging where it fits your requirements. Compliance and security leads should define which events must be captured, who reviews them, and where logs are stored and retained, and the platform team should route them to a central, access-controlled store. Done when a test read, write and denied request each produce an audit record with the expected user, resource and outcome, and the records arrive in the central store.
Plan subscription scaling
Subscriptions depend on server-side state, so review how they behave before you add more instances. Decide which subscription channels you need, how many nodes will process them, and what happens to in-memory caches when a node restarts or scales. Confirm this with the HAPI FHIR documentation for your target version and with your own load tests, since the starter's defaults are not sized for your traffic. Done when a load test with your expected subscription volume completes without missed or duplicated notifications on a restarted node.
Add monitoring and alerting
Connect the server to your metrics, log and tracing stack and define the alerts that matter to operations, such as database connection exhaustion, error rate, latency and failed health probes. The operations team owns the dashboards and on-call routing. Done when a deliberately induced fault, such as stopping the database for a short period, raises the expected alert and the on-call team confirms they received it.
Test backup and restore
Back up the production database and the server configuration, including secrets, then restore both into an isolated environment. A backup that has never been restored is not a control. The database team should record the restore procedure, the time it took and the data it recovered. Done when the restored environment starts, passes the FHIR capability check and returns a known set of test resources that match the pre-backup state.
Rehearse an upgrade and assign a support path
Run a full upgrade in a non-production environment, including the schema migration and any Java requirement changes, and record every breaking change you encounter. Then name who receives vendor security notices, who approves a production upgrade, and which support route you use, whether that is internal staff, the commercial support vendor named in the project README, or a partner under a written scope. Done when a rehearsed upgrade completes with the documented rollback steps tested, and a named owner and support route appear in the runbook.
How the production layers and trust boundaries fit together
Traffic starts at the client and reaches TLS termination and a reverse proxy at the edge of your network. The proxy hands requests to the HAPI FHIR JPA server, which checks identity and access through the authentication and AuthorizationInterceptor layers you configure with your identity provider. The server then reads and writes the production database, while logs and audit events flow to monitoring and audit sinks. HAPI FHIR provides building blocks at the server layer, so the identity provider, proxy, database and sinks are the pieces you must supply and check.
Operator-supplied layers sit between client traffic and the production database.
How subscription scaling, monitoring and backups change the checklist
Running more than one HAPI FHIR JPA server instance changes the checklist, because some subscription handling and other state may live inside each instance rather than in the shared database. Before you add a second node behind a load balancer, confirm in the HAPI FHIR documentation how subscription delivery, caches and any scheduled work behave when several instances point at the same database. Ask your own team to write down which subscription types you plan to use, how many instances you expect, and whether delivery is guaranteed to happen once. Treat the answers as a go or no-go gate for scaling, and re-check them when you upgrade, since behavior can change between releases.
Monitoring is entirely your responsibility. The starter does not decide what you watch, where metrics go or who gets paged. Before go-live, name an owner for dashboards and alerts covering the JVM, request latency and error rates, database connections and disk growth, and subscription queue or delivery failures. Expose the health endpoints your orchestrator needs, and confirm that logs are shipped somewhere the operations team can search. Decide who reviews these signals daily and what happens when an alert fires at night.
Backups and restore testing are also owned by the operator. A copy of the database is not proof that you can recover, so schedule restore tests into a separate environment and record how long the restore took and whether the server started and served correct data afterward. Include the file storage or configuration needed to rebuild the server, not only the database. This page does not assert any backup frequency, retention period, recovery time or recovery point, because those depend on your data volumes, storage platform and clinical or regulatory requirements. Ask your database and infrastructure teams to confirm these targets in writing before go-live.
Upgrades, support and version planning questions
Which HAPI FHIR version should a production deployment pin to today?
The latest release supplied for this page is HAPI FHIR v8.8.2, released on 25 September 2026, but pin the version you have tested, not simply the newest one. Confirm the release notes and the upgrade notes for every version between your current build and your target before you choose. Record the exact version in your image tag, Helm chart value or WAR build so that every environment runs the same artifact. Re-test your interceptors, custom code and implementation guides against any version you adopt.
Does HAPI FHIR 8.2.0 still need JDK 17?
Yes, HAPI FHIR 8.2.0 requires JDK 17, according to the HAPI FHIR versions documentation. Check the Java requirement for the specific release you plan to run, because it can change between versions and your application server, base image and build tooling must all support it. Confirm which JDK your Tomcat, Jetty, Wildfly or container base image ships with before you schedule an upgrade. Your security team may also need to confirm that the JDK build you use receives patches.
What happens to the database when HAPI FHIR upgrades its schema?
The JPA server can run schema changes when a new version starts, so a version change can alter tables that hold your clinical data. Take a verified database backup, and test the migration against a copy of production data before you touch production. Plan for startup time during the migration, since health probes may mark the instance as unavailable while it runs. Confirm with your DBA how the migration runs, whether it needs elevated database privileges, and how you would roll back if it fails partway.
How do we roll back if a HAPI FHIR upgrade fails in production?
A rollback is only simple if the schema change is backward compatible, and you should not assume it is. Before upgrading, confirm whether the target version can run against the previous schema and whether a restore from backup is your only route. Keep the previous image or WAR and its configuration available, and document the exact steps, including who decides to roll back and how long you can tolerate an outage. Rehearse the rollback in a non-production environment.
Where can we get commercial support for HAPI FHIR?
The HAPI FHIR README points to Smile CDR for commercial support, so start there if your organization needs a vendor agreement with service levels. Ask Smile CDR what is covered, which versions it supports, how it handles your custom interceptors and how it treats self-hosted deployments in your infrastructure. The community project itself is open source under the Apache Software License 2.0, so there is no license fee, but support terms, response times and escalation paths come from the commercial provider's contract. Confirm each of these in writing before go-live.
Can DeployOpen handle HAPI FHIR upgrades and ongoing support for us?
DeployOpen plans, implements, upgrades, documents and supports self-hosted open-source platforms in the client's own infrastructure, and ongoing support and upgrades are available as retainers. A typical scope covers the version plan, the test rehearsal of schema migrations, the upgrade itself, verification and documentation. Agree the scope, deliverables and timeline in writing before work starts, because most engagements are fixed-scope. Ask for a written quote based on your version gap, custom code and number of environments.
What should we ask for in an upgrade quote?
Ask for the scope in writing, including which versions are in the path, which environments are covered and who runs the database backup and restore tests. Confirm what happens to custom interceptors, implementation guides and configuration files, and whether they need rework. Ask how the proposal handles rollback rehearsal, post-upgrade verification and handover documentation. Finally, confirm whether ongoing support is a separate retainer and what it covers, so you can compare the one-time upgrade cost with recurring support cost.
Limits and what to confirm in your environment
The starter and its building blocks do not make a production decision for you. The cards below list the items to verify in your own environment rather than assume, each with the team that should own the check. Treat each one as a go-live gate with a recorded result.
FHIR version and module support
The JPA server covers several FHIR versions and optional modules such as terminology services, validation, MDM and partitioning. Not every module behaves the same on every version, and the set you enable changes the schema, memory use and operating load. Confirm that each resource type, search parameter and operation your applications need is supported on the exact FHIR version you deploy, and list the modules you enable so that each one has an owner and a test case.
JPA server docsDatabase version compatibility
The starter defaults to an embedded H2 database, which is not a production choice. PostgreSQL and Microsoft SQL Server are the supported production options, and MySQL is not supported. Confirm the exact database engine and version your DBA team will run against the HAPI FHIR release you pin, including driver version, character set and collation settings, and the schema migration path. The database team should own this check because it sets backup, restore and failover behavior.
Interceptor behavior under your identity provider
HAPI FHIR provides building blocks such as authentication interceptors, the AuthorizationInterceptor, consent and search narrowing interceptors, and CORS support, rather than one complete security layer. Their behavior depends on how your identity provider issues tokens, which claims it carries and how scopes map to resource access. Test each interceptor with real tokens from your identity provider, including expired tokens, missing scopes and cross-patient requests. The security architect and identity team should jointly own the sign-off.
Security docsAudit logging coverage
Audit logging is available through BALP, but enabling it does not tell you whether every access path is recorded. Confirm which operations generate audit events, where the events are stored, who can read them, and how long they are kept under your retention policy. Check that operations performed through batch jobs, bulk export and admin endpoints are captured, not only ordinary reads. The compliance lead should own the coverage test, with a sample of events reviewed against a known set of test requests.
Subscription behavior at your scale
Subscriptions depend on server-side state, and some of that state lives in memory on each instance. Before you run more than one node, confirm how subscription delivery, caching and channel configuration behave across instances, and what happens during a restart. Measure delivery latency and failure handling at the message volume you expect, not at the volume in the demo. The platform engineering lead should own this test together with the application team that consumes the notifications.
Performance at your data volume
Search behavior, history handling, bulk loading and chained searches all change as the database grows, and a server that is fast on a sample dataset may slow sharply at production volume. Load test with data that matches your record counts, resource mix and query patterns, and record response times for the searches your clinical and integration teams run most often. The performance engineering team should own the test plan, and the results should set the sizing for the database and the application pods before go-live.
What does it cost to get a HAPI FHIR server production ready?
What does it cost to make a HAPI FHIR JPA server production ready?
The cost is the labor to close the gaps the starter leaves open, plus the infrastructure and licenses you run it on. The software itself is Apache Software License 2.0 licensed, so there is no license fee for the starter, but security design, a production database, audit logging, monitoring, backups and upgrade testing all take people time. No price is given here. Ask any provider, including DeployOpen, for a written scope with each item listed separately so you can see what is one-time work and what recurs.
How long does a HAPI FHIR production readiness project take?
Duration depends mostly on how many open items the checklist contains and how many decisions your organization must make before engineers can build. The biggest unknowns are usually the authorization model, the identity provider and the compliance evidence you need to produce. Ask for a timeline tied to named deliverables and to the decisions your team must provide, and check which dependencies the timeline assumes. DeployOpen agrees timelines in writing before work starts.
What does my team have to provide during a HAPI FHIR readiness project?
Your team supplies decisions and access, which often take longer than the build itself. Typical inputs include:
- Named owners for security, data protection and clinical or business sign-off
- Access to your cloud accounts, data centers or private network, and to your identity provider
- Decisions on FHIR versions, enabled modules, partitioning and retention rules
- Your backup, recovery and change-control standards so the new server follows them
Can our own engineers make a HAPI FHIR server production ready without a partner?
Yes, if your team has Java, database, Kubernetes or application server, and security engineering experience and enough time to own the work after go-live. HAPI FHIR states that it does not provide a single security layer, so your team must assemble authentication, authorization, audit and consent controls from its building blocks. Teams often weigh the cost of a partner against the risk of gaps found late in an assessment. A reasonable first step is to review the checklist against your skills and staffing.
What drives the cost of a HAPI FHIR readiness project up or down?
The main drivers are scope, how much of the identity and access design already exists, and how much compliance evidence you need. A server that only needs a database move and backups costs less to ready than one that needs SMART on FHIR access, consent rules, audit logging for every resource and partitioned tenants. Existing identity systems reduce work, while new federation or policy design increases it. Ask a provider to price each control separately so you can drop optional items.
How do compliance evidence needs change the cost of a HAPI FHIR server?
Compliance needs add work because the evidence must be collected, tested and kept current, not just configured. An assessor will ask for access control records, audit logs, backup test results, change records and documented responsibilities. The server does not certify compliance, and independent auditors or certification bodies issue any formal reports. Ask your provider which evidence it will prepare and which you must produce yourself, and whether the scope includes a retest.
What should I ask for in a HAPI FHIR production readiness quote?
Ask for a written scope that lists each checklist item, its deliverable and the acceptance test. Confirm which FHIR version, starter version and Java release are in scope, since HAPI FHIR 8.2.0 requires JDK 17, and whether upgrades are included. Also ask whether recurring work such as upgrades, backup tests and security retesting is priced separately as a retainer. DeployOpen provides a quote that follows from this written scope and does not publish a price list.
Where the starter ends and your compliance evidence begins
DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Those determinations belong to independent auditors and certification bodies. For this checklist, that means the work covers the HAPI FHIR JPA starter's configuration, the authentication and authorization interceptors, audit logging, backups, change records and the operating procedures that an assessor will ask to see. It does not mean DeployOpen decides whether the deployment is compliant. Before go-live, ask your assessor which evidence they expect, in what format, and for what period, so the controls are built to produce that evidence from day one.
The HAPI FHIR documentation states that the project does not provide a single one-size-fits-all security layer. Authentication, the AuthorizationInterceptor, consent and search narrowing, and BALP audit logging are building blocks that you select, configure and prove. Confirm with your compliance team which healthcare privacy and security obligations apply to your organization and data, then confirm which of them you must meet through the server, which through the surrounding infrastructure and which through policy. Map each answer to a named control and an owner. Gaps found at this stage are cheaper to close than gaps found during an assessment.
For the healthcare obligations themselves, read the HAPI FHIR compliance topic alongside this checklist. It explains what a self-hosted HAPI FHIR server supports and which controls the operator must add around it. Treat it as the starting point for your evidence inventory, then confirm each item against your own environment and your auditor's requirements. Keep the inventory current as the starter version, Java runtime and database change during upgrades.
How DeployOpen scopes and delivers a HAPI FHIR production readiness review
DeployOpen approaches a HAPI FHIR production readiness review as a written, fixed-scope engagement inside your own infrastructure. We check the JPA starter against each area it leaves to the operator, then deliver fixes, documentation and evidence your security, compliance and platform teams can review.
How we scope
- Agree in writing which starter deployment method, database and environments the review covers before any work starts.
- Confirm the FHIR versions, enabled modules and partitioning plans that the security and data review must reflect.
- List the open questions for your team, such as identity provider, audit log destination and backup ownership, with owners and dates.
How we build
- Review the starter configuration, replacing the embedded H2 default with a supported PostgreSQL or Microsoft SQL Server database where production requires it.
- Design the authorization, consent, audit logging and CORS settings using HAPI FHIR building blocks, then test them against real request paths.
- Verify backups with a documented restore test, and check the upgrade path, Java 17 requirement and subscription behavior across instances.
How we hand over
- Deliver a findings report that ranks each gap by risk, with the fix applied or a clear remediation step for your team.
- Provide runbooks for deployment, configuration changes, monitoring, backup restore and version upgrades in your repository.
- Walk your security, compliance and platform engineers through the evidence so they can judge the controls themselves.
How we support
- Retest the fixed items after remediation and record the results in the same report format.
- Offer ongoing support, upgrades and continuous testing as a retainer once the server is in production.
- Agree with you in advance on how upgrades to new HAPI FHIR releases will be planned, tested and rolled out.

