Medplum · Arazzo Workflow
Medplum Upsert Patient
Version 1.0.0
Search for a Patient by identifier and update it if found, otherwise create it.
View Spec
View on GitHub
HealthcareFHIROpen-SourceDeveloper PlatformHIPAASMART on FHIRClinicalInteroperabilityArazzoWorkflows
Provider
Workflows
upsert-patient
Upsert a Patient resource keyed on the returned search Bundle.
Searches the Patient resource type, then either updates the first matched Patient or creates a new one when the search Bundle is empty.
1
findPatient
Search the Patient resource type. Medplum returns a FHIR Bundle whose entry array holds any matching Patient resources.
2
updateExisting
Replace the matched Patient with the supplied name and birth date. FHIR update is a full resource PUT, so the resource id is echoed in the body.
3
createNew
Create a new Patient resource when the search Bundle returned no matching entries.
Source API Descriptions
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.