AnpherosAnpheros PlatformDevelopers

FHIR R4 JSON examples

Valid FHIR R4 resources you can copy, each next to the mistakes that break it and the exact error a validator returns. Every example on these pages is run through the FHIR R4 validator when the page is built.

How to read the examples

Each page shows a complete resource, the elements that matter most with their cardinality from the FHIR R4 specification, and a short list of mistakes. The mistakes are real edits of the valid example; the error under each one is what the validator answers for it, not a paraphrase.

The examples use one synthetic patient, Patient/example, and US code systems where there is a choice (RxNorm, CVX, ICD-10-CM) next to international ones (LOINC, SNOMED CT, ATC). Codes are real, but check them against your terminology source before you depend on them.

Store it in a real FHIR R4 serverA free sandbox key gives you 30 synthetic patients and the full API, including POST /fhir/R4/Observation and $validate.
Get a free API key

Related guides