FHIR Graph Viewer

About the tool

Use this tool to visualize FHIR data as a pretty resource graph.

Demo

The FHIR data in FSH format.
FHIR resource graph
Use ⌘ + scroll (ctrl + scroll) to zoom the graph
Use two fingers to move the graph

What is FHIR?

FHIR (Fast Healthcare Interoperability Resources) is a standard for exchanging healthcare information electronically. This standard is now widely adopted and used by many healthcare systems and organizations around the world.

In FHIR, the real-world entities/concepts/business objects such as patients and medications are represented as FHIR resources. The current version of the specification defines over 150 of these resource types.

References in FHIR resources and FHIR resource graphs

Like their real-world counterparts, FHIR resources are connected to each other, and these connections are stored in resources within Reference-typed fields. For example, a Patient can reference a Practitioner using Patient.generalPractitioner, and a MedicationRequest can reference a Medication using MedicationRequest.medication. Intuitively, these references give rise to a resource graph with the resources as nodes and the references as edges.

Motivation

I'm a big fan of data visualization and enjoy building interactive visualization/exploration tools. Back when I was first exploring the FHIR standard and getting familiar with the FHIR data model, I already started experimenting with visualizing FHIR resource graphs and exploring potential use cases for such visualizations.

How does it work?

The tool uses the d3-force library to arrange the elements of the graph with a static force-directed layout ("the magic auto-layout algorithm").

See also

Test CQL against FHIR resources.
CQL, FHIR
Test SMART on FHIR app flows online.
SMART on FHIR, FHIR
Query FHIR stores using GraphQL.
FHIR, GraphQL
Test CDS Hooks online.
CDS Hooks, FHIR
Generate snapshots for FHIR StructureDefinitions.
FHIR
Browse the FHIR resource model.
FHIR, data models
Author and debug FHIR Mapping Language files.
FHIR Mapping Language, FHIR
Query FHIR terminology services online.
FHIR, terminologies
Query FHIR servers using HFQL online.
HFQL, FHIR
Convert FHIR Mapping Language into StructureMap resources.
FHIR Mapping Language, FHIR
The list of FHIR-compliant servers for working with code systems, value sets, and concept maps.
FHIR, terminologies
Compare two FHIR resources online.
FHIR

Made by Anton Vasetenkov.

If you want to say hi, you can reach me on LinkedIn or via email. If you like my work, you can support me by buying me a coffee.