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.
- Create the FHIR resource of the requested type.
- Update the resource by id to mint a new version.
- Read the versioned history for the resource.
- 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.