Conditional Update
Changed onUpdate the resource that matches the search criteria, or create it if there is no match. Also known as upsert.
Request
- Base URLhttps://api.medplum.com
- URLhttps://api.medplum.com/fhir/R4/{resourceType}
- Auth
- HTTP basic
- or HTTP bearer
- or OpenID Connect (https://api.medplum.com/.well-known/openid-configuration)
- or OAuth 2Authorization code: https://api.medplum.com/oauth2/authorizeClient credentialsToken URL: https://api.medplum.com/oauth2/token
Path parameters
Resource Type
Query parameters
FHIR search parameters, such as identifier=http://example.com|123
Headers
Only write if the current version matches, such as W/"<versionId>"
Request body
Response
Matched one resource, which was updated
Changes
- info
added the new optional request property
//// - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status
- info
- warning
added the new
archiveenum value to the///////response property for the response status - warning
added the new
archiveenum value to the///////response property for the response status - warning
added the new
archiveenum value to the/////response property for the response status - warning
added the new
archiveenum value to the/////response property for the response status - info
added the new
archiveenum value to the request property/////
- warning