Loading SNOMED CT into HAPI FHIR: what the load gives your terminology service
If your team runs or plans a HAPI FHIR JPA server and must validate or expand SNOMED CT codes, loading a SNOMED CT release onto that server is what gives it the code system to answer those requests itself. Once the release is in the database, the server can look up concepts, check whether a code is valid for a given system and version, and expand value sets that draw on SNOMED CT. Without the load, those operations depend on an external terminology source, and your validation results depend on that source's availability, version and response behavior. The load is a decision about where terminology authority sits in your architecture, not only a data import.
The content license is separate from the HAPI FHIR software license. HAPI FHIR is licensed under the Apache Software License 2.0, but SNOMED CT is distributed under its own license terms through national or affiliate arrangements, and those terms govern who may hold, load and redistribute the content. Before the load, confirm with your national SNOMED CT release provider or the terminology licensing body that your use case, including hosting the content on a shared internal server, is covered. Your legal and procurement teams should own that check, and it should be documented before the first upload.
Load the release when several systems need consistent SNOMED CT validation, when expansion must work offline or inside a restricted network, or when you need a pinned release that you control. Referencing an external terminology service may be enough for a single application with light validation needs, low volume and no data-residency constraints. Whichever path you choose, confirm the exact upload behavior, supported release formats and versioned system URL handling against the HAPI FHIR documentation for the version you run, since these details change between releases.
Which SNOMED CT load option fits your deployment
This table compares the four decisions that change a SNOMED CT load: edition, staging versus production, target database and versioned versus unversioned system URL. Read each row for when the option fits and what it costs in effort or risk, then combine rows to match your deployment.
| Decision | When it fits | Effort or risk to plan for |
|---|---|---|
| International edition | Your records and interfaces use international concepts and you do not need national extension content | Confirm your licence terms cover the edition you load and that local extensions are not required by your partners |
| National edition or extension | Your national authority mandates a national release or local extension codes that sit on top of the international content | Two releases must be aligned, and extension dependencies on the international release must be loaded in the right order |
| Staging instance first | You are loading a release for the first time or upgrading to a new release that changes many concepts | Requires a second JPA server, a separate database and a repeatable process so staging results match production |
| Load directly into production | A proven, documented load procedure already exists and the release has been tested on staging | Any failed or partial load affects live validation and expansion, so plan a rollback or a restore point before starting |
| Embedded H2 database | Short trials, demonstrations and learning how the upload command behaves on a laptop | Not suitable for production. Plan to repeat the load on PostgreSQL or Microsoft SQL Server before go-live |
| PostgreSQL or Microsoft SQL Server | Production and any environment that must hold a full SNOMED CT load for many users | Needs database sizing, backups and tuning of the load. Confirm storage capacity with your DBA using the release size |
| Versioned system URL | Several terminology versions must coexist, or you need to roll out a release without breaking existing value sets | Each version adds storage and must be named consistently in value sets, clients and validation rules |
| Unversioned system URL | A single active release is enough and no client pins a version | Upgrades replace concepts in place, so validation can change without notice. Confirm which clients depend on the current content |
How a SNOMED CT release moves from licensed files to server-side terminology
The flow starts with the licensed SNOMED CT release package, whose RF2 files stay inside the trust boundary and are never copied to client systems. The operator extracts them into a staging directory, then runs the hapi-fhir-cli upload, which hands the content to the HAPI FHIR JPA server, and the server writes the terminology tables to the database. Before any client uses the content, the operator confirms the loaded version on the server. Client systems then send expansion and validation requests only to the server.
Path from the licensed SNOMED CT package to the JPA server, with the staging step and version check marked.
Steps for loading SNOMED CT into HAPI FHIR
This sequence takes a SNOMED CT release from licensing through a verified production load, so the same procedure is tested before it touches live terminology. Each step ends with a check that shows whether the load is complete and correct.
Confirm the license and edition
Before any file is downloaded, the licensing owner confirms which SNOMED CT edition the organization may use, such as the international edition or a national extension, and that the license covers your hosting and internal use. Record the edition name, the release date and the release package that was approved. The step is done when the license holder can point to a written approval that names the exact package you will load. Confirm the terms with the national SNOMED CT licensing authority or your legal team, not with the server team alone.
Provision a non-production JPA server
The platform team deploys a HAPI FHIR JPA server in a non-production environment, backed by the same relational database product and major version you plan to use in production. Check the Java runtime against the requirements in the version documentation for your chosen HAPI FHIR release, since the project states that 8.2.0 requires JDK 17. The step is complete when the server answers a metadata request and the database connection is confirmed in the logs.
Run the upload with hapi-fhir-cli
An engineer runs the terminology upload with hapi-fhir-cli, using the command syntax, options and file layout described in the documentation for your exact HAPI FHIR version, because flags change between releases. Record the command, the release files used and the start and end times, and keep the console output. Confirm the database target in the configuration before running, so the load does not land in a shared or live schema. The step produces a completed upload log with no unresolved errors.
Verify the code system version
Using the server's CodeSystem search, the engineer confirms that the SNOMED CT code system is present under the versioned URL you intended, with the version string that matches the release package. Check that there is only one active entry for that release and that earlier loads are listed as separate versions rather than overwritten. The step is done when the version identifier in the response matches your change record exactly.
Test lookups and validations on a sample
The engineer chooses a sample of concepts the organization uses most, including some that are inactive or recently changed in the release, and runs $lookup and $validate-code against the loaded version. Compare the display names, status and properties with the source release and the national browser where one exists. Record the sample list and results in a test sheet. The step is complete when every sampled result matches the expected output, and any mismatch is logged and resolved before promotion.
Measure load time and storage
The platform team records how long the upload took, how much database storage the code system uses after the load, and how much free space remains on the volume. Compare these figures with the sizing guidance for your HAPI FHIR version and your database, and confirm the expected headroom for the next release. The step produces a sizing note that the production capacity plan can reference. Confirm sizing assumptions with your database administrator, since storage behavior depends on the database and its configuration.
Promote the same procedure to production
The team repeats the verified steps on the production server, using the same HAPI FHIR version, the same command and the same release package, with a change record that links the non-production test results. The release owner signs off the version, sample results and rollback plan before the upload runs. The step is complete when the production CodeSystem version matches the tested version and a smoke test of lookups and validations passes.
What drives load time and storage for a SNOMED CT release
Load time and storage for a SNOMED CT release depend on what you load, where it lands and what else the server is doing at the same moment. The cards below separate the factors you choose from the factors you inherit, so you can size a staging run before committing hardware.
Release and edition size
The edition you import (international or a national extension) and the release package you choose set the number of concepts, descriptions and relationships the server must index. A national extension adds content on top of the international release, so the two files are not interchangeable in size. Ask your terminology team which edition and extension your use case requires, then record the package size and file count for each release you plan to keep. Those figures become the baseline for every later estimate.
JPA server docsDatabase engine and disk
The JPA server defaults to an embedded H2 database, which suits a trial but not a production terminology load. For production, PostgreSQL or Microsoft SQL Server carries the upload, and their tuning for write throughput, index maintenance and disk layout determines how long the import takes and how much space it occupies. Confirm the storage class, IOPS and free-space headroom with your database administrator before the run, because the import creates large indexes that temporarily need more room than the final data.
Starter repositoryJVM memory and heap settings
The upload is processed in the Java Virtual Machine, so heap size and garbage collection settings shape both speed and stability. An undersized heap can slow the load or fail it with an out-of-memory error partway through, which wastes the run. Set the heap explicitly in your startup configuration, watch garbage collection during the load, and record the values you used so the production run matches the tested one. Confirm the JDK version against the HAPI FHIR version you deploy, since 8.2.0 requires JDK 17.
Serving traffic during the load
If the server answers FHIR requests while the SNOMED CT upload runs, the import competes with searches and validation calls for database connections, CPU and memory. Lookups that depend on the new code system may also return partial or inconsistent results until the load finishes. Decide whether the load runs in a maintenance window with traffic stopped, or on a separate instance that is switched in once complete. Measure load time both ways in staging, because the difference can be large.
Number of versions kept side by side
Each SNOMED CT release you keep adds its own concepts, descriptions and relationships, so storage grows with every version retained rather than being replaced. Keeping the previous release for rollback or for validating historical data roughly multiplies the footprint. Decide with your clinical and data governance teams how many versions must stay queryable, and whether older versions can be archived. Plan the disk for the retained set, not for a single release.
Measure in staging with the real release
General estimates from other deployments rarely match your edition, database, hardware and traffic pattern, so treat any published figure as a starting point only. Run the exact release package on a staging copy of your production stack, record load time, peak heap, database size before and after, and index size. Ask your vendor or implementation partner to show these measurements for your configuration before you approve production sizing.
Keeping versioned SNOMED CT system URLs side by side
Identify every loaded SNOMED CT release by its versioned system URL and its version string, and treat the unversioned URL as a pointer to whatever you have chosen as the default, not as a fixed release. SNOMED CT releases are published on a regular cycle, and a national edition and the international edition can differ in content, so a client that sends only the base system URL gets results from a release you may have changed without telling it. When each release has its own versioned URL, a $expand, $lookup or $validate-code request can name the exact release with the version parameter or the system|version form, and the answer stays stable for as long as that release remains loaded. Confirm the exact URL pattern your national authority and your HAPI FHIR version expect before you load the first release, because changing it later means reloading content and re-pointing every client.
The failure that most often appears in shared environments is silent drift. Suppose several systems call the same unversioned SNOMED CT URL. When an operator loads a new release and updates the default, a claims system validating codes may start rejecting codes that were valid last week, or a clinical decision rule may return a different set of descendants for the same value set, with no error logged on the server. Confirm with each consuming system whether it sends a version in its requests, and whether it stores expanded value sets or validation results that would go stale after a change. Systems that send no version should be listed explicitly, because they are the ones that move when the default moves.
Before loading, settle three questions in writing. First, which versions must stay available, for example the release that your coded data was recorded against, and for how long after a newer release is in use. Second, which systems pin to which version, recorded per system rather than assumed from a shared configuration. Third, who approves a change of default and who is told when it happens. In many organizations this is a joint decision between terminology governance, the owners of the consuming applications and the platform team that runs the server. Record the answers in the same place as your load runbook, so that the person who loads the next release can see which versions cannot be removed and which clients need testing first.
Updating to a new SNOMED CT release by environment
A development or test server is the place to rehearse an update before anyone depends on it. Load the new release into a copy of the server database, not the one your team currently uses for testing, so the previous state stays intact if the upload fails. Treat this environment as the trial run for the sequence you will later repeat in production.
- Stage the release on a copy: Take a database backup or snapshot first, then load the new release with
hapi-fhir-cliunder a new versioned system URL so the previous release remains queryable. - Record the exact steps: Write down the commands, the CLI version, the JDK version and any configuration changes so the production run repeats them exactly.
- Roll back by restoring the snapshot: If the load or a test fails, restore the database snapshot and confirm the previous version resolves again.
- Run your own validation tests: Check lookups,
$validate-codecalls and expansions for codes you know are affected by changes between releases. - Confirm the version in place: Query the code system resource and confirm the new version string and URL appear, and that the previous version still responds.
The test environment is also where you find out whether your dependent applications send a version parameter at all. Confirm the result against your own test cases before moving the same steps to production.
A production server that serves validation traffic is the riskiest environment because other systems send requests to it while the update runs. Plan the load in a window your dependent teams have agreed to, and keep the previous version available until every consumer has moved. Expect that load and index activity can slow responses for the duration, so measure response times before and after.
- Agree the window with consumers: Tell the owners of each system that validates against this server when the load starts, which version they should pin to, and who approves the cutover.
- Load under a new versioned URL: Keep the existing version live and load the new release beside it, so clients that pin a version keep working.
- Plan the rollback path: Keep a tested database backup from just before the load. Rollback means repointing clients to the old version or restoring the backup, and you should rehearse which one applies.
- Check the new version in place: Confirm the code system lists the new version, that
$lookupand$validate-codereturn results for sample codes, and that expansion of your key value sets completes. - Coordinate the default version: Change the default version only after dependent systems have tested against the new one, and record who approved the switch.
Before you close the change, confirm with each dependent team that their validation results match their test expectations on the new version.
An air-gapped or restricted network cannot download the release directly, so the release files must be obtained on a connected system, checked and carried across through your approved transfer process. The load itself runs the same way, but the transfer, checksum and approval steps add work and need named owners. Confirm with your security team which media and scanning steps apply before the release arrives.
- Transfer through approved media: Move the release package through your controlled transfer process, and keep a record of who handled it and when.
- Verify integrity before loading: Compare checksums against the values published with the release on the connected side, and document the result before the file enters the restricted network.
- Load from a snapshot: Take a database backup on the restricted server first, then run
hapi-fhir-clifrom the staged files so the previous state can be restored. - Test inside the enclave: Run your validation test cases on the restricted server before any consumer switches, since no external service can check the result for you.
- Record the chain of custody: Log the release identifier, file hashes, load date and the approver so auditors can trace which version was in use.
Confirm the approved transfer procedure and any scanning requirements with your security and records teams before planning the first update, because they determine how much lead time the change needs.
Limits to confirm in your environment before you load
The release you load, the HAPI FHIR version that reads it, the database that stores it and the operations your clients call all depend on facts this page cannot settle for you. Confirm each one before you start the load, because a mismatch in any of them is far harder to correct after the content is in the server.
SNOMED CT edition and license
Your organization needs a licensed SNOMED CT distribution for the edition and country it operates in. The international release and national extensions are published separately, and each carries its own terms. Ask your national SNOMED CT licensing body or the vendor which edition your license covers, which extensions are included, and whether the license permits hosting the content on a server you run for several internal systems. Keep the license terms with the release files so auditors can trace what was loaded.
Release format support in your HAPI FHIR version
Check that the HAPI FHIR version you plan to run can import the SNOMED CT release format you have received, including the RF2 file set and any extension packaging. The import tooling and its supported inputs change between versions, so confirm this against the release notes and documentation for your exact version rather than assuming the latest behavior applies. Test the import on a non-production server first, using the same release files you will load in production.
HAPI FHIR versionsJava and runtime requirements
The HAPI FHIR version you choose sets the minimum Java runtime. Confirm the required JDK for your target release before you provision the host or container image, and check that your base image, application server and build tooling match it. A runtime mismatch often appears only when the terminology import starts, so run a complete test import on the same runtime you plan to use in production.
- Required for 8.2.0
- JDK 17
Database size and tuning
A full SNOMED CT import creates a large number of concepts, descriptions and relationships, which adds storage and index load to the database behind the JPA server. Ask your database team to size storage and memory for the target release and any extensions, and confirm the connection and transaction settings the import needs. Measure load time and disk growth on a copy of the production database before you schedule the production run, because these numbers depend on your hardware and the exact release.
Terminology operations your clients need
Loading the code system is not the same as supporting every operation a client may call. Make a list of the operations your applications use, such as $lookup, $expand and $validate-code, and the value sets they reference. Then confirm in the HAPI FHIR terminology documentation for your version that each operation works on the content you loaded, and test each one against your real value sets. Gaps usually appear in large value set expansion and in value sets that reference extension codes.
JPA server docsSecuring the terminology load and the content around it
The SNOMED CT upload should be treated as a privileged administrative operation, because whoever can load or replace a code system changes what every validation and expansion on the server returns. Decide in advance which named roles may start the upload, which may load a new release as a new versioned code system, and which may replace or delete an existing one. Keep the loader role separate from general terminology readers and from the people who administer the server's database. HAPI FHIR does not ship a single security layer, so these roles must be built from its building blocks: an authentication mechanism, the AuthorizationInterceptor for rules on operations such as the code system upload and $expand, and your external identity provider for group membership. Confirm with your own configuration that a reader token cannot reach the upload path, and test that with a negative case before go-live.
Log the load as an auditable event. Record who initiated it, the release identifier and version URL used, the time the job started and finished, and whether it succeeded or failed. Audit logging is available through the BALP building block, but it captures FHIR requests and responses, so confirm that the audit trail includes the upload operation and the resulting code system version, and that retention and review of those logs meet your own policy. Require a second person to review the load summary before a new version is referenced by production value sets. Store the release files, which are licensed distributions, in a access-controlled location with checksums recorded at download, and set a retention period that covers the versions your clinical content still references. Confirm the licence terms and retention rules with your SNOMED CT licensing route before deciding how long to keep the source archives.
Terminology content also reaches the server through other paths, including the resource endpoints and any batch or import jobs, so the access rules must cover every write path, not just the upload command. Review which clients can create CodeSystem, ValueSet and ConceptMap resources directly, and restrict those permissions to the same roles. Where several applications share the server, use partitioning or separate deployments so that one team's release does not change another team's validation. Schedule periodic reviews of role membership, and include the terminology server in your access review cycle. Document the design as part of the evidence your security and compliance teams will ask for, and verify each rule with a test request rather than relying on the configuration alone.
Questions teams ask before loading SNOMED CT into HAPI FHIR
What drives the cost of loading SNOMED CT into HAPI FHIR?
Cost follows the amount of skilled work, not the size of the release file. The main drivers are how many environments need the load (development, test and production), whether the team already runs a HAPI FHIR JPA server, the database and Kubernetes or application server setup you use, and how much validation and documentation you need for your own audit trail. The one-time parts are the initial load, the first validation and the runbook. The recurring parts are each new SNOMED CT release, which repeats the load and checks, and any retainer for ongoing support. Ask for the scope to list each environment, each release you expect to load in the first year, and who runs each step.
How long does the SNOMED CT load and first validation take?
Duration depends on your environment, so the answer should come from a test load on your own hardware and database rather than a general figure. The factors that matter most are the release package you load (international or a national edition), the database and storage performance, the memory and CPU allocated to the server, and whether the load runs in a clean schema or on top of existing terminology data. Validation time adds the checks of concept counts, lookups, and value set expansions that your applications depend on. Ask the provider to run the first load in a non-production environment and to report measured times against your sizing before committing to a production date.
What does our team need to provide for a SNOMED CT load?
Your team needs to supply the licensing position and the release files, a database administrator who can create and size the schema and manage backups, someone who can operate Java applications and the HAPI FHIR JPA server starter, and, if you deploy on Kubernetes, people who can manage the cluster. You also need representative test data and clinical or business owners who can confirm the expansions and lookups that matter to your applications. Check the SNOMED CT license terms for your country and use case before the release is downloaded and loaded, because the license determines who may access and distribute the content. HAPI FHIR 8.2.0 requires JDK 17, so confirm your Java runtime early.
Can our team load SNOMED CT ourselves using the HAPI FHIR documentation?
A capable team with Java, database and FHIR experience can often do the load alone, using the HAPI FHIR documentation and the JPA server starter. The harder parts are rarely the command itself. They are sizing the database, confirming the versioned system URL that clients use, rehearsing the update to a new release without breaking validation, and documenting the steps so the next release goes smoothly. If your team lacks one of those skills, or the server must pass a security or compliance review, a partner can deliver a fixed-scope load with a written runbook. Deciding between the two comes down to who will repeat the work each release and who will answer questions from auditors.
What goes wrong most often when loading SNOMED CT?
Most problems come from the environment rather than the terminology content. Common issues include an undersized database or storage volume, a configuration that runs the server on the default embedded H2 database instead of a production database, out-of-memory errors during the load, and a Java version the server does not support. Teams also run into trouble when they overwrite the system URL for a release that clients still depend on, or when they assume a new release will not change existing codes. Plan a rehearsal in a copy of production settings, keep the previous release available until dependent systems are retested, and record the exact steps taken.
How often do we need to update to a new SNOMED CT release?
The update cadence is set by the SNOMED CT release schedule published by the owner of your edition and by your own clinical and regulatory requirements. Each new release is a repeat of the load, validation and regression testing, so budget for that as a recurring activity rather than a one-off. Ask your provider to define what a routine update includes, such as the load in a non-production environment, the comparison of key expansions, the cutover plan, and rollback steps. Confirm the release dates and edition you must follow with your national terminology authority or licensing body.
What should we ask for in a written scope for a SNOMED CT load?
A written scope should be specific enough that two teams would read it the same way. Ask for the exact release and edition to be loaded, the target environments, the database engine and version, the deployment method (Docker, Helm chart, Tomcat or another runtime), the versioned system URL convention, the validation checks with expected results, the timing and sizing report from the test load, and the handover documentation. Also ask who handles the license position, what is excluded (for example, other code systems such as LOINC or ICD-10), how a later release is priced, and what support period follows go-live. A quote should follow directly from that scope.
How DeployOpen scopes and delivers a SNOMED CT load
DeployOpen plans, builds, tests and documents a SNOMED CT load into a HAPI FHIR JPA server running in infrastructure you control. The work starts with a written scope that names the release, the edition, the server and the update routine, so your team knows exactly what gets delivered before any build begins.
How we scope
- Confirm which SNOMED CT edition and release your licence covers, and which national or international package you will load.
- Record the target HAPI FHIR version, JDK version and database engine, with PostgreSQL or Microsoft SQL Server as the production options.
- Agree in writing the versioned system URLs, the value sets in use and the validation calls that must pass after loading.
How we build
- Prepare a test environment that matches the production server, then run the load with hapi-fhir-cli and record load time and storage used.
- Check the loaded code system, concept counts and sample $lookup and $validate-code results against the release files you supplied.
- Document the upload commands, configuration keys and the step order so the load can be repeated for each new SNOMED CT release.
How we hand over
- Deliver a runbook covering the load procedure, rollback steps, database backup timing and the checks to run after each load.
- Walk your platform and terminology teams through the update routine for new releases, including how older versions stay available.
- Provide written test results and a list of open items, such as licence terms or sizing decisions that your organization must confirm.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer, so each new SNOMED CT release follows the tested routine.
- Review HAPI FHIR upgrades and JDK changes against the loaded terminology before they reach production.
- Keep the runbook and configuration current as your server, database or release schedule changes.

