capabilities.work

FHIR Resource Versioning

A 4-step recipe with Medplum. We can help you get access.

Recipe · 4 steps

FHIR Resource Versioning

with Medplum · Healthcare Interoperability Operations

Create and update a FHIR resource, then read its history and a specific version.

  1. Create the FHIR resource of the requested type.
  2. Update the resource by id to mint a new version.
  3. Read the versioned history for the resource.
  4. Read the specific historical version by versionId.
What you'll need to have ready
  • resourceType: The FHIR resource type to operate on (e.g. Patient, Observation).
  • resource: The FHIR R4 resource body to create.
  • updatedResource: The FHIR R4 resource body to write on update.
For your developer

Arazzo workflow medplum:resource-versioning, 4 operations: createResource → updateResource → readResourceHistory → readVersion. Specs on APIs.io.