← All capabilities PipelinesProfilerMDMOMOP CDMViewer

FHIR Vault Suite / Capabilities / Integration

Pipelines

Real-time integration from every HL7® FHIR® source into one vault

Pipelines run on Apache® NiFi™, with Apache Spark™ for large batch loads and data lake exports. Ingress flows bring FHIR R4 and R5 data into the raw vault. Internal pipelines keep the Profiler, MDM, anonymised vaults and OMOP CDM up to date, and egress flows publish data out again. The suite deploys the flows to your NiFi servers and Spark clusters and monitors them for you.

Ingress your wayBulk NDJSON import, or a FHIR REST API facade for R4, R4B and R5.
Kept currentInternal pipelines run as soon as new data has arrived and gone quiet.
Loss-freeFull resources stored as received, with every version.
MonitoredNiFi servers, queues and flows, live from the suite.
The problem

Getting FHIR data out is harder than it looks

Most reporting feeds are built as nightly extracts or as dashboards that call the FHIR API directly. Both break the moment volumes grow, a new FHIR version arrives or a second server is added.

Load on clinical systems Every extract or dashboard query competes with clinicians for the same server.
Stale data Nightly batches mean decisions are made on yesterday’s data.
Lost history Most extracts copy the current state and overwrite what was there before.
Brittle mappings Flattening FHIR into fixed tables breaks with every new profile or version.
How it works

From source to vault, and onwards

The overview shows each data source from left to right: ingress, vaults, internal pipelines, derived vaults and egress.

1 Connect your servers Add your Apache NiFi servers, and any Apache Spark clusters, in Pipelines > Settings. Passwords and tokens are stored encrypted and never shown again.
2 Choose an ingress Import bulk NDJSON files from a folder for the first load, or deploy a FHIR REST API facade (R4, R4B, R5) that systems read from and write to.
3 Load the vault Each resource lands in hubs, links and satellites, with its load date and record source.
4 Switch on internal pipelines Profile new data, match it into MDM, anonymise golden records and load the OMOP CDM, each as soon as new data has arrived.
FHIR Vault Suite · Pipelines · Overview
Pipelines overview with ingress, vaults, internal pipelines, derived vaults and egress
The overview: every data source with its ingress flows, vaults, internal pipelines, derived vaults and egress.
Features

What Pipelines give you

Bulk NDJSON import Load large NDJSON exports from a folder. Ideal for the first load of a new source.
FHIR REST API facade R4, R4B and R5 endpoints that read from and write to the raw vault, plus a read-only endpoint for MDM golden records.
Internal pipelines Profile new data, raw vault to MDM, anonymise golden records and load the OMOP CDM. Each is off until you switch it on.
Egress Publish FHIR resources out of the vault when they change, for example to a folder.
Live monitoring NiFi heap, threads, queues, processors and throughput, the live flow graph of each pipeline, and the executors and jobs of your Spark clusters.
Stored as received The full resource is kept alongside the vault structures, so new reports never need a reload.
Every version kept Updates add a new satellite row; the previous version is end-dated, never overwritten.
Out-of-order arrival Hubs, links and satellites load independently, so a reference can land before its target.
Apache Spark Bulk load large file sets and export the vault to Delta Lake, Apache Iceberg or Parquet tables, on your own Spark cluster.
Under the hood

What lands where in the vault

How each FHIR event becomes Data Vault 2.0 rows.

FHIR eventHubSatelliteLink
New resource arrivesOne row keyed on server, resource type and idFirst version, with the full resource, load date and record sourceOne row per reference inside the resource
Resource updatedNo changeNew row for the new version; previous version end-datedNew rows for any new references
Resource deletedNo changeVersion flagged as deleted, with a load dateKept for history
Reference arrives before its targetTarget hub row created from the referenceFilled in when the target resource arrivesLoaded immediately
New resource type or FHIR versionNew hub tableNew satellite tableNew link rows; existing tables untouched

Illustrative. Table and column names in the delivered schema may differ.

FHIR Vault Suite · Pipelines · Internal
List of internal pipelines per data source with their status and last results
Internal pipelines per data source: profiling, MDM matching, anonymisation and OMOP CDM loading.
In the product

Monitoring your flows

