Your FHIR® in XML or JSON
FHIR Version Examples

Credits

Material Design Lite by Google

lua.vm.js by Alon Zakai

CodeMirror by Marijn Haverbeke

FHIR Formats by Vadim Peretokin

FHIR examples are from the FHIR specification

Privacy & Terms

Your privacy is critically important to us. At FHIR Formats we have one fundamental principle:

  1. We don't ask you for personal information at all.

Below is our privacy policy which incorporates these goals:

Website Visitors

Like most website operators, FHIR Formats collects non-personally-identifying information of the sort that web browsers and servers typically make available, such as the browser type, language preference, referring site, and the date and time of each visitor request. FHIR Formats's purpose in collecting non-personally identifying information is to better understand how FHIR Formats's visitors use its website. From time to time, FHIR Formats may release non-personally-identifying information in the aggregate, e.g., by publishing a report on trends in the usage of its website.

Cookies

A cookie is a string of information that a website stores on a visitor's computer, and that the visitor's browser provides to the website each time the visitor returns. Google Analytics, a web analysis service provided by Google, is employed on this website. Google utilizes the data collected to track and examine the use of fhir-formats.github.io, to prepare reports on its activities and share them with other Google services.

Google may use the data collected to contextualize and personalize the ads of its own advertising network.

Personal data collected: Cookie and Usage Data. Place of processing: USA. Find Google's privacy policy here.

Privacy Policy Changes

Although most changes are likely to be minor, FHIR Formats may change its Privacy Policy from time to time, and in FHIR Formats's sole discretion. FHIR Formats encourages visitors to frequently check this page for any changes to its Privacy Policy. Your continued use of this site after any change in this Privacy Policy will constitute your acceptance of such change.

This policy is available under a Creative Commons Sharealike license, adapted from Automattic's privacy policy.

Help

This tool allows you to instantly convert your FHIR® resource between XML and JSON representation, without going through difficult motions such as sending it to a FHIR server.

FHIR versions supported are STU3 (FHIR 3.0.1) and R4 (FHIR 4.0.1). Version use is automatic - the tool will first try converting with R4, and if that doesn't work, then with STU3.

How to use

Paste your XML or JSON FHIR content into either the left or right panel, and the converted version will automatically pop up on the opposite panel.

You can also modify your resource in either panel to have it update in realtime! This can work as a useful learning tool.

Gotchas

When converting numbers, up to 14 significant digits are supported.

If your XML or JSON is invalid, no conversion occurs but no errors are shown either.

Comments in XML or FHIR comments in JSON will not cause issues, but they will not be converted either.

Trailing zeros in decimals are not currently preserved (will be fixed).

Contact

Like this? Have feedback? Get in touch or submit a request on Github.

Consulting

Looking add a FHIR consultant to your project? I'm available.