Medplum · Arazzo Workflow
Medplum Amend Resource With History
Version 1.0.0
Read a resource, update it, then inspect its version history and prior version.
View Spec
View on GitHub
HealthcareFHIROpen SourceDeveloper PlatformHIPAASMART on FHIRClinicalInteroperabilityArazzoWorkflows
Provider
Workflows
amend-resource-with-history
Update a resource and walk its version history.
Reads a resource, updates it with a supplied body, reads the history Bundle, and then reads a specific prior version by versionId.
1
readCurrent
readResource
Read the current version of the target resource to confirm it exists before amending it.
2
applyUpdate
updateResource
Perform a full FHIR update on the resource with the supplied body. This creates a new version in the resource history.
3
readHistory
readResourceHistory
Read the resource history Bundle to capture the full version timeline after the amendment.
4
readPriorVersion
readVersion
Read the immediately prior version of the resource by versionId to confirm the pre-amendment state is still retrievable.