FHIRPath Testing Tool

About the tool

FHIRPath is a language for navigating through FHIR data models and extracting useful data for use and interpretation. It is similar to XPath and JSONPath, but is adapted to work with FHIR data.

It is often required to write FHIRPath expressions as part of a FHIR implementation. To make sure that the FHIRPath expressions are correct, you typically try them out against some FHIR resources, programmatically using a FHIRPath evaluator.

To make it easier to prototype and test FHIRPath expressions, I've built this online FHIRPath Testing Tool. Using this tool, you can easily input your FHIRPath expressions and check if they retrieve the correct data from the FHIR resources.

The tool uses the fhirpath.js library to evaluate the FHIRPath expressions in JavaScript. The evaluation is done entirely in the browser.

Demo

The FHIR resource JSON to evaluate the FHIRPath expression against.
The FHIRPath expression to evaluate against the FHIR resource JSON.
[
"green"
]

See also

Query FHIR stores using GraphQL.
FHIR, GraphQL
Generate FHIR Implementation Guides online.
FHIR
Implementation guides used by countries or specific regions.
FHIR
Query FHIR terminology services online.
FHIR, terminologies
Convert FHIR Mapping Language into StructureMap resources.
FHIR Mapping Language, FHIR
Test your knowledge of FHIR resources by solving a crossword puzzle.
FHIR, games
Query FHIR data using SPARQL.
FHIR, SPARQL
Author and debug FHIR Mapping Language files.
FHIR Mapping Language, FHIR
Author and debug FSH documents online.
FSH, FHIR, SUSHI
Submit messages to FHIR servers.
FHIR, messaging
Edit and evaluate CQL online.
CQL, FHIR
A virtual FHIR server.
FHIR, APIs

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.