Skip to content

Commit acbaaeb

Browse files
NPA-6014: Changes to the Schema examples provision array and actor as an array
1 parent f3a56d4 commit acbaaeb

22 files changed

+558
-558
lines changed

specification/examples/requests/POST_Consent/adult_to_adult_proxy_creation.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,19 @@ ConsentAdultToAdultGuardianRequest:
2727
system: https://fhir.nhs.uk/Id/nhs-number
2828
value: "9000000017"
2929
provision:
30-
period:
31-
start: "2025-02-11T14:30:00Z"
32-
actor:
33-
- role:
34-
coding:
35-
- system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
36-
code: court-appointed-personal-welfare-deputy
37-
display: Court appointed personal welfare deputy
38-
reference:
39-
type: RelatedPerson
40-
identifier:
41-
system: https://fhir.nhs.uk/Id/nhs-number
42-
value: "9000000017"
30+
- period:
31+
start: "2025-02-11T14:30:00Z"
32+
actor:
33+
- role:
34+
coding:
35+
- system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
36+
code: court-appointed-personal-welfare-deputy
37+
display: Court appointed personal welfare deputy
38+
reference:
39+
type: RelatedPerson
40+
identifier:
41+
system: https://fhir.nhs.uk/Id/nhs-number
42+
value: "9000000017"
4343
extension:
4444
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
4545
valueCodeableConcept:

specification/examples/requests/POST_Consent/parent_child_proxy_creation.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,20 @@ ConsentParentChildProxyCreationRequest:
2727
system: https://fhir.nhs.uk/Id/nhs-number
2828
value: "9000000009"
2929
provision:
30-
period:
31-
start: "2025-02-11T14:30:00Z"
32-
end: "2026-02-11T14:30:00Z"
33-
actor:
34-
- role:
35-
coding:
36-
- system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
37-
code: parental-responsibility
38-
display: Parental responsibility
39-
reference:
40-
type: RelatedPerson
41-
identifier:
42-
system: https://fhir.nhs.uk/Id/nhs-number
43-
value: "9000000009"
30+
- period:
31+
start: "2025-02-11T14:30:00Z"
32+
end: "2026-02-11T14:30:00Z"
33+
actor:
34+
- role:
35+
coding:
36+
- system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
37+
code: parental-responsibility
38+
display: Parental responsibility
39+
reference:
40+
type: RelatedPerson
41+
identifier:
42+
system: https://fhir.nhs.uk/Id/nhs-number
43+
value: "9000000009"
4444
extension:
4545
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
4646
valueCodeableConcept:

specification/examples/responses/GET_Consent/filtered-relationships-status-active-include-details.yaml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -100,19 +100,19 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
100100
- authority: "https://www.england.nhs.uk"
101101
uri: "REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD"
102102
provision:
103-
actor:
104-
- reference:
105-
identifier:
106-
system: https://fhir.nhs.uk/Id/nhs-number
107-
value: "9000000017"
108-
role:
109-
coding:
110-
- code: parental-responsibility
111-
display: Parental responsibility
112-
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
113-
period:
114-
end: "2026-02-11"
115-
start: "2025-02-11"
103+
- actor:
104+
- reference:
105+
identifier:
106+
system: https://fhir.nhs.uk/Id/nhs-number
107+
value: "9000000017"
108+
role:
109+
coding:
110+
- code: parental-responsibility
111+
display: Parental responsibility
112+
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
113+
period:
114+
end: "2026-02-11"
115+
start: "2025-02-11"
116116
extension:
117117
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
118118
valueCodeableConcept:
@@ -203,19 +203,19 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
203203
- authority: "https://www.england.nhs.uk"
204204
uri: "REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD"
205205
provision:
206-
actor:
207-
- reference:
208-
identifier:
209-
system: https://fhir.nhs.uk/Id/nhs-number
210-
value: "9000000017"
211-
role:
212-
coding:
213-
- code: parental-responsibility
214-
display: Parental responsibility
215-
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
216-
period:
217-
end: "2026-02-11"
218-
start: "2025-02-11"
206+
- actor:
207+
- reference:
208+
identifier:
209+
system: https://fhir.nhs.uk/Id/nhs-number
210+
value: "9000000017"
211+
role:
212+
coding:
213+
- code: parental-responsibility
214+
display: Parental responsibility
215+
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
216+
period:
217+
end: "2026-02-11"
218+
start: "2025-02-11"
219219
extension:
220220
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
221221
valueCodeableConcept:

