Delete Encounter
Soft delete a FHIR R4 Encounter resource by logical ID.
Endpoint
DELETE /api/fhir/r4/Encounter/{rid}
Base URL: https://<ddfs-instance-id>.ddfs.<region>.oci.oraclecloud.com/api/fhir/r4
Example request: DELETE /api/fhir/r4/Encounter/00000000-0000-4000-8000-000000000004
Example URL: https://<ddfs-instance-id>.ddfs.<region>.oci.oraclecloud.com/api/fhir/r4/Encounter/00000000-0000-4000-8000-000000000004
Headers
{"Accept":"application/fhir+json","Authorization":"Bearer [REDACTED]"}
Parameters
| Parameter | In | Required | Type | Description |
|---|---|---|---|---|
rid |
path | true | uuid | Logical id of the Encounter resource. Use the logical id of the resource. |
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/Encounter.d |
| Client grant/token request | ddfssystem/Encounter.d |
Issued token's scope claim |
system/Encounter.d |
Behavior
Soft deletes a Encounter resource.
cURL Example
curl.exe `
-sS `
-X DELETE `
https://<ddfs-instance-id>.ddfs.<region>.oci.oraclecloud.com/api/fhir/r4/Encounter/00000000-0000-4000-8000-000000000004 `
-H 'Accept: application/fhir+json' `
-H 'Authorization: Bearer [REDACTED]'
Status Codes
| Code | Status |
|---|---|
| 204 | No Content on successful delete. |
FHIR Definition
Canonical: https://hl7.org/fhir/R4/encounter.html