Skip to content

Commit cade321

Browse files
authored
Merge pull request #160 from NHSDigital/dev/NPA-4513_Expand_Errors
NPA-4513 Update POST /FHIR/R4/Consent Request and Errors
2 parents fc9f024 + 911f50c commit cade321

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

specification/validated-relationships-service-api.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,8 @@ paths:
547547
548548
| HTTP status | Error code | Description |
549549
| ----------- | --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
550-
| 400 | `MISSING_IDENTIFIER` | Missing performer or patient identifier. For details, see the `diagnostics` field. |
550+
| 400 | `MISSING_IDENTIFIER_VALUE` | Missing performer or patient identifier. For details, see the `diagnostics` field. |
551+
| 400 | `MISSING_IDENTIFIER_SYSTEM` | Missing performer or patient identifier system. For details, see the `diagnostics` field. |
551552
| 400 | `MISSING_STATUS` | Missing status. |
552553
| 400 | `MISSING_SCOPE` | Missing scope. |
553554
| 400 | `MISSING_CATEGORY` | Missing category. |
@@ -558,7 +559,8 @@ paths:
558559
| 405 | `METHOD_NOT_ALLOWED` | The method is not allowed. |
559560
| 408 | `TIMEOUT` | Request timed out. |
560561
| 409 | `DUPLICATE_RELATIONSHIP` | Conflict with requested proxy role. |
561-
| 422 | `INVALID_IDENTIFIER` | Invalid performer or patient identifier. For details, see the `diagnostics` field. |
562+
| 422 | `INVALID_IDENTIFIER_VALUE` | Invalid performer or patient identifier value. For details, see the `diagnostics` field. |
563+
| 422 | `INVALID_IDENTIFIER_SYSTEM` | Invalid performer or patient identifier system. For details, see the `diagnostics` field. |
562564
| 422 | `INVALID_STATUS` | Invalid status. |
563565
| 422 | `INVALID_SCOPE` | Invalid scope. |
564566
| 422 | `INVALID_CATEGORY` | Invalid category. |
@@ -1938,10 +1940,7 @@ components:
19381940
$ref: "#/components/schemas/Reference"
19391941
description: "Individuals or organizations that agreed to the consent."
19401942
provision:
1941-
type: array
1942-
maxItems: 1
1943-
items:
1944-
$ref: "#/components/schemas/Provision"
1943+
$ref: "#/components/schemas/Provision"
19451944
extension:
19461945
type: array
19471946
description: Model the status reason.

0 commit comments

Comments
 (0)