specification/examples/responses/GET_Consent/filtered-relationships-status-inactive.yaml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@ ConsentMultipleRelationshipsStatusInactiveBundle:
4040
- authority: https://www.england.nhs.uk
4141
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
4242
provision:
43-
actor:
44-
- reference:
45-
identifier:
46-
system: https://fhir.nhs.uk/Id/nhs-number
47-
value: '9000000017'
48-
role:
49-
coding:
50-
- code: parental-responsibility
51-
display: Parental responsibility
52-
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
53-
period:
54-
end: '2026-02-11'
55-
start: '2025-02-11'
43+
- actor:
44+
- reference:
45+
identifier:
46+
system: https://fhir.nhs.uk/Id/nhs-number
47+
value: '9000000017'
48+
role:
49+
coding:
50+
- code: parental-responsibility
51+
display: Parental responsibility
52+
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
53+
period:
54+
end: '2026-02-11'
55+
start: '2025-02-11'
5656
extension:
5757
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
5858
valueCodeableConcept:
@@ -92,19 +92,19 @@ ConsentMultipleRelationshipsStatusInactiveBundle:
9292
- authority: https://www.england.nhs.uk
9393
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
9494
provision:
95-
actor:
96-
- reference:
97-
identifier:
98-
system: https://fhir.nhs.uk/Id/nhs-number
99-
value: '9000000017'
100-
role:
101-
coding:
102-
- code: parental-responsibility
103-
display: Parental responsibility
104-
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
105-
period:
106-
end: '2026-02-11'
107-
start: '2025-02-11'
95+
- actor:
96+
- reference:
97+
identifier:
98+
system: https://fhir.nhs.uk/Id/nhs-number
99+
value: '9000000017'
100+
role:
101+
coding:
102+
- code: parental-responsibility
103+
display: Parental responsibility
104+
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
105+
period:
106+
end: '2026-02-11'
107+
start: '2025-02-11'
108108
extension:
109109
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
110110
valueCodeableConcept:

specification/examples/responses/GET_Consent/filtered-relationships-status-proposed-active.yaml

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle:
4040
- authority: https://www.england.nhs.uk
4141
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
4242
provision:
43-
actor:
44-
- reference:
45-
identifier:
46-
system: https://fhir.nhs.uk/Id/nhs-number
47-
value: '9000000017'
48-
role:
49-
coding:
50-
- code: parental-responsibility
51-
display: Parental responsibility
52-
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
53-
period:
54-
end: '2026-02-11'
55-
start: '2025-02-11'
43+
- actor:
44+
- reference:
45+
identifier:
46+
system: https://fhir.nhs.uk/Id/nhs-number
47+
value: '9000000017'
48+
role:
49+
coding:
50+
- code: parental-responsibility
51+
display: Parental responsibility
52+
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
53+
period:
54+
end: '2026-02-11'
55+
start: '2025-02-11'
5656
extension:
5757
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
5858
valueCodeableConcept:
@@ -93,19 +93,19 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle:
9393
- authority: https://www.england.nhs.uk
9494
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
9595
provision:
96-
actor:
97-
- reference:
98-
identifier:
99-
system: https://fhir.nhs.uk/Id/nhs-number
100-
value: '9000000017'
101-
role:
102-
coding:
103-
- code: parental-responsibility
104-
display: Parental responsibility
105-
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
106-
period:
107-
end: '2026-02-11'
108-
start: '2025-02-11'
96+
- actor:
97+
- reference:
98+
identifier:
99+
system: https://fhir.nhs.uk/Id/nhs-number
100+
value: '9000000017'
101+
role:
102+
coding:
103+
- code: parental-responsibility
104+
display: Parental responsibility
105+
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
106+
period:
107+
end: '2026-02-11'
108+
start: '2025-02-11'
109109
extension:
110110
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
111111
valueCodeableConcept:
@@ -146,19 +146,19 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle:
146146
- authority: https://www.england.nhs.uk
147147
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
148148
provision:
149-
actor:
150-
- reference:
151-
identifier:
152-
system: https://fhir.nhs.uk/Id/nhs-number
153-
value: '9000000017'
154-
role:
155-
coding:
156-
- code: parental-responsibility
157-
display: Parental responsibility
158-
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
159-
period:
160-
end: '2026-02-11'
161-
start: '2025-02-11'
149+
- actor:
150+
- reference:
151+
identifier:
152+
system: https://fhir.nhs.uk/Id/nhs-number
153+
value: '9000000017'
154+
role:
155+
coding:
156+
- code: parental-responsibility
157+
display: Parental responsibility
158+
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
159+
period:
160+
end: '2026-02-11'
161+
start: '2025-02-11'
162162
extension:
163163
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
164164
valueCodeableConcept:
@@ -199,19 +199,19 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle:
199199
- authority: https://www.england.nhs.uk
200200
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
201201
provision:
202-
actor:
203-
- reference:
204-
identifier:
205-
system: https://fhir.nhs.uk/Id/nhs-number
206-
value: '9000000017'
207-
role:
208-
coding:
209-
- code: parental-responsibility
210-
display: Parental responsibility
211-
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
212-
period:
213-
end: '2026-02-11'
214-
start: '2025-02-11'
202+
- actor:
203+
- reference:
204+
identifier:
205+
system: https://fhir.nhs.uk/Id/nhs-number
206+
value: '9000000017'
207+
role:
208+
coding:
209+
- code: parental-responsibility
210+
display: Parental responsibility
211+
system: https://fhir.nhs.uk/England/CodeSystem/England-NHSProxyLegalBasis
212+
period:
213+
end: '2026-02-11'
214+
start: '2025-02-11'
215215
extension:
216216
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
217217
valueCodeableConcept:

0 commit comments

Comments
 (0)