diff --git a/specification/examples/responses/GET_Consent/errors/proxy-role-not-found.yaml b/specification/examples/responses/GET_Consent/errors/proxy-role-not-found.yaml new file mode 100644 index 00000000..a747596d --- /dev/null +++ b/specification/examples/responses/GET_Consent/errors/proxy-role-not-found.yaml @@ -0,0 +1,13 @@ +ProxyRoleNoteFoundError: + summary: Proxy role not found + description: 404 Proxy role not found error response bundle + value: + issue: + - code: processing + details: + coding: + - system: "https://fhir.nhs.uk/R4/CodeSystem/ValidatedRelationships-ErrorOrWarningCode" + version: "1" + code: "PROXY_ROLE_NOT_FOUND" + display: "Proxy role could not be found" + severity: error diff --git a/specification/validated-relationships-service-api.yaml b/specification/validated-relationships-service-api.yaml index 979db860..3f8714b8 100644 --- a/specification/validated-relationships-service-api.yaml +++ b/specification/validated-relationships-service-api.yaml @@ -528,6 +528,7 @@ paths: | 401 | `ACCESS_DENIED` | Missing or invalid OAuth 2.0 bearer token in request. | | 403 | `FORBIDDEN` | Access denied to resource. | | 404 | `INVALIDATED_RESOURCE` | Resource that has been marked as invalid was requested - invalid resources cannot be retrieved | + | 404 | `PROXY_ROLE_NOT_FOUND` | Proxy role not found. | | 404 | `GP_PRACTICE_NOT_FOUND` | GP Practice not found. | | 405 | `METHOD_NOT_ALLOWED` | The method is not allowed. | | 408 | `TIMEOUT` | Request timed out. |