The FHIR terminology server for SNOMED CT, LOINC, ICD and every other code system, in one binary.
Documentation · Quick start · What it implements · Licensing
Conformance and compliance
(self-tested and self-assessed counts; none is a certification)
EHDS
Health records are full of codes. A diagnosis is a SNOMED CT or ICD code, a lab result a LOINC code, a medicine a code from a national drug database. These code systems (the shared lists of medical terms) are what let two systems agree that they mean the same thing. Every application that records or exchanges clinical data needs to look codes up, check them and search them.
FerroTERM answers those questions for every application at once. It is a FHIR terminology server in pure Rust: it loads the code systems you are licensed for and serves them over the HL7 FHIR terminology API. Look up a code, check that a code belongs to a list, find every narrower term, translate a code from one system to another. It runs as one program over an index built once per release, with no JVM, database or search engine to operate beside it.
It is for hospitals and national eHealth programmes that need one terminology service for all their applications, for vendors and integrators that need SNOMED CT, LOINC or ICD in their products without a heavy terminology stack, and for terminology teams that edit and publish value sets in the console.
- The FHIR terminology API:
$lookup,$validate-code,$subsumes,$expand,$translateand$closure - FHIR R4, R4B, R5 and the R6 ballot, each in its own version's shapes, in JSON and XML
- Value sets, implicit value sets and ECL, the SNOMED CT Expression Constraint Language
- Stored value sets, code systems and concept maps with history, when you name a database
- Syncing from a national terminology service, one way into a running server
- The console, its own image: browse, look up, expand and translate, and compose value sets
It serves these code systems, each from the release you are licensed for, with UCUM and the registries built in:
SNOMED CT, LOINC, UCUM, BCP 47, BCP 13, ISO 3166-1, ICD-10 (WHO), ICD-10-NL,
ICD-10-CM, ICD-11 MMS, ICD-11 ICF, ICD-11 Foundation, ATC/DDD, ICPC-2, RxNorm,
the DHD Diagnosethesaurus and Verrichtingenthesaurus, the G-Standaard, the
Nederlandse Labcodeset, the NHG ICPC-1 to SNOMED CT map, NPU, ICD-O-3, EMDN,
ISCO-08, ORPHAcodes, the DICOM Controlled Terminology (DCM), EDQM Standard
Terms, EMA SPOR, the SNOMED CT Global Patient Set, UDI device identifiers,
the EHDS identifier types, and any FHIR CodeSystem, ValueSet, and ConceptMap resources (HL7
Terminology's 900+ systems load this way).
The code systems page lists, per system, the versions handled, the build command and the licence position.
The quickstart runs the published image with nothing loaded: it serves UCUM,
BCP 47, BCP 13 and ISO 3166-1 from the binary. You need Docker Compose
2.23.1 or newer, curl, jq and openssl, and no checkout. Every release
attaches the quickstart as one self-contained compose.yaml; download the
latest release's into an empty directory:
curl -fsSLO https://github.com/FerroHEALTH/FerroTERM/releases/latest/download/compose.yamlMake the index directory and the console's secret beside it, and start the server:
mkdir -p index secrets && umask 077
openssl rand -hex 16 > secrets/console_oidc_client_secret
docker compose up --waitLook up a unit of measure:
curl --fail-with-body -s 'http://localhost:8080/r4b/CodeSystem/$lookup?system=http://unitsofmeasure.org&code=mg/dL' \
| jq -e '.resourceType == "Parameters"'Both steps are part of
scripts/quickstart/tour.sh, which CI runs
over the repository's compose.yaml, the file each release attaches. A
clinical code system such as SNOMED CT is a release you hold a licence for:
the build service of the same file turns it into an index under ./index
once, and the server reads that index at startup.
Install and run and
loading code systems
continue from here.
Every release publishes, from one tag:
- the server image
ghcr.io/ferrohealth/ferroterm, the sync imageghcr.io/ferrohealth/ferroterm-syncand the console imageghcr.io/ferrohealth/ferroterm-console, forlinux/amd64andlinux/arm64; - the
ferroterm,ferroterm-buildandferroterm-syncbinaries forx86_64andaarch64Linux, on glibc and on musl, and the quickstartcompose.yaml, on the GitHub release.
Install and run covers compose and the container by hand, hardware sizing the memory each code system needs, and health, metrics and request identifiers what an orchestrator reads.
- What you install: every release artifact carries signed SLSA Build Level 3 provenance and an SBOM you verify before you run it (Verifying releases).
- Conformance: the conformance badges above come from the HL7 terminology ecosystem test suite, run against every change, with a committed pass list per FHIR version (Conformance).
- Measured: every figure below comes from a benchmark record committed to the repository, and a check fails when a page and the records disagree.
The source is public and every feature is in this repository; there is no paid edition with extra functions.
Speed and footprint, measured per code system
| Code system | Release | Concepts | Build | Peak build memory | Index on disk | Resident | $lookup |
$validate-code |
$subsumes |
$expand (small) |
$expand (large) |
Search | Snowstorm |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ICD-10-CM | 2026 | 98,827 | 1.51 s | 359 MB | 44 MB | 91 MB | 105 µs | 60 µs | 58 µs | n/a | n/a | n/a | not run |
| ICD-10-NL | 2021 | 42,769 | 880.52 ms | 221 MB | 21 MB | 66 MB | 96 µs | 60 µs | 64 µs | n/a | n/a | n/a | not run |
| ICD-11 MMS | 2026-01 | 37,211 | n/a | n/a | 44 MB | 99 MB | 138 µs | 59 µs | n/a | 129 µs | 116 µs | 139 µs | not run |
| LOINC | 2.83 | 257,266 | 8.15 s | 2.54 GB | 310 MB | 440 MB | 136 µs | 56 µs | n/a | 126 µs | 7.23 ms | 283 µs | not run |
| RxNorm (prescribable subset) | 09082026 | 81,468 | 4.58 s | 667 MB | 77 MB | 133 MB | 388 µs | 114 µs | n/a | n/a | n/a | n/a | not run |
| SNOMED CT (International edition) | 20260901 | 535,502 | 14.12 s | 3.06 GB | 559 MB | 943 MB | 217 µs | 66 µs | 59 µs | 215 µs | 1.7 ms | 353 µs | not run |
| SNOMED CT (Netherlands edition) | 20260630 | 548,949 | 17.66 s | 3.88 GB | 864 MB | 1.14 GB | 222 µs | 66 µs | 59 µs | 285 µs | 2.28 ms | 817 µs | not run |
Warm p50 over 200 HTTP round trips on one machine (Apple M2, 17.18 GB, macos/aarch64), FerroTERM 0.1.4 serving FHIR R4B, taken 2026-09-22. The records are under bench/records/; the benchmarks page has the method, the cold and tail latencies, and how to reproduce a record.
The SNOMED CT, LOINC, ICD, RxNorm and Dutch release readers and the terminology engine are published as Rust crates.
| Crate | What it does | Version | Docs | Downloads |
|---|---|---|---|---|
rf2 |
The SNOMED CT RF2 release loader and typed component model (Apache-2.0) | |||
concept-graph |
The SNOMED CT ontology as CSR adjacency and roaring transitive-closure bitmaps | |||
concept-store |
The disk-backed columnar concept and description store | |||
designation-index |
The fst and roaring description search index | |||
sct-ecl |
The SNOMED CT Expression Constraint Language lexer, parser and evaluator | |||
sct-scg |
The SNOMED CT Compositional Grammar lexer, parser and printer | |||
loinc |
The LOINC release loader and typed row model | |||
classification |
The ClaML and ICD-10-CM tabular readers into one classification model | |||
dhd-thesaurus |
The DHD Diagnosethesaurus and Verrichtingenthesaurus reader | |||
gstandaard |
The G-Standaard (Z-Index) product ladder reader | |||
labcodeset |
The Nederlandse Labcodeset publication reader | |||
icd11 |
ICD-11 entities from the WHO ICD-API local deployment, cached and read | |||
rxnorm-rrf |
The RxNorm Rich Release Format reader and typed row model | |||
fhir-terminology |
The FHIR terminology operations over the code system provider seam |
FerroTERM is one of five FerroHEALTH servers. Each does one job and reaches the others only over published standards: FerroEHR stores the record, FerroBRIDGE translates it to FHIR and the OMOP research model, FerroFED connects records across organisations and borders, FerroPIX matches patient identities, and FerroTERM serves the code systems. Any FHIR client can use FerroTERM.
- The FerroTERM book: evaluate, integrate, operate and contribute, and the FerroHEALTH book for what the family shares
- What FerroTERM is, architecture at a glance and how it compares
- Benchmarks, the changelog and the GitHub releases
- Support and the security policy
- Contributing, code of conduct, governance, maintainers and the AI statement
Business Source License 1.1 (LICENSE): free outside production
and for non-commercial production use, a commercial licence from Cadasto
B.V. for other production use, and Apache License 2.0 four years after each
version; the rf2 crate is Apache-2.0 today. The code systems keep their
own licences, and the
licensing page says
which applies to you.
