Purge Deleted Patient

Purge deleted FHIR R6 Patient resources by cutoff date and limit.

Endpoint

POST /api/fhir/r6-ballot4/Patient/$purgeDeleted

Base URL: https://<ddfs-instance-id>.ddfs.<region>.oci.oraclecloud.com/api/fhir/r6-ballot4

Parameters

ParameterInRequiredTypeDescription
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/Patient.d, https://docs.oracle.com/iaas/device-data-fhir/scopes/hard-delete
Client grant/token request ddfssystem/Patient.d, ddfshttps://docs.oracle.com/iaas/device-data-fhir/scopes/hard-delete
Issued token's scope claim system/Patient.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 Patient resources matching the operation parameters. Requires delete authority and the hard-delete scope.

FHIR Definition

Canonical: https://hl7.org/fhir/6.0.0-ballot4/patient.html

Operation definition: https://docs.oracle.com/iaas/device-data-fhir/OperationDefinition/ddfs-r6-purgeDeleted.json

Published JSON Definitions

Related Operations