Instance-Level Expunge Operation

post

oracle-fhir-server/fhir/DeviceRequest/{id}/$expunge

The $expunge operation can be invoked against a single DeviceRequest resource instance, or even an individual version of a DeviceRequest resource instance. If invoked at the instance level , previous versions of the DeviceRequest resource may be deleted (if expungePreviousVersions is set to true) and the current version may be deleted (if the DeviceRequest resource is deleted and expungeDeletedResources is set to true).

Request

Path Parameters
Supported Media Types
Request Body - application/fhir+json ()
FHIR Parameters Resource
Root Schema : schema
Type: object
FHIR Parameters Resource
Example:
{
  "resourceType": "Parameters",
  "parameter": [ {
    "name": "limit",
    "valueInteger": 0
  }, {
    "name": "expungeDeletedResources",
    "valueBoolean": false
  }, {
    "name": "expungePreviousVersions",
    "valueBoolean": false
  }, {
    "name": "expungeEverything",
    "valueBoolean": false
  } ]
}
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : FHIR-EXPUNGE-RESP-RESOURCE
Type: object
FHIR Parameters Resource
Example:
{
  "resourceType": "Parameters",
  "parameter": [ {
    "name": "count",
    "valueInteger": 0
  } ]
}
Back to Top