@@ -551,22 +551,23 @@ paths:
551551
552552 | HTTP status | Error code | Description |
553553 | ----------- | --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
554- | 400 | `MISSING_IDENTIFIER` | Missing performer or patient identifier. For details, see the `diagnostics` field. |
554+ | 400 | `MISSING_IDENTIFIER` | Missing performer or patient identifier. For details, see the `diagnostics` field. |
555555 | 400 | `MISSING_STATUS` | Missing status. |
556556 | 400 | `MISSING_SCOPE` | Missing scope. |
557557 | 400 | `MISSING_CATEGORY` | Missing category. |
558558 | 400 | `MISSING_DATETIME` | Missing datetime. |
559559 | 401 | `ACCESS_DENIED` | Missing or invalid OAuth 2.0 bearer token in request. |
560560 | 403 | `FORBIDDEN` | Access denied to resource. |
561561 | 404 | `INVALIDATED_RESOURCE` | Resource that has been marked as invalid was requested - invalid resources cannot be retrieved |
562+ | 405 | `METHOD_NOT_ALLOWED` | The method is not allowed. |
562563 | 408 | `TIMEOUT` | Request timed out. |
563564 | 409 | `DUPLICATE_RELATIONSHIP` | Conflict with requested proxy role. |
564565 | 422 | `INVALID_IDENTIFIER` | Invalid performer or patient identifier. For details, see the `diagnostics` field. |
565566 | 422 | `INVALID_STATUS` | Invalid status. |
566567 | 422 | `INVALID_SCOPE` | Invalid scope. |
567568 | 422 | `INVALID_CATEGORY` | Invalid category. |
568569 | 422 | `INVALID_DATETIME` | Invalid datetime. |
569- | 422 | `INVALID_VERIFICATION ` | Invalid verification. For details, see the `diagnostics` field. |
570+ | 422 | `INVALID_PROVISION ` | Invalid provision. |
570571 | 429 | `THROTTLED` | You have exceeded your application's [rate limit](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#rate-limits). |
571572
572573 content :
@@ -585,7 +586,6 @@ paths:
585586 postConsentDuplicateRelationship :
586587 $ref : " ./examples/responses/POST_Consent/errors/duplicate_relationship_error.yaml#/PostConsentDuplicateRelationshipError"
587588
588-
589589 /Consent/{id} :
590590 patch :
591591 summary : Update a proxy role
@@ -697,7 +697,6 @@ paths:
697697 patchConsentInvalidStateTransitionError :
698698 $ref : " ./examples/responses/PATCH_Consent/error.yaml#/PatchConsentInvalidStateTransitionError"
699699
700-
701700components :
702701 schemas :
703702 QuestionnaireResponse :
@@ -1063,7 +1062,17 @@ components:
10631062 display :
10641063 type : string
10651064 description : Evidence of responsibility type.
1066- enum : ['Birth certificate', 'Adoption certificate', 'Court-witnessed parental responsibility agreement','Court-witnessed step-parent parental responsibility agreement', 'Parental order', 'Special guardianship order', 'Other court order', 'Other' ]
1065+ enum :
1066+ [
1067+ " Birth certificate" ,
1068+ " Adoption certificate" ,
1069+ " Court-witnessed parental responsibility agreement" ,
1070+ " Court-witnessed step-parent parental responsibility agreement" ,
1071+ " Parental order" ,
1072+ " Special guardianship order" ,
1073+ " Other court order" ,
1074+ " Other" ,
1075+ ]
10671076
10681077 - type : object
10691078 properties :
@@ -1707,7 +1716,7 @@ components:
17071716 enum :
17081717 [
17091718 " https://fhir.nhs.uk/Id/nhs-number" ,
1710- " https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
1719+ " https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier" ,
17111720 ]
17121721 value :
17131722 type : string
@@ -1791,7 +1800,7 @@ components:
17911800 enum :
17921801 [
17931802 " https://fhir.nhs.uk/Id/nhs-number" ,
1794- " https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
1803+ " https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier" ,
17951804 ]
17961805 value :
17971806 type : string
@@ -1920,27 +1929,33 @@ components:
19201929 items :
19211930 $ref : " #/components/schemas/Reference"
19221931 description : " Individuals or organizations that agreed to the consent."
1923- verification :
1924- type : array
1925- description : Whether consent was verified with the patient, or another authorized person.
1932+ provision :
1933+ type : object
1934+ maxItems : 1
19261935 items :
1927- type : object
1928- properties :
1929- verified :
1930- type : boolean
1931- description : Whether the consent has been verified
1932- verifiedWith :
1933- $ref : " #/components/schemas/Reference"
1934- verificationDate :
1935- type : string
1936- description : The date and time when consent was collected.
1937- format : date-time
1936+ $ref : " #/components/schemas/Provision"
19381937 extension :
19391938 type : array
19401939 description : Model the status reason.
19411940 items :
19421941 $ref : " #/components/schemas/Extension"
19431942
1943+ Provision :
1944+ type : object
1945+ properties :
1946+ period :
1947+ type : object
1948+ description : " Timeframe for this provision."
1949+ properties :
1950+ start :
1951+ type : string
1952+ description : " Starting time with inclusive boundary"
1953+ format : date-time
1954+ end :
1955+ type : string
1956+ description : " End time with inclusive boundary, if not ongoing"
1957+ format : date-time
1958+
19441959 Extension :
19451960 type : object
19461961 properties :
@@ -1952,7 +1967,6 @@ components:
19521967 items :
19531968 $ref : " #/components/schemas/CodeableConcept"
19541969
1955-
19561970 OperationOutcome :
19571971 type : object
19581972 description : |
0 commit comments