Page tree
Skip to end of metadata
Go to start of metadata

Introduction

This page lists known open source implementations of the FHIR specification. For a list of running servers, see Publicly Available FHIR Servers for testing

Reference Libraries

  • JAVA: https://github.com/jamesagnew/hapi-fhir - James Agnew / University Health Network
    • Open-source Java library for quickly creating FHIR Servers and Clients
    • Geared towards adding FHIR capability to existing applications (e.g. it's not a database, it's a library for quickly bolting FHIR on to your own database, or connecting to other FHIR servers as a client)
    • Supports all resource types, most operations, and both xml and json encodings
    • "Tinder" code generator (Maven plugin) creates model objects and clients from Profiles and Conformance statements
  • DotNet Server: https://github.com/FirelyTeam/spark
    • Reference server built in parallel with Grahame's to test the specification (actively developed during DSTU2, recent updates to support STU3)
    • Supports all resource types, searches, many operations, xml + json
    • Built in .NET with the .NET reference implementation, WebApi 2.0 library, Mongo DB for storage and search.
  • Python - SMART on FHIR: https://github.com/smart-on-fhir/client-py
    • Open-source Python library for quickly creating FHIR applications
    • Supports (R4 coming soon...), STU3, and DSTU2, all resource types, json encodings, some validation
    • *fhirclient*, a flexible Python client for FHIR servers supporting the SMART on FHIR protocol
    • data model classes that handle (de)serialization and allow to work with FHIR data in a Pythonic way
    • *fhir-parser* application to build custom resources
    • Demo Flask App

JavaScript

There is no single reference implementation for JavaScript.

Other Open source Implementations

  • FHIRBase - open source relational storage for FHIR with document API based on PostgreSQL. FHIRBase is an attempt to take the best parts of Relational & Document Databases for persistence of FHIR resources. FHIRBase stores resources relationally and gives you the power of SQL for querying & aggregating. At the same time FHIRBase provides a set of SQL procedures & views to persist and retrieve resources as a json documents in one hop.
  • the FHIR build tool itself is open source and includes various definitional and reasoning tools. See [2].
  • [4] - DSTU-2 FHIR entities compatible with .Net Core
  • Synthea - Synthetic patient simulation that generates longitudinal FHIR (R4, STU3, and DSTU2) records suitable for software development, integration, testing, demoing. Over 60 diseases with reasonable comorbidities and treatments. Supports Patient, Condition, Encounter, Observation, DiagnosticReport, Immunization, AllergyIntolerance, MedicationRequest, Procedure, ImagingStudy, Organization, Practitioner, Claim, ExplanationOfBenefit.
  • No labels

5 Comments

  1. Is this needed or is it covered in the FHIR specification itself?

    1. The FHIR specification points to this page actually.  The list of available open source implementations is dynamic and isn't appropriate to embed in the formal specification

  2. OK - I just like not having to worry about going to the wiki unless directed there by the spec - less confusing - one less place to check because it feels likes it in the spec then,

  3. Are there requirements to have a library listed here? I'm developing one for Flutter/Dart, and it's not completed yet, but I wanted to now if there are specifications it would have to meet to be listed here. 

    1. Just be an open-source licensed implementation of FHIR...