Instance-Level Expunge Operation

post

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

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

Request

Path Parameters
Supported Media Types
Request Body - application/fhir+json ()
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