What is Fhirbase and why you might want to use it.
Data is the heart of any healthcare system, and thus should it should be properly modelled and managed reliably. Open source FHIR standard provides you an robust data model covering most important healthcare domains. PostgreSQL is a battle-proven open source relational database which supports storing of JSON documents while preserving ACID guarantees and the richness of the SQL language. Combination of these two technologies is a perfect foundation to build your system on.
Fhirbase is a common name for a command line tool and set of libraries aiming to lower the entry barrier for both FHIR and PostgreSQL. It gives you an ready to use components to boost your development, as well as guidelines how to store and access your FHIR data. With Fhirbase you can break FHIR API abstraction and operate with FHIR data on database level.
History of Fhirbase
While using this version, we recognized that sometimes only the schema and persistence parts of Fhirbase were valuable. Most likely you would want to implement FHIR logic in your application layer instead of database stored procedures. So at this time we decided to decouple Fhirbase into three components:
Database Schema & utils to store and query FHIR information in PostgreSQL
FHIR metadata storage and manipulation
FHIR operations implementation
Current version of Fhirbase is focused on the first one, with an emphasis on good performance and simplicity.