Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
525bfad
NPA-6014: task 1 status reason updates to schema
ChristopherBacon Dec 19, 2025
3e58280
NPA-6014: Schema updates for provision Consent endpoints
ChristopherBacon Dec 22, 2025
f3a56d4
NPA-6014: explicit datetime format to comply with ISO
ChristopherBacon Dec 22, 2025
acbaaeb
NPA-6014: Changes to the Schema examples provision array and actor as…
ChristopherBacon Dec 23, 2025
013cb10
Merge branch 'master' into task/NPA-6014/interop-patch-consent-changes
ChristopherBacon Dec 23, 2025
6ecb16c
NPA-6014: Updated postman collections and yaml links
ChristopherBacon Jan 2, 2026
34cb3a1
Merge branch 'task/NPA-6014/interop-patch-consent-changes' of https:/…
ChristopherBacon Jan 2, 2026
06f982a
NPA-6014: Updated Postman collections using the correct Team
ChristopherBacon Jan 6, 2026
3e8549d
Merge branch 'master' into task/NPA-6014/interop-patch-consent-changes
ChristopherBacon Jan 6, 2026
bad4ad4
NPA-6014: Revert provision back to an object not an array
ChristopherBacon Jan 9, 2026
2161151
Merge branch 'master' into task/NPA-6014/interop-patch-consent-changes
ChristopherBacon Jan 12, 2026
448db4c
NPA-6014: Example GET consent requests updated to make provision an o…
ChristopherBacon Jan 12, 2026
4f295d2
NPA-6014: Revert the Postman collection link buttons
ChristopherBacon Jan 13, 2026
9cab6e3
NPA-6014: Updated Postman buttons with new recommendations
ChristopherBacon Jan 13, 2026
35293d0
NPA-6014: Update the postman id to include the correct code
ChristopherBacon Jan 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

