Skip to content

Commit 6b371db

Browse files
committed
NPA-4749 Remove Multiple Parameters Error
1 parent 0f5565a commit 6b371db

File tree

2 files changed

+3
-19
lines changed

2 files changed

+3
-19
lines changed

specification/examples/responses/GET_Consent/errors/multiple-identifier-parameters.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

specification/validated-relationships-service-api.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,9 @@ paths:
435435
summary: Get proxy roles
436436
description: |
437437
## Overview
438-
Use this endpoint to get the details about proxy roles, including current status, based on a provided proxy's NHS Number.
438+
Use this endpoint to get the details about proxy roles, including current status, based on a provided NHS Number.
439+
440+
Either `performer:identifier` or `patient:identifier` request parameters must be provided. `performer:identifier` and `patient:identifier` can be used together.
439441
440442
You can (optionally) include `status={status}` request parameter to filter the limit the response to records with a given status bound to the http://hl7.org/fhir/consent-state-codes CodeSystem e.g. `status=active`.
441443
@@ -529,7 +531,6 @@ paths:
529531
| 404 | `GP_PRACTICE_NOT_FOUND` | GP Practice not found. |
530532
| 405 | `METHOD_NOT_ALLOWED` | The method is not allowed. |
531533
| 408 | `TIMEOUT` | Request timed out. |
532-
| 422 | `MULTIPLE_IDENTIFIER_PARAMETERS` | Both performer:identifier and patient:identifier parameters supplied which isn't supported. |
533534
| 422 | `INVALID_IDENTIFIER_SYSTEM` | Invalid performer:identifier or patient:identifier identifier system. |
534535
| 422 | `INVALID_IDENTIFIER_VALUE` | Malformed performer:identifier or patient:identifier NHS number. |
535536
| 422 | `INVALID_PARAMETER` | Invalid parameter. For details, see the `diagnostics` field. |
@@ -556,8 +557,6 @@ paths:
556557
$ref: "./examples/responses/GET_Consent/errors/gp-practice-not-found.yaml#/GPPracticeNotFoundError"
557558
InvalidIncludeParameterError:
558559
$ref: "./examples/responses/errors/invalid-include-parameter.yaml#/InvalidIncludeParameterError"
559-
ConsentMultipleIdentifierParametersError:
560-
$ref: "./examples/responses/GET_Consent/errors/multiple-identifier-parameters.yaml#/GetConsentMultipleIdentifierParametersError"
561560
"5XX":
562561
description: |
563562
Errors will be returned for the first error encountered in the request. An error occurred as follows:

0 commit comments

Comments
 (0)