Medplum · Arazzo Workflow
Medplum Find And Delete Resource
Version 1.0.0
Search a resource type, and if a match is found read it for audit then delete it.
View Spec
View on GitHub
HealthcareFHIROpen SourceDeveloper PlatformHIPAASMART on FHIRClinicalInteroperabilityArazzoWorkflows
Provider
Workflows
find-and-delete-resource
Find a resource via search and delete it if present.
Searches a resource type, branches on the Bundle entries, and on a match reads the resource for audit then deletes it.
1
findResource
search
Search the resource type. Medplum returns a FHIR Bundle whose entry array holds any matching resources.
2
auditResource
readResource
Read the matched resource by id to capture an audit snapshot before it is deleted.
3
deleteResource
deleteResource
Delete the matched resource by id. Medplum returns 204 No Content on a successful delete.