Public | Automated Build

Last pushed: 2 years ago
Short Description
Open source relational storage for FHIR targeting real production.
Full Description

[WARNING] This repository will be replaced by Fhirbase 2


FHIRbase is an open source relational storage for
FHIR targeting real production.


While crafting Health IT systems we understand an importance of a
properly chosen domain model. FHIR is an open source new generation
lightweight standard for health data interoperability, which (we hope)
could be used as a foundation for Health IT systems. FHIR is based
on a concept of resource.

FHIR® is a next generation standards framework created by HL7. FHIR
combines the best features of HL7 Version 2, Version 3 and CDA®
product lines while leveraging the latest web standards and applying
a tight focus on implementability.

Also we learned that data is a heart of any information system, and
should be reliably managed. PostgreSQL is a battle proved open source
database which supports structured documents (jsonb) while
preserving ACID guaranties and richness of SQL query language.

PostgreSQL is a powerful, open source object-relational database
system. It has more than 15 years of active development and a
proven architecture that has earned it a strong reputation for
reliability, data integrity, and correctness.

Here is the list of PostgreSQL features that we use:

We actively collaborate with PostgreSQL lead developers to craft
production ready storage for FHIR.

Why are we doing this inside a database?

We decided to implement most of FHIR specification inside a database for
scalability reason (all data operations are done efficiently in a database).

This approach also gives you a possibility to use FHIRbase from your
preferred lang/platform (.NET, java, ruby, nodejs etc).
We have implemented FHIR compliant server in clojure with small amount of
code - FHIRPlace.

And there is an option to break FHIR specification abstraction (if required) and
go into the database by generic SQL interface and complete your business task.


FHIRbase implements 80% of FHIR specification inside the database as

  • meta-data resource storage (StructureDefinition, ValueSet, SearchParameter, etc)
  • CRUD on resources with history
  • search operations with indexing
  • transactions



  • resource validation
  • referential integrity
  • terminology
  • guides for java, .NET, python, ruby, js



Powered by Health Samurai

Sponsored by:


Copyright © 2014 health samurai.

FHIRbase is released under the terms of the MIT License.

Docker Pull Command
Source Repository