-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathForbidden.yaml
More file actions
21 lines (20 loc) · 1.36 KB
/
Forbidden.yaml
File metadata and controls
21 lines (20 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
description: |
Where status code 403 (Forbidden) is returned then an eRS-OperationOutcome-1 will be included in the body, as detailed below.
Check diagnostics property for specific information regarding the error.
| issue.details.coding.code | issue.code | Coding System | Description |
| ------------------------- | ---------- | ------------------------------------------------------------------ | ---------------------------------------------------------------------------------- |
| FORBIDDEN | forbidden | [eRS Error Code](https://fhir.nhs.uk/CodeSystem/ers-error-codes) | A call attempts to access or operate upon a resource without proper authorisation. |
| NO_ACCESS | forbidden | [eRS Error Code](https://fhir.nhs.uk/CodeSystem/ers-error-codes) | The request could not be authenticated due to insufficient credentials being provided. |
headers:
X-Correlation-ID:
$ref: '../headers/response/CorrelationID.yaml'
X-Request-ID:
$ref: '../headers/response/RequestID.yaml'
Content-Type:
$ref: '../headers/response/ContentTypeFhirJson.yaml'
content:
application/fhir+json:
schema:
$ref: '../STU3-OperationOutcome.yaml'
example:
$ref: '../../examples/STU3-Forbidden.json'