@@ -543,13 +543,15 @@ 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. |
553+ | 400 | `MISSING_PATIENT` | Missing patient. |
554+ | 400 | `MISSING_PERFORMER` | Missing performer. |
553555 | 400 | `MISSING_STATUS` | Missing status. |
554556 | 400 | `MISSING_SCOPE` | Missing scope. |
555557 | 400 | `MISSING_CATEGORY` | Missing category. |
@@ -560,8 +562,10 @@ paths:
560562 | 405 | `METHOD_NOT_ALLOWED` | The method is not allowed. |
561563 | 408 | `TIMEOUT` | Request timed out. |
562564 | 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. |
565+ | 422 | `INVALID_IDENTIFIER_VALUE` | Invalid performer or patient identifier value. |
566+ | 422 | `INVALID_IDENTIFIER_SYSTEM` | Invalid performer or patient identifier system. |
567+ | 422 | `INVALID_PATIENT` | Invalid patient. |
568+ | 422 | `INVALID_PERFORMER` | Invalid performer. |
565569 | 422 | `INVALID_STATUS` | Invalid status. |
566570 | 422 | `INVALID_SCOPE` | Invalid scope. |
567571 | 422 | `INVALID_CATEGORY` | Invalid category. |
@@ -578,6 +582,15 @@ paths:
578582 $ref : " ./examples/responses/POST_Consent/errors/invalid_performer_identifier_error.yaml#/PostConsentInvalidPerformerIdentifierError"
579583 postConsentDuplicateRelationship :
580584 $ref : " ./examples/responses/POST_Consent/errors/duplicate_relationship_error.yaml#/PostConsentDuplicateRelationshipError"
585+ postConsentInvalidIdentifierValue :
586+ $ref : " ./examples/responses/POST_Consent/errors/invalid_identifier_value.yaml#/PostConsentInvalidIdentifierValueError"
587+ postConsentInvalidStatus :
588+ $ref : " ./examples/responses/POST_Consent/errors/invalid_status.yaml#/PostConsentInvalidStatusError"
589+ postConsentMissingIdentifierSystem :
590+ $ref : " ./examples/responses/POST_Consent/errors/missing_identifier_system.yaml#/PostConsentMissingIdentifierSystemError"
591+ postConsentMissingScope :
592+ $ref : " ./examples/responses/POST_Consent/errors/missing_scope.yaml#/PostConsentMissingScopeError"
593+
581594 " 5XX " :
582595 description : |
583596 Errors will be returned for the first error encountered in the request. An error occurred as follows:
0 commit comments