Implementation Guide
23.1.0 - R4 APIs
Publish Box goes here
Delete interactions are executed as specified in the HL7 FHIR RESTful API implementation definition. To delete an existing resource, an application must perform an HTTP DELETE command
DELETE [base]/fhir/r4/[type]/[id]{_format=[json|xml]}
Where:
[_format] | Specifies the format of the output and may be xml or json. When present, the _format value overrides the value of the Accept header in the request. |
[id] | Logical id of the Binary resource. Binary DELETE interaction is supported for only resources that have Photo ID prefix. This interaction is not supported for any other kinds of Binary resources. |
The following HTTP response codes are returned by this API call:
Response code | Description |
---|---|
400 Bad Request | The resource could not be parsed, or failed basic validation rules. Id may be missing or is not in required format Photo-NUMERICID. |
401 Unauthorized | Authorization is required for this request, and either the Authorization header is missing or the supplied user credentials in the Authorization header are not valid or have expired. |
424 Failed Dependency | Although the request met basic validation rules, an internal issue prevented the requested interaction. |
500 Server Error | The server may return other error codes to indicate other error conditions. The body of the HTTP response will contain an OperationOutcome resource that indicates the nature of the error. |