@@ -543,13 +543,13 @@ paths:
543543 $ref : " ./examples/responses/POST_Consent/success.yaml#/PostConsentSuccess"
544544 " 4XX " :
545545 description : |
546- Errors will be returned for the first error encountered in the request. An error occurred as follows:
546+ Errors will be returned for the first error encountered in the request. For details, see the `diagnostics` field of error. An error occurred as follows:
547547
548548 | HTTP status | Error code | Description |
549549 | ----------- | --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
550- | 400 | `BAD_REQUEST` | Bad request. |
551- | 400 | `MISSING_IDENTIFIER_VALUE` | Missing performer or patient identifier. For details, see the `diagnostics` field. |
552- | 400 | `MISSING_IDENTIFIER_SYSTEM` | Missing performer or patient identifier system. For details, see the `diagnostics` field. |
550+ | 400 | `BAD_REQUEST` | Bad request. | |
551+ | 400 | `MISSING_IDENTIFIER_VALUE` | Missing performer or patient identifier. |
552+ | 400 | `MISSING_IDENTIFIER_SYSTEM` | Missing performer or patient identifier system. |
553553 | 400 | `MISSING_STATUS` | Missing status. |
554554 | 400 | `MISSING_SCOPE` | Missing scope. |
555555 | 400 | `MISSING_CATEGORY` | Missing category. |
@@ -560,8 +560,8 @@ paths:
560560 | 405 | `METHOD_NOT_ALLOWED` | The method is not allowed. |
561561 | 408 | `TIMEOUT` | Request timed out. |
562562 | 409 | `DUPLICATE_RELATIONSHIP` | Conflict with requested proxy role. |
563- | 422 | `INVALID_IDENTIFIER_VALUE` | Invalid performer or patient identifier value. For details, see the `diagnostics` field. |
564- | 422 | `INVALID_IDENTIFIER_SYSTEM` | Invalid performer or patient identifier system. For details, see the `diagnostics` field. |
563+ | 422 | `INVALID_IDENTIFIER_VALUE` | Invalid performer or patient identifier value. |
564+ | 422 | `INVALID_IDENTIFIER_SYSTEM` | Invalid performer or patient identifier system. |
565565 | 422 | `INVALID_STATUS` | Invalid status. |
566566 | 422 | `INVALID_SCOPE` | Invalid scope. |
567567 | 422 | `INVALID_CATEGORY` | Invalid category. |
@@ -578,6 +578,15 @@ paths:
578578 $ref : " ./examples/responses/POST_Consent/errors/invalid_performer_identifier_error.yaml#/PostConsentInvalidPerformerIdentifierError"
579579 postConsentDuplicateRelationship :
580580 $ref : " ./examples/responses/POST_Consent/errors/duplicate_relationship_error.yaml#/PostConsentDuplicateRelationshipError"
581+ postConsentInvalidIdentifierValue :
582+ $ref : " ./examples/responses/POST_Consent/errors/invalid_identifier_value.yaml#/PostConsentInvalidIdentifierValueError"
583+ postConsentInvalidStatus :
584+ $ref : " ./examples/responses/POST_Consent/errors/invalid_status.yaml#/PostConsentInvalidStatusError"
585+ postConsentMissingIdentifierSystem :
586+ $ref : " ./examples/responses/POST_Consent/errors/missing_identifier_system.yaml#/PostConsentMissingIdentifierSystemError"
587+ postConsentMissingScope :
588+ $ref : " ./examples/responses/POST_Consent/errors/missing_scope.yaml#/PostConsentMissingScopeError"
589+
581590 " 5XX " :
582591 description : |
583592 Errors will be returned for the first error encountered in the request. An error occurred as follows:
0 commit comments