Who needs to plan a HAPI FHIR 8.8 upgrade on SQL Server
The HAPI FHIR 8.8 migration can break zero-downtime upgrades for some SQL Server deployments, and the affected group is defined by two things: how the database is configured and how FHIR resource IDs are used. If your team runs the HAPI FHIR JPA server starter on Microsoft SQL Server and expects a rolling upgrade, treat that expectation as unverified until both points are checked. The people who need this plan are the platform engineers who own the database, the application owners whose clients create or reference resource IDs, and the release owner who approves the change window. A deployment on another supported database, or one that does not depend on case-sensitive IDs, may fall outside the group, but confirm that against the 8.8 release notes for your exact version.
Start by confirming your current version and the exact upgrade path. Check the starting point against the HAPI FHIR releases page, and note that 8.8.2 was released on 25 September 2026, so decide which patch level you target before planning steps. JDK 17 is required from 8.2.0 onward, so any upgrade that crosses that line needs a runtime check in the plan. Inventory the JVM on every application server, Tomcat, Jetty, Wildfly or container image that runs the server, along with build tooling. Runtime changes made during the maintenance window add risk, so resolve them beforehand.
Next, ask your database administrators to document the SQL Server collation, the case sensitivity of the database and columns that store IDs, and any custom queries that compare IDs. Ask the application owners which clients send mixed-case IDs or depend on exact matching. Rehearse the upgrade on a restored copy of production and time each migration step. If the rehearsal shows that the schema change must run while the server is stopped, the maintenance window becomes a planned requirement and should be approved with the business owners before any production change is scheduled.
What changes in 8.8 and what each change means for operators
This table lists the 8.8 changes that bear on a SQL Server deployment with case-sensitive IDs and says what each one means for your upgrade plan. Read each row against the release notes for every intermediate version, then confirm the items in the action column in your own environment before you schedule the window.
| Change | Impact on operators | Action needed |
|---|---|---|
| 8.8 schema migration that affects zero-downtime upgrades on SQL Server with case-sensitive IDs | Your rolling upgrade plan may not hold if this migration must run before the new code starts. Confirm the exact steps in the 8.8 release notes. | Read the 8.8 migration notes, confirm whether a full outage is required, and build the maintenance window around that answer. |
| Case-sensitive ID collation on the SQL Server database | Whether the migration applies to your database depends on how the database and its ID columns were created. Do not assume the default collation matches yours. | Query the database collation and confirm with the release notes whether your collation is in scope. |
| JDK 17 baseline for upgrades past 8.2.0 | Nodes running an older Java runtime will not start the 8.8 server. This applies to every application server, container image and build pipeline. | Confirm the Java version on every node, application server and image, and update them before the cutover rehearsal. |
| SQL Server as a supported production database for the JPA starter | SQL Server is supported for production use with the JPA server starter, so the database is a supported target. Your own driver and version pairing still needs checking. | Confirm the SQL Server version and JDBC driver against the HAPI FHIR documentation for the release you deploy. |
| Intermediate release notes between your current version and 8.8.2 | Changes in releases you skip can change the migration order or the prerequisites. The 8.8.2 release is the latest supplied, so every release in between counts. | List every release between your current version and 8.8.2, read each set of release notes, and record the migration steps in order. |
Which SQL Server deployments are affected by the 8.8 migration
This is the group the topic description identifies as affected by the 8.8 migration that breaks zero-downtime upgrades. A case-sensitive collation means that resource IDs differing only in letter case are stored and compared as different values, so the database and the application may treat them differently from a case-insensitive setup. Teams in this group should assume the migration needs planning as a maintenance window until the vendor confirms otherwise for their exact version path.
- Collation of the database: Run a query against the database collation and confirm whether it is case-sensitive (the suffix
_CS_is a common indicator). Check the collation of the database, not only the server default. - Existing IDs with mixed case: Search existing resource IDs for values that differ only by case. These are the records most likely to be affected by the migration.
- Migration steps: Ask the vendor which schema changes run in 8.8, whether any are long-running, and whether they need exclusive table locks.
- Rehearsal data: Confirm that a copy of production with the same collation and ID patterns is available for a timed rehearsal.
Confirm the collation and ID patterns in your own database before estimating the window, and record the answers in the change plan.
Deployments on a case-insensitive collation are the contrast case for the topic. Because IDs that differ only in case already compare as equal, the specific problem described for case-sensitive databases should not apply in the same way. Do not assume this from the collation name alone, because the upgrade may still include other schema changes that need downtime. Verify it with the vendor and in a rehearsal.
- Collation confirmation: Confirm the database collation with a query on the database itself, and check whether any table or column uses a different collation.
- Other schema changes: List every migration step in the 8.8 release and check whether each one is safe to run while the server is serving traffic.
- Version path: Confirm the exact upgrade path from your current release, including any intermediate versions you must pass through.
- Rollback: Confirm how to restore from backup if a migration step fails partway through.
- Vendor statement: Ask the vendor to state in writing whether the zero-downtime claim applies to your collation.
Do not treat a case-insensitive result as a full clearance until the rehearsal has completed without errors.
PostgreSQL is outside the scope of this SQL Server migration, but it is listed here so that teams running both databases can compare their plans. The HAPI FHIR JPA server supports PostgreSQL and Microsoft SQL Server for production, so a team may run one environment on each database. The collation behavior described for SQL Server does not transfer automatically to PostgreSQL, so the PostgreSQL plan needs its own check against the release notes.
- Scope separation: Keep the PostgreSQL and SQL Server runbooks separate so that a step written for one database is not applied to the other.
- Collation of PostgreSQL databases: Check the database collation and locale settings and confirm whether any ID comparison behavior differs from the SQL Server case.
- Vendor guidance: Ask whether the 8.8 release notes list a PostgreSQL-specific step or confirm that none is needed.
- Test environment: Confirm that the rehearsal runs on the same PostgreSQL major version as production.
- Mixed estates: If you run both databases, record which instances use which database so that the right plan is assigned to each.
If your environment uses PostgreSQL only, treat this tab as a reference and confirm the upgrade plan with the vendor before scheduling.
Some organizations run several HAPI FHIR JPA server instances against one database, or use partitioning to place resources in separate partitions for multitenancy, separate data sources or regional grouping. A migration that changes shared schema affects every instance that uses that database at the same time, so the plan must cover all of them. Partitioned deployments also need checks that the migration does not change how partitions are read or written.
- Instance inventory: List every application instance and job worker that connects to the database, including any that run on a different schedule.
- Upgrade order: Confirm with the vendor whether instances can run mixed versions during the window, and which must stop first.
- Partition configuration: Record which partition mode is in use and whether custom partition code exists, then confirm whether that code needs changes for 8.8.
- Shared maintenance window: Agree the window with every team that owns a connected instance.
- Single rehearsal: Rehearse the full set of instances together on a copy of the shared database, not one instance at a time.
Confirm the instance list and partition settings with the owners of each instance before you agree on the change window.
How to tell whether your IDs and collation put you at risk
The first check is the database itself. Confirm the collation of the SQL Server database behind the HAPI FHIR JPA server, and confirm whether that collation is case-sensitive. Do this at database level and also at column level for the tables that store resource identifiers, because a database default does not always match what was created later. Record the result in the upgrade file. A case-insensitive collation is the condition under which two IDs that differ only by letter case collide, so it is the starting point for every other check. Ask your DBA to confirm the settings on the production instance, not on a test copy that was restored with different options.
Next, establish whether your data already contains IDs that differ only by case, such as Patient/ABC123 and Patient/abc123. Under a case-insensitive collation these cannot both be stored as distinct rows, so their presence is a strong signal that the current behavior and the 8.8 behavior will differ. Then inventory where IDs are depended on. Look at client systems that build or cache references, at stored references in other resources, at bulk exports and integration feeds, and at any reporting or matching logic that keys on the identifier string. Each of these is a place where casing changes could surface after the upgrade. Also review custom interceptors, providers and partition code that compare, normalize or generate IDs, since any custom logic that lowercases or uppercases IDs needs a decision before the upgrade.
None of these checks produces a definitive answer on its own. Inventories show where dependencies could exist, and data scans show where collisions could exist, but only the migration itself shows whether the upgrade completes and whether your reads and writes behave as expected. Run the full sequence on a restored copy of production, using the same SQL Server settings, the same data volume and the same custom code, and compare the results against what clients expect. Treat that rehearsal as the only reliable confirmation. Use the HAPI FHIR releases page to confirm the release notes for the exact version you are moving to before you schedule the rehearsal.
What to prepare before the 8.8 upgrade window opens
The 8.8 change to case-sensitive IDs affects data that already lives in your SQL Server database, so preparation starts with the data and the people who depend on it. The cards below cover what must be proven, inventoried, rehearsed and agreed before anyone schedules the cutover.
Verified SQL Server backup and restore
Take a full backup of the HAPI FHIR database and restore it to a separate SQL Server instance before the window. A backup file that has never been restored is not a recovery plan. Confirm the restore completes, the schema version matches production, and the FHIR server starts against the restored copy. Record the backup time, the restore duration, and who ran the test. Your DBA owns this step, and it must be finished before any migration command runs.
JPA server docsInventory of customizations
List every custom interceptor, provider, partition interceptor and piece of code that reads or writes resource IDs. Record the HAPI FHIR version each one was built against, the application server or container image it runs on, and the Java runtime version. Interceptors that compare IDs with fixed casing are the most likely to change behavior after an ID rule change. Assign an owner to each item so that every custom component has a reviewer during testing.
Test environment from recent production data
Build a test environment from a recent copy of the production database, not from a small seed dataset. Include the mixed-case IDs that exist in production, since those are the records the upgrade must handle. Run the migration on the copy and time it. Then run your client search, read, and write tests against it. Ask the vendor or your own DBA to confirm the expected migration behavior for your SQL Server version before relying on the rehearsal results.
Client and downstream communication plan
Identify every system that reads from or writes to the FHIR server, including EHR integrations, analytics feeds, and partner APIs. Confirm with each owner how they reference resource IDs, since stored and submitted IDs must match after the upgrade. Agree on the maintenance window, the outage notice period, and the contact for incidents during the cutover. Put the plan in writing and send it to each consumer owner before the window is booked.
Rollback package
Keep the previous application build, its container image or WAR file, and its configuration files in a versioned location that the operations team can deploy within the window. Store the database backup that matches that build and note the exact steps to restore both. Test the rollback path on the test environment, not just the forward path. Confirm who can authorize a rollback and how long a restore is expected to take on your hardware.
Named go or no-go checklist
Write a checklist with a single owner who makes the go or no-go decision at a fixed point before the window. Include items for the verified backup, the completed rehearsal, the customization sign-off, the consumer notices, and the tested rollback. Each item should have a yes or no answer with a named evidence source. Record the decision and the reason for any exception. The owner should be someone with authority over both the database and the application, so the call is not split across teams.
Upgrade sequence with checks and rollback points
This sequence moves a HAPI FHIR JPA server to 8.8.2 on SQL Server without losing data or IDs, and it marks where the team can still go back and where it cannot.
Confirm the server is affected
Before any change, the platform owner confirms the deployment uses the JPA server starter or a JPA server on Microsoft SQL Server with case-sensitive IDs, and records the current HAPI FHIR version, JDK version, database edition and collation. The team also checks whether any resources carry IDs that differ only in letter case, since those are the records the ID checks later depend on. The step is done when the team has a written inventory signed off by the database owner and the FHIR application owner. If any of these facts is unknown, the team stops here and resolves it first.
Rehearse the upgrade on a production copy
A DBA and an engineer restore a recent production backup to a non-production environment with the same SQL Server version, collation and settings, then run the full sequence below against it. They time each stage on their own hardware, record every warning and error from the migration tool, and confirm the 8.8.2 application starts and serves known records. The rehearsal is complete when the team has a runbook that reflects what actually happened, including any manual steps. Any surprise found here changes the production plan, not the other way round.
Freeze configuration and application changes
The change owner places a freeze on deployments, schema changes, custom interceptor releases and configuration edits for the FHIR server and its database. The freeze covers the upgrade's target branch and images so the artifact tested in rehearsal is the one deployed. The team confirms the freeze in the change system and checks that the pipeline and image registry show the exact 8.8.2 build and the JDK 17 base image chosen for rehearsal.
Take and verify a full database backup
The DBA takes a full backup of the FHIR database and records its name, time and checksum. They then restore the backup to a scratch server and run a consistency check and a row count comparison against the source. The step is done only when the restore succeeds and the counts match. This backup is the first rollback point: until the schema migration runs, restoring it returns the database to its pre-upgrade state.
Stop writes and drain traffic
The platform team removes the FHIR server from the load balancer or gateway, waits for in-flight requests to finish, and stops the running 8.7 or earlier instances so nothing writes to the database during migration. Reads from other systems are routed to a holding response or a read-only replica if one exists. The team confirms with database activity monitoring that no application sessions remain before moving on.
Run the database migration with the documented tooling
An engineer runs the migration using the hapi-fhir-cli migrate-database command and the flags tested in rehearsal, watching the output for the schema version change and any heavyweight migration step. The team confirms the migration completes without errors, the schema version recorded by the tool matches the target, and no migration lock remains. This is the point of no return for a simple restore: from here, rollback means restoring the verified backup, and any writes made after a later restart would be lost.
Deploy the 8.8.2 application on JDK 17
The team deploys the 8.8.2 application on JDK 17 in the same form tested in rehearsal, whether as the container image, a WAR on the application server or a Helm release. They check the runtime version reported at startup and confirm the configuration matches the reviewed file, including the SQL Server dialect settings. Custom interceptors are checked for compilation against the new version before they are enabled.
Run smoke tests and ID checks against known records
The QA team runs a fixed set of read and write tests, then fetches a list of known records whose IDs differ only in letter case and confirms each returns the intended resource and no other. They compare the results with the expected values recorded during rehearsal and check that a new write with an ID in each case is stored separately. The step closes when every check passes. Any mismatch keeps traffic closed and triggers the restore decision in the sign-off.
Reopen traffic and monitor closely
The platform team restores the server to the load balancer in stages, starting with a small share of traffic, and watches error rates, latency, database locks and logs for unexpected ID lookups or constraint errors. The change owner keeps the backup and restore procedure available until the agreed monitoring window closes and the stability checks are signed off. The sequence is complete when the monitoring review records no open issues and the rollback point is formally closed.
Decision path from assessment to a go or no-go for the 8.8 window
The path starts with assessing SQL Server collation and ID use in your deployment. If the deployment is affected, the team rehearses the upgrade on a copy of production, and only a passing rehearsal moves to scheduling the maintenance window. Before the upgrade runs, take backups so a failed verification can be rolled back. Verification is the final gate: a failed check leads to rollback, and a passed check ends with the server live and monitored. Unaffected deployments follow the standard checklist, but they still need to confirm their assessment.
Go or no-go path for the 8.8 window, with rollback on failed verification.
What makes the 8.8 upgrade take longer or cost more
This table lists the factors that lengthen or raise the cost of a HAPI FHIR 8.8 upgrade on SQL Server when case-sensitive IDs need review. Read each row as a question to answer in your environment before requesting a fixed-scope quote, because the answers decide how much review, rehearsal and coordination the work requires.
| Driver | Effect on effort | What to confirm in a quote |
|---|---|---|
| SQL Server data volume | Larger resource and history tables lengthen the migration run, rehearsal cycles and backup and restore steps. | Row counts for the main resource and history tables, and the storage headroom for a full backup before migration. |
| Case-variant IDs needing review | Each set of IDs that differ only by letter case needs a decision on keep, merge or correct, which adds analysis and client-facing changes. | Whether the quote includes a query-based inventory of case-variant IDs and who approves the remediation list. |
| Custom interceptors and providers | Custom code that depends on ID comparison or on changed behavior must be reviewed, changed and tested against the new release. | The count of custom interceptors, providers and partition classes, and whether source code and build pipelines are available. |
| Number of application instances | Each instance, container image or application server must be updated, restarted and checked, and rollout order affects the window. | How many running instances exist per environment, and whether they share one database or run separately. |
| Environments and promotion path | Development, test, staging and production each need the migration applied and verified, so effort grows with the number of environments. | Which environments are in scope and whether the partner delivers the rehearsal in each or only in staging. |
| Change freeze and approvals | Freeze windows and change board sign-off set the dates available for the maintenance window and can force re-planning of testing. | The change calendar, approval steps owned by your team, and whether the schedule includes time for rework after a failed rehearsal. |
| Production-sized test copy | Without a copy close to production size, the migration runtime and case-variant findings cannot be confirmed before the window, which adds rehearsal cycles. | Who creates the copy, how long refreshing it takes in your environment, and whether it contains personal health data that needs controls. |
| Database and runtime access | Partner access to the SQL Server instance, schema migration tooling and application servers determines how much work is done directly and how much your staff perform. | Which accounts, roles and network paths the partner needs, how access is granted and logged, and who runs each step in production. |
Questions teams ask before planning the 8.8 upgrade
Is my SQL Server HAPI FHIR deployment affected by the 8.8 upgrade?
Your deployment is in scope if you run the HAPI FHIR JPA server on Microsoft SQL Server and the database holding its schema uses a case-sensitive collation, since that combination is the one the 8.8 migration is known to break for zero-downtime upgrades. Check three things: the database engine, the collation of the HAPI FHIR database, and whether any clients or integrations depend on the casing of resource IDs. Teams on PostgreSQL are outside this topic, although they should still read the 8.8 notes. Confirm the exact objects the migration touches in the HAPI FHIR releases notes for your target version, then verify against a copy of your own schema before scheduling any work.
How do I check whether my database uses case-sensitive IDs?
Run a collation query against the HAPI FHIR database and treat any collation with case sensitivity (usually indicated by a CS in its name) as a candidate for this upgrade path. In T-SQL, SELECT DATABASEPROPERTYEX(DB_NAME(), 'Collation'); returns the database default. Also check the collation of the columns in the HAPI schema tables, because a database default can differ from column-level settings after earlier changes. Record the results with the server version and the HAPI FHIR version you run today. Then compare the output with the 8.8 release notes and test the same query on a restored copy, so the answer reflects the database you will actually migrate.
What drives how long a HAPI FHIR 8.8 upgrade takes?
Duration depends on the size of the FHIR data set, the number of database and index changes the migration applies, and how much of the work runs during a maintenance window. Data volume matters most, because the migration reads and rewrites rows, and a large resource table takes longer than a small one. Other drivers include the number of HAPI FHIR nodes you must restart, the number of custom interceptors and providers that need testing on the new version, the size of the rehearsal and backup steps, and how many environments you upgrade in sequence. Ask any partner for a timeline built from your row counts and environment list, and ask for the rehearsal runs that produced it.
What does the upgrade require from our internal team?
Expect your team to supply access, decisions and testing knowledge. The DBA needs to grant backup, restore and schema-change rights and to confirm the maintenance window and backup retention. The platform team owns the runtime, which includes the Java version, application server or container images, and the deployment pipeline. Application owners must identify which clients, custom interceptors and integrations use resource IDs, so you can run their regression tests against the upgraded server. Security and compliance staff should approve the change record and the evidence collected. Someone must also own the go or no-go decision during the window. Name these owners before the planning meeting, because the migration stalls quickly when they are not available.
Can our own team perform the 8.8 upgrade without a partner?
Yes, a team with SQL Server administration skills, HAPI FHIR operations experience and a tested rollback plan can perform the upgrade internally. The work is manageable when the database is small, the deployment is a single environment, and the team has run HAPI FHIR migrations before. The risk rises when the schema is large, custom code depends on resource ID behavior, several environments must move together, or no one on staff has rehearsed a restore. Assess your team against those conditions honestly. Whichever route you choose, rehearse the full sequence on a copy of production, time each step, and record what you would do if the migration stops partway through.
What does a fixed-scope quote for this upgrade cover?
A fixed-scope quote covers a written list of work agreed before the engagement starts. DeployOpen typically defines the environments in scope, the HAPI FHIR and SQL Server versions involved, the current-state assessment, the rehearsal runs on a copy of production, the maintenance window runbook, the upgrade execution, post-upgrade verification and the rollback procedure. It should also state which custom code, integrations and interceptors are tested and what evidence is delivered. Items usually excluded include application changes to fix problems found in testing, work on other databases or unrelated environments, and ongoing support after the window. Ask for each deliverable, each assumption and the change process if scope shifts during rehearsal.
Can the 8.8 upgrade avoid downtime entirely?
Zero-downtime is not the expected outcome for this migration, because the 8.8 change for SQL Server with case-sensitive IDs is the one that breaks a rolling upgrade path. Plan for a maintenance window in which the server is stopped while the schema migration runs. You can still reduce the length and the impact of that window. Options include rehearsing each step on a copy of production, pre-staging the new application image, pre-checking data, and communicating read-only or outage periods to clients in advance. Confirm the exact behavior of your target version in the release notes before you tell stakeholders how long the service will be unavailable.
How does rollback work once the migration has run?
Rollback depends on whether the migration can be reversed in place, and you should not assume it can. The reliable approach is a full, verified backup taken immediately before the migration, plus a tested procedure to restore that backup and return the previous application version. Confirm in the 8.8 release notes whether any schema change prevents running the older server against the migrated database. Set a decision point before the window opens, after which you commit to forward-fixing rather than restoring. Keep the backup until post-upgrade checks, client regression tests and the business sign-off are complete, and test the restore on a separate host at least once.
How DeployOpen scopes and delivers a HAPI FHIR 8.8 upgrade
DeployOpen treats the HAPI FHIR 8.8 upgrade on SQL Server as a scoped change to your own server, database and deployment, not a generic version bump. We start by establishing which databases, ID patterns and clients are affected, then build and rehearse the upgrade on a copy of your environment before any production change.
How we scope
- Written scope lists the HAPI FHIR JPA server instances, SQL Server databases and collations included in the upgrade.
- Scope records which resource IDs use mixed case and which clients depend on their exact spelling.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
- Scope states who approves the maintenance window and who signs off on the rollback plan.
How we build
- We inventory the Java runtime, application server or container image and check it against the 8.8 requirements.
- Schema migration is rehearsed on a restored copy of your SQL Server database with the same collation.
- We test ID lookups, search and client references against the copy and record every mismatch found.
- Backups, a tested restore and a rollback procedure are verified before the production migration step.
How we hand over
- You receive the runbook with ordered steps, commands, owners and go or no-go checkpoints for the window.
- Documentation records the affected ID patterns, client changes and the verification queries used.
- Handover includes a review session where your DBAs and platform engineers run the procedure themselves.
- Rehearsal results and open risks are delivered in writing so your change board can review them.
How we support
- Post-upgrade checks confirm search, reads and writes behave as expected for your clients and integrations.
- Ongoing support, upgrades and continuous testing are available as a retainer for later HAPI FHIR releases.
- Support covers patch reviews against the HAPI FHIR releases you run, with changes scoped in writing.
- Your team keeps ownership of production; we advise on each change and document what was done.

