Skip to content

Commit 1b12ba8

Browse files
committed
NPA-4833 Add 404 Error
1 parent 7ef7a93 commit 1b12ba8

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
ProxyRoleNoteFoundError:
2+
summary: Proxy role not found
3+
description: 404 Proxy role not found error response bundle
4+
value:
5+
issue:
6+
- code: processing
7+
details:
8+
coding:
9+
- system: "https://fhir.nhs.uk/R4/CodeSystem/ValidatedRelationships-ErrorOrWarningCode"
10+
version: "1"
11+
code: "PROXY_ROLE_NOT_FOUND"
12+
display: "Proxy role could not be found"
13+
severity: error

specification/validated-relationships-service-api.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,7 @@ paths:
528528
| 401 | `ACCESS_DENIED` | Missing or invalid OAuth 2.0 bearer token in request. |
529529
| 403 | `FORBIDDEN` | Access denied to resource. |
530530
| 404 | `INVALIDATED_RESOURCE` | Resource that has been marked as invalid was requested - invalid resources cannot be retrieved |
531+
| 404 | `PROXY_ROLE_NOT_FOUND` | Proxy role not found. |
531532
| 404 | `GP_PRACTICE_NOT_FOUND` | GP Practice not found. |
532533
| 405 | `METHOD_NOT_ALLOWED` | The method is not allowed. |
533534
| 408 | `TIMEOUT` | Request timed out. |

0 commit comments

Comments
 (0)