FHIR Mapping Language Compiler

About the tool

The FHIR Mapping Language is a part of the FHIR specification used to describe the transformation logic from one data structure (data model, directed acyclic graph) to another. It can handle transformations that involve both structural and content/format changes between source and target structures.

In order to execute the mapping instructions expressed in the FHIR Mapping Language, you need to first compile it to an instance of a FHIR StructureMap resource. To do this, you can use the $convert operation on a FHIR server that supports the FHIR Mapping Language or use the HAPI FHIR library directly.

I've built this online tool to provide a hassle-free alternative to the above steps. You can use it to easily compile your FHIR Mapping Language code and pick up the resulting StructureMap JSON, which you can then use to execute the data transformation.

The tool runs the compilation process server-side using the Java HAPI FHIR library.

Demo

Click Compile to generate the StructureMap JSON.

See also

Author and debug FHIR Mapping Language files.
FHIR Mapping Language, FHIR
Query FHIR stores using GraphQL.
FHIR, GraphQL
Generate FHIR Implementation Guides online.
FHIR
Evaluate FHIRPath expressions against FHIR resources.
FHIRPath, FHIR
Implementation guides used by countries or specific regions.
FHIR
Query FHIR terminology services online.
FHIR, terminologies
Test your knowledge of FHIR resources by solving a crossword puzzle.
FHIR, games
Query FHIR data using SPARQL.
FHIR, SPARQL
Author and debug FSH documents online.
FSH, FHIR, SUSHI
Submit messages to FHIR servers.
FHIR, messaging
A curated list of awesome resources on the FHIR Mapping Language.
FHIR Mapping Language, awesome
Edit and evaluate CQL online.
CQL, 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.