Pattern

Simplifier Embedding enables rendering of resources. Use the following pattern to embed FHIR content in your own site:

https://api.simplifier.net/embed/[command]? scope=[project or package] & canonical=[Resource canonical]

Where the command can be render, xml, json or any other command that you can use in our guides as widget.

Example

The following url, https://api.simplifier.net/embed/render?Scope=package:hl7.fhir.r4.core@4.0.1&name=Patient , renders the tree of a single resource from a package.

Embedded example

The same example, rendered in an iframe: <iframe src= "https://api.simplifier.net/embed/render?Scope=package:hl7.fhir.r4.core@4.0.1&name=Patient" height="400px" width="100%"></iframe>

Pattern

With FQL you can retrieve, filter and project data from any data source containing FHIR Resources. To learn more about FQL see the documentation here. You can generate a table in the FQL Playground. In the Share menu you can generate a permanent link to your result. These results are cached but are live: if your data changes, when the cache expires, your data will be up-to-date.

https://api.simplifier.net/embed/fql/[hash]

You can use the ?styled=false to remove the default styling of the output table.

Example

This URL https://api.simplifier.net/embed/fql/8ddbd5d8d16e00d, renders the result of this query:

from StructureDefinition where name = 'Patient' for differential.element select path, min, max .

See and edit this script in the playground.

Embedded example

The same example, rendered in an iframe: <iframe src= "https://api.simplifier.net/embed/fql/8ddbd5d8d16e00d" height="400px" width="100%"></iframe>

Pattern

Simplifier enables rendering of snippets. Use the following pattern to embed a snippet in your own sites:

https://api.simplifier.net/embed/snippet? user=[username] & key=[Snippet urlkey] & format=[format]

Example

The following url, https://api.simplifier.net/embed/snippet?user=mharthoorn&key=28 , renders the FHIR Content in a snippet.

Embedded example

The same example, rendered in an iframe: <iframe src= "https://api.simplifier.net/embed/snippet?user=mharthoorn&key=28" height="400px" width="100%"></iframe>

Header

You can embed without the Simplifier header (OEM), if you have a license for it. If you want to hide the header, add the &header=false parameter.