326 changes: 182 additions & 144 deletions postman/validated_relationship_service.sandbox.postman_collection.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
ReplaceLegalBasisRequest:
summary: Replace legal basis
description: payload used to replace the legal basis of a consent resource
description: payload used to add a new actor (legal basis) to the consent provision
value:
- op: replace
path: /provision/actor
value:
- role:
coding:
- system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
code: court-appointed-personal-welfare-deputy
display: Court appointed personal welfare deputy
reference:
type: RelatedPerson
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: "9000000017"
role:
coding:
- system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
code: court-appointed-personal-welfare-deputy
display: Court appointed personal welfare deputy
reference:
type: RelatedPerson
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: "9000000017"
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
UpdateProvisionEndDate:
summary: Set provision end date
description: >
Example apply end date to a relationship.
The relationship will be considered as ended following this date.
value:
- op: add
path: /provision/period/end
value: "2026-12-31T23:59:59Z"
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ StatusUpdate:
- op: replace
path: /status
value: inactive
- op: replace
path: /extension
- op: add
path: /extension/-
value:
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
valueCodeableConcept:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,23 @@ ConsentAdultToAdultGuardianRequest:
system: https://fhir.nhs.uk/Id/nhs-number
value: "9000000017"
provision:
period:
start: "2025-02-11"
actor:
- role:
coding:
- system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
code: court-appointed-personal-welfare-deputy
display: Court appointed personal welfare deputy
reference:
type: RelatedPerson
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: "9000000017"
- period:
start: "2025-02-11T14:30:00Z"
actor:
- role:
coding:
- system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
code: court-appointed-personal-welfare-deputy
display: Court appointed personal welfare deputy
reference:
type: RelatedPerson
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: "9000000017"
extension:
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
valueCodeableConcept:
coding:
- system: https://terminology.hl7.org/CodeSystem/consent-reason
code: ROLE_CREATED
display: Role created from scratch by GP
display: Role created from scratch by GP
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,24 @@ ConsentParentChildProxyCreationRequest:
system: https://fhir.nhs.uk/Id/nhs-number
value: "9000000009"
provision:
period:
start: "2025-02-11"
end: "2026-02-11"
actor:
- role:
coding:
- system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
code: parental-responsibility
display: Parental responsibility
reference:
type: RelatedPerson
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: "9000000009"
- period:
start: "2025-02-11T14:30:00Z"
end: "2026-02-11T14:30:00Z"
actor:
- role:
coding:
- system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
code: parental-responsibility
display: Parental responsibility
reference:
type: RelatedPerson
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: "9000000009"
extension:
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
valueCodeableConcept:
coding:
- system: https://terminology.hl7.org/CodeSystem/consent-reason
code: ROLE_CREATED
display: Role created from scratch by GP
display: Role created from scratch by GP
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
actor:
- reference:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
system: "https://fhir.nhs.uk/Id/nhs-number"
value: "9000000017"
role:
coding:
- code: parental-responsibility
display: Parental responsibility
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
- code: parental-responsibility
display: "Parental responsibility"
system: "https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis"
period:
end: "2026-02-11"
start: "2025-02-11"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle:
value: '9000000017'
role:
coding:
- code: parental-responsibility
display: Parental responsibility
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
- code: parental-responsibility
display: Parental responsibility
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
period:
end: '2026-02-11'
start: '2025-02-11'
Expand Down Expand Up @@ -100,9 +100,9 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle:
value: '9000000017'
role:
coding:
- code: parental-responsibility
display: Parental responsibility
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
- code: parental-responsibility
display: Parental responsibility
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
period:
end: '2026-02-11'
start: '2025-02-11'
Expand Down Expand Up @@ -153,9 +153,9 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle:
value: '9000000017'
role:
coding:
- code: parental-responsibility
display: Parental responsibility
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
- code: parental-responsibility
display: Parental responsibility
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
period:
end: '2026-02-11'
start: '2025-02-11'
Expand Down Expand Up @@ -206,9 +206,9 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle:
value: '9000000017'
role:
coding:
- code: parental-responsibility
display: Parental responsibility
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
- code: parental-responsibility
display: Parental responsibility
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
period:
end: '2026-02-11'
start: '2025-02-11'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ ConsentMultipleRelationshipsIncludePatientBundle:
value: '9000000022'
role:
coding:
- code: parental-responsibility
display: Parental responsibility
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
- code: parental-responsibility
display: Parental responsibility
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
period:
end: "2026-02-11"
start: "2025-02-11"
Expand Down Expand Up @@ -164,9 +164,9 @@ ConsentMultipleRelationshipsIncludePatientBundle:
value: '9000000022'
role:
coding:
- code: parental-responsibility
display: Parental responsibility
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
- code: parental-responsibility
display: Parental responsibility
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
period:
end: "2026-02-11"
start: "2025-02-11"
Expand Down Expand Up @@ -231,7 +231,7 @@ ConsentMultipleRelationshipsIncludePatientBundle:
identifier:
system: "https://fhir.nhs.uk/Id/nhs-number"
value: "9000000006"
dateTime: "2024-07-21T17:32:28Z"
dateTime: "2024-07-21T1T32:28Z"
performer:
- identifier:
system: "https://fhir.nhs.uk/Id/nhs-number"
Expand All @@ -247,9 +247,9 @@ ConsentMultipleRelationshipsIncludePatientBundle:
value: '9000000022'
role:
coding:
- code: parental-responsibility
display: Parental responsibility
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
- code: parental-responsibility
display: Parental responsibility
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
period:
end: "2026-02-11"
start: "2025-02-11"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
value: '9000000022'
role:
coding:
- code: parental-responsibility
display: Parental responsibility
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
- code: parental-responsibility
display: Parental responsibility
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
period:
end: "2026-02-11"
start: "2025-02-11"
Expand Down Expand Up @@ -211,9 +211,9 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
value: '9000000022'
role:
coding:
- code: best-interest
display: Best Interest
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
- code: best-interest
display: Best Interest
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
period:
end: "2026-02-11"
start: "2025-02-11"
Expand Down Expand Up @@ -315,9 +315,9 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
value: '9000000022'
role:
coding:
- code: best-interest
display: Best Interest
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
- code: best-interest
display: Best Interest
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
period:
end: "2026-02-11"
start: "2025-02-11"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,19 +67,19 @@ ConsentMultipleRelationshipsIncludePerformerBundle:
- authority: https://www.england.nhs.uk
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
provision:
actor:
- reference:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000022'
role:
coding:
- code: parental-responsibility
display: Parental responsibility
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
period:
end: '2026-02-11'
start: '2025-02-11'
actor:
- reference:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000022'
role:
coding:
- code: parental-responsibility
display: Parental responsibility
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
period:
end: '2026-02-11'
start: '2025-02-11'
extension:
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
valueCodeableConcept:
Expand Down Expand Up @@ -142,19 +142,19 @@ ConsentMultipleRelationshipsIncludePerformerBundle:
- authority: https://www.england.nhs.uk
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
provision:
actor:
- reference:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000022'
role:
coding:
- code: best-interest
display: Best Interest
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
period:
end: '2026-02-11'
start: '2025-02-11'
actor:
- reference:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000022'
role:
coding:
- code: best-interest
display: Best Interest
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
period:
end: '2026-02-11'
start: '2025-02-11'
extension:
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
valueCodeableConcept:
Expand Down Expand Up @@ -217,19 +217,19 @@ ConsentMultipleRelationshipsIncludePerformerBundle:
- authority: https://www.england.nhs.uk
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
provision:
actor:
- reference:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000022'
role:
coding:
- code: best-interest
display: Best Interest
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
period:
end: '2026-02-11'
start: '2025-02-11'
actor:
- reference:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000022'
role:
coding:
- code: best-interest
display: Best Interest
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
period:
end: '2026-02-11'
start: '2025-02-11'
extension:
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
valueCodeableConcept:
Expand Down
Loading