SPARQL on FHIR

About the tool

The FHIR specification defines RDF (specifically Turtle) as one of the possible serialization formats for FHIR resources. This means that every FHIR resource or a bundle of FHIR resources can be interpreted as an RDF dataset and queried using SPARQL.

I've created this tool to experiment with the RDF representation of FHIR resources and to demonstrate how FHIR data can be queried using SPARQL.

To use the tool, you need to provide the FHIR data in the FSH format and the SPARQL query.

Demo

The FHIR resources (FSH instances) to be used for evaluating the SPARQL query.
The SPARQL query to be executed against the FHIR resources.
Press the Run query button to execute the query.

See also

Implementation guides used by countries or specific regions.
FHIR
Test CQL against FHIR resources.
CQL, FHIR
Visualize FHIR resources and their relationships.
FHIR
An overview of FHIR and its impact on patient care.
FHIR
Evaluate FHIR Measure resources online.
FHIR, CQL, clinical quality measures, clinical reasoning
Query FHIR stores using GraphQL.
FHIR, GraphQL
Browse the FHIR resource model.
FHIR, data models
Query FHIR servers using HFQL online.
HFQL, FHIR
Execute the $validate operation against a FHIR endpoint.
FHIR, data validation
Query and enrich structured data.
SPARQL, RDF, Turtle
Validate FHIR resources online.
FHIR, data validation
Generate snapshots for FHIR StructureDefinitions.
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.