Purge Deleted Provenance
Purge deleted FHIR R6 Provenance resources by cutoff date and limit.
Endpoint
POST /api/fhir/r6-ballot4/Provenance/$purgeDeleted
Base URL: https://<ddfs-instance-id>.ddfs.<region>.oci.oraclecloud.com/api/fhir/r6-ballot4
Parameters
| Parameter | In | Required | Type | Description |
|---|---|---|---|---|
before |
body | true | dateTime | Required FHIR dateTime cutoff supplied as Parameters.parameter.valueDateTime; deleted resources before this instant are purged. Supply this input as Parameters.parameter.valueDateTime. |
limit |
body | false | integer | Optional maximum supplied as Parameters.parameter.valueInteger. The route accepts values from 1 through 50. Supply this input as Parameters.parameter.valueInteger. |
Authorization
The supported authorization model uses OAuth 2.0 scopes issued by OCI Identity Domains. Send the access token as a bearer token. Resource-server definitions and issued access-token claims use canonical system/... scopes. Client grants and token requests use the corresponding ddfssystem/... form. For examples, see Reference: Authentication and Scopes.
| Context | Scope form |
|---|---|
| Resource-server definition | system/Provenance.d, https://docs.oracle.com/iaas/device-data-fhir/scopes/hard-delete |
| Client grant/token request | ddfssystem/Provenance.d, ddfshttps://docs.oracle.com/iaas/device-data-fhir/scopes/hard-delete |
Issued token's scope claim |
system/Provenance.d, https://docs.oracle.com/iaas/device-data-fhir/scopes/hard-delete |
Hard-delete and purge-deleted operations require both matching resource delete authority and the canonical DDFS hard-delete scope.
Response
The required return output has cardinality 1..1 and type OperationOutcome. It describes the purge result.
Behavior
Purges deleted Provenance resources matching the operation parameters. Requires delete authority and the hard-delete scope.
FHIR Definition
Canonical: https://hl7.org/fhir/6.0.0-ballot4/provenance.html
Operation definition: https://docs.oracle.com/iaas/device-data-fhir/OperationDefinition/ddfs-r6-purgeDeleted.json