FHIR JSON-LD Playground

This playground is for experimenting with converting FHIR/JSON to and from FHIR/RDF, both for the R4 (current) version and the R5 (proposed) version. It is based on the JSON-LD Playground. At present, the usage pattern is rather peculiar, though we hope to improve it later. To generate R4 FHIR/RDF from FHIR/JSON and view it as RDF triples:

  1. Paste your FHIR/JSON into the top text box.
  2. Click either the "JSON-LD R4" or "JSON-LD R5" tab below the top text box. This will cause FHIR/RDF in JSON-LD syntax to be shown in a second text box below.
  3. Click the "Copy" button above the upper text box. This copies the content of the lower text box back into the upper text box, for re-processing.
  4. Now you can click the "N-Quads" or "Table" tab below the upper text box, to view the corresponding RDF triples in the lower text box.

NOTE: The playground uses jsonld.js which conforms to JSON-LD 1.1 syntax (errata), API (errata), and framing (errata). Also see the classic JSON-LD 1.0 playground and the RDF Distiller.

Loading the Playground...

Gist
Key Autocomplete
all of the @ keywords
available keys in @context

Private Key for Signing

Public Key for Verification

NOTE: A remote context that is not known to be fully working yet was detected in your input. If you wish, you can use an alternative context created by the JSON-LD community to process your document nevertheless.

Original Development