FHIR Vault Suite · Pipelines · Monitor
NiFi server monitor with heap, threads, load and queue charts
Server monitor: heap, threads, load, queued flow files and throughput, refreshed live.
FHIR Vault Suite · Pipelines · Monitor · Flow
Flow graph of an egress pipeline with queues between processors
The flow of a deployed pipeline, with the queue between every processor.
Apache Spark

Heavy batch work on your Spark cluster

Next to NiFi, the suite can hand large batch jobs to an Apache Spark cluster: loading millions of resources from files, and keeping a copy of the vault in a data lake for analytics and machine learning. Spark is optional; without it, everything else works as before.

Bulk load (ingress)
NDJSON filesCloud storage, HDFS or a folder
Spark clusterReads and checks in parallel
Raw vaultStored by the vault’s own loader
Export to a data lake (egress)
VaultRaw, MDM golden records or anonymised
Spark clusterReads the database in parallel
Data lakeDelta Lake, Apache Iceberg or Parquet

The suite sends the job to the cluster over Spark Connect and records every run. The data itself goes between the database, the cluster and the lake, never through the suite.

EgressExport to a data lake

Copies the raw vault, the MDM golden records or an anonymised vault into Delta Lake, Apache Iceberg or Parquet tables, then keeps them up to date. A changes table keeps every version and every delete; with Delta Lake and Iceberg a current table holds the latest version of each resource.

  • Runs every 15 minutes, hourly, daily or only when you choose Run now
  • A watermark per pipeline: no change is skipped or exported twice, even while loads are busy
  • Export all resource types, a selection, or the result of a FHIR search
  • Tables on S3, Azure Data Lake Storage, Google Cloud Storage or HDFS; the storage keys stay on the cluster
IngressBulk load files

Loads large numbers of FHIR NDJSON or JSON files, also compressed, from the cluster’s storage into the raw vault. Spark reads the files in parallel, splits Bundles and checks every resource; the vault’s own loader then stores them, so the Data Vault logic stays in the database.

  • Each run reads only the files that are new
  • Lines that cannot be loaded are kept with the reason
  • A failed run records nothing, so the next run simply takes the same files again
  • The same FHIR server id and record source as the NiFi flows
Set up in minutes Add a Spark Connect server (Apache Spark 4) in Pipelines > Settings. Saving it opens a session and shows the Spark version.
Nothing to install on the cluster The cluster needs only the PostgreSQL JDBC driver and, for those formats, Delta Lake or Iceberg. The suite server needs Python with the Spark Connect client.
Monitored like NiFi The Monitor page has a tab for your Spark servers: executors, cores, tasks, memory, jobs and stages, with each job linked to its pipeline and run.
Try it in Docker The FHIR Suite Docker demo has an optional Spark service with Delta Lake and Iceberg. See the Downloads page.
Governance

Secure by design

Encrypted secrets Connection strings, NiFi passwords and Spark access tokens are sealed with AES-256-GCM using a key kept outside the database.
Isolated sources Access is granted per data source, feature and resource type.
Anonymised copies An internal pipeline creates anonymised vaults: identifiers removed, personal and health information obfuscated.
Retention you control Retention periods are set per source by the operator; current data is never aged out.
Questions

Frequently asked

Do I need Apache NiFi?

Yes. Pipelines run on Apache NiFi. You add your NiFi servers in Pipelines > Settings, and the suite deploys, starts and monitors the flows.

Do I need Apache Spark?

No, Spark is optional. Add a Spark cluster when you want to load very large sets of files or keep a copy of the vault in a data lake. The suite connects to it with Spark Connect, so nothing is installed on the cluster.

How does the first load work?

Import bulk NDJSON files from a folder, then keep the vault current through the FHIR REST API facade or your own integration.

Which FHIR versions are supported?

FHIR R4 and R5. The REST API facade accepts R4, R4B and R5.

Does it put load on my FHIR server?

No. Reports, dashboards and the Viewer read the vault, never the source system’s API.

Works with

Better together

Data Profiling · ProfilerCheck the quality of what the pipelines bring in.Read more →
Master Data Management · MDMTurn records from many sources into golden records.Read more →
Common Data Model · OMOP CDMFeed a research-ready OMOP CDM from the vault.Read more →