Skip to main content
DELETE
Requires scope: api:manage-patients Each entry is a matcher: system + value (one row); system only (every identifier for that system — system=epic unlinks every connected Epic instance, use integration_id alone to drop one hospital); integration_id only (that instance); system + integration_id (that system on that instance). Can match ANY identifier, including one owned by a platform integration: this is a deliberate, irreversible unlink, and under linked_only import mode the patient immediately stops receiving further data from that integration. Idempotent — a matcher that matches nothing is skipped, not an error.

Parameters

str
required
Olira patient id.
list[ExternalIdentifierMatcher]
required
Matchers — a filter, not a full identifier. Construct with any of the shapes below. Rows match every field you set. At least one field is required. value without system is rejected (422).

Returns

ExternalIdentifierMutationResult
str
Olira patient id.
int
Always 0 for this call.
int
Number of identifiers removed.
int
Number of matchers that matched nothing.
list[ExternalIdentifier]
The patient’s full external identifier list after the mutation.

Raises