Skip to content

Commit d2dec53

Browse files
NPA-5395: Remove Extension from Consent schema in spec and examples
1 parent 3bf5643 commit d2dec53

19 files changed

+1
-329
lines changed
Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
StatusUpdate:
22
summary: Update consent status
3-
description: Example status change to inactive. Along with reason for the status change.
3+
description: Example status change to inactive.
44
value:
55
- op: replace
66
path: /status
77
value: inactive
8-
- op: replace
9-
path: /extension
10-
value:
11-
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
12-
valueCodeableConcept:
13-
coding:
14-
- system: http://terminology.hl7.org/CodeSystem/consent-reason
15-
code: TBC
16-
display: TBC
17-

specification/examples/requests/POST_Consent/adult_to_adult_proxy_creation.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,3 @@ ConsentAdultToAdultGuardianRequest:
4040
identifier:
4141
system: https://fhir.nhs.uk/Id/nhs-number
4242
value: "9000000017"
43-
extension:
44-
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
45-
valueCodeableConcept:
46-
coding:
47-
- system: http://terminology.hl7.org/CodeSystem/consent-reason
48-
code: TBC
49-
display: TBC

specification/examples/requests/POST_Consent/parent_child_proxy_creation.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,3 @@ ConsentParentChildProxyCreationRequest:
4141
identifier:
4242
system: https://fhir.nhs.uk/Id/nhs-number
4343
value: "9000000009"
44-
extension:
45-
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
46-
valueCodeableConcept:
47-
coding:
48-
- system: http://terminology.hl7.org/CodeSystem/consent-reason
49-
code: TBC
50-
display: TBC

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

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,6 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
105105
period:
106106
end: "2026-02-11"
107107
start: "2025-02-11"
108-
extension:
109-
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
110-
valueCodeableConcept:
111-
coding:
112-
- code: TBC
113-
display: TBC
114-
system: http://terminology.hl7.org/CodeSystem/consent-reason
115-
text: "To be confirmed"
116108
search:
117109
mode: match
118110
- fullUrl: "https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/RP974720"
@@ -205,13 +197,5 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
205197
period:
206198
end: "2026-02-11"
207199
start: "2025-02-11"
208-
extension:
209-
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
210-
valueCodeableConcept:
211-
coding:
212-
- code: TBC
213-
display: TBC
214-
system: http://terminology.hl7.org/CodeSystem/consent-reason
215-
text: "To be confirmed"
216200
search:
217201
mode: match

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

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,6 @@ ConsentMultipleRelationshipsStatusInactiveBundle:
4848
period:
4949
end: '2026-02-11'
5050
start: '2025-02-11'
51-
extension:
52-
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
53-
valueCodeableConcept:
54-
coding:
55-
- code: TBC
56-
display: TBC
57-
system: http://terminology.hl7.org/CodeSystem/consent-reason
58-
text: "To be confirmed"
5951
search:
6052
mode: match
6153
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/ABCD12B3
@@ -99,13 +91,5 @@ ConsentMultipleRelationshipsStatusInactiveBundle:
9991
period:
10092
end: '2026-02-11'
10193
start: '2025-02-11'
102-
extension:
103-
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
104-
valueCodeableConcept:
105-
coding:
106-
- code: TBC
107-
display: TBC
108-
system: http://terminology.hl7.org/CodeSystem/consent-reason
109-
text: "To be confirmed"
11094
search:
11195
mode: match

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

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,6 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle:
4848
period:
4949
end: '2026-02-11'
5050
start: '2025-02-11'
51-
extension:
52-
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
53-
valueCodeableConcept:
54-
coding:
55-
- code: TBC
56-
display: TBC
57-
system: http://terminology.hl7.org/CodeSystem/consent-reason
58-
text: "To be confirmed"
5951
search:
6052
mode: match
6153

@@ -101,14 +93,6 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle:
10193
period:
10294
end: '2026-02-11'
10395
start: '2025-02-11'
104-
extension:
105-
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
106-
valueCodeableConcept:
107-
coding:
108-
- code: TBC
109-
display: TBC
110-
system: http://terminology.hl7.org/CodeSystem/consent-reason
111-
text: "To be confirmed"
11296
search:
11397
mode: match
11498

@@ -153,14 +137,6 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle:
153137
period:
154138
end: '2026-02-11'
155139
start: '2025-02-11'
156-
extension:
157-
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
158-
valueCodeableConcept:
159-
coding:
160-
- code: TBC
161-
display: TBC
162-
system: http://terminology.hl7.org/CodeSystem/consent-reason
163-
text: "To be confirmed"
164140
search:
165141
mode: match
166142

@@ -205,13 +181,5 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle:
205181
period:
206182
end: '2026-02-11'
207183
start: '2025-02-11'
208-
extension:
209-
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
210-
valueCodeableConcept:
211-
coding:
212-
- code: TBC
213-
display: TBC
214-
system: http://terminology.hl7.org/CodeSystem/consent-reason
215-
text: "To be confirmed"
216184
search:
217185
mode: match

specification/examples/responses/GET_Consent/multiple-relationships-include-patient.yaml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,6 @@ ConsentMultipleRelationshipsIncludePatientBundle:
8080
period:
8181
end: '2026-02-11'
8282
start: '2025-02-11'
83-
extension:
84-
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
85-
valueCodeableConcept:
86-
coding:
87-
- code: TBC
88-
display: TBC
89-
system: http://terminology.hl7.org/CodeSystem/consent-reason
90-
text: "To be confirmed"
9183
search:
9284
mode: match
9385
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/DFCC67F5
@@ -159,14 +151,6 @@ ConsentMultipleRelationshipsIncludePatientBundle:
159151
period:
160152
end: '2026-02-11'
161153
start: '2025-02-11'
162-
extension:
163-
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
164-
valueCodeableConcept:
165-
coding:
166-
- code: TBC
167-
display: TBC
168-
system: http://terminology.hl7.org/CodeSystem/consent-reason
169-
text: "To be confirmed"
170154
search:
171155
mode: match
172156
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/ZPTT32T3
@@ -238,14 +222,6 @@ ConsentMultipleRelationshipsIncludePatientBundle:
238222
period:
239223
end: '2026-02-11'
240224
start: '2025-02-11'
241-
extension:
242-
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
243-
valueCodeableConcept:
244-
coding:
245-
- code: TBC
246-
display: TBC
247-
system: http://terminology.hl7.org/CodeSystem/consent-reason
248-
text: "To be confirmed"
249225
search:
250226
mode: match
251227

specification/examples/responses/GET_Consent/multiple-relationships-include-performer-patient.yaml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,6 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
105105
period:
106106
end: '2026-02-11'
107107
start: '2025-02-11'
108-
extension:
109-
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
110-
valueCodeableConcept:
111-
coding:
112-
- code: TBC
113-
display: TBC
114-
system: http://terminology.hl7.org/CodeSystem/consent-reason
115-
text: "To be confirmed"
116108
search:
117109
mode: match
118110
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/RP974720
@@ -206,14 +198,6 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
206198
period:
207199
end: '2026-02-11'
208200
start: '2025-02-11'
209-
extension:
210-
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
211-
valueCodeableConcept:
212-
coding:
213-
- code: TBC
214-
display: TBC
215-
system: http://terminology.hl7.org/CodeSystem/consent-reason
216-
text: "To be confirmed"
217201
search:
218202
mode: match
219203
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/AATD11A1
@@ -307,13 +291,5 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
307291
period:
308292
end: '2026-02-11'
309293
start: '2025-02-11'
310-
extension:
311-
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
312-
valueCodeableConcept:
313-
coding:
314-
- code: TBC
315-
display: TBC
316-
system: http://terminology.hl7.org/CodeSystem/consent-reason
317-
text: "To be confirmed"
318294
search:
319295
mode: match

specification/examples/responses/GET_Consent/multiple-relationships-include-performer.yaml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,6 @@ ConsentMultipleRelationshipsIncludePerformerBundle:
7575
period:
7676
end: '2026-02-11'
7777
start: '2025-02-11'
78-
extension:
79-
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
80-
valueCodeableConcept:
81-
coding:
82-
- code: TBC
83-
display: TBC
84-
system: http://terminology.hl7.org/CodeSystem/consent-reason
85-
text: "To be confirmed"
8678
search:
8779
mode: match
8880
- fullUrl: >-
@@ -150,14 +142,6 @@ ConsentMultipleRelationshipsIncludePerformerBundle:
150142
period:
151143
end: '2026-02-11'
152144
start: '2025-02-11'
153-
extension:
154-
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
155-
valueCodeableConcept:
156-
coding:
157-
- code: TBC
158-
display: TBC
159-
system: http://terminology.hl7.org/CodeSystem/consent-reason
160-
text: "To be confirmed"
161145
search:
162146
mode: match
163147
- fullUrl: >-
@@ -225,14 +209,6 @@ ConsentMultipleRelationshipsIncludePerformerBundle:
225209
period:
226210
end: '2026-02-11'
227211
start: '2025-02-11'
228-
extension:
229-
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
230-
valueCodeableConcept:
231-
coding:
232-
- code: TBC
233-
display: TBC
234-
system: http://terminology.hl7.org/CodeSystem/consent-reason
235-
text: "To be confirmed"
236212
search:
237213
mode: match
238214

specification/examples/responses/GET_Consent/multiple-relationships-single-patient-include-patient.yaml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,6 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle:
7676
period:
7777
end: '2026-02-11'
7878
start: '2025-02-11'
79-
extension:
80-
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
81-
valueCodeableConcept:
82-
coding:
83-
- code: TBC
84-
display: TBC
85-
system: http://terminology.hl7.org/CodeSystem/consent-reason
86-
text: "To be confirmed"
8779
search:
8880
mode: match
8981
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/WWCC67T1
@@ -127,14 +119,6 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle:
127119
period:
128120
end: '2026-02-11'
129121
start: '2025-02-11'
130-
extension:
131-
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
132-
valueCodeableConcept:
133-
coding:
134-
- code: TBC
135-
display: TBC
136-
system: http://terminology.hl7.org/CodeSystem/consent-reason
137-
text: "To be confirmed"
138122
search:
139123
mode: match
140124
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/AATD11A1
@@ -178,13 +162,5 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle:
178162
period:
179163
end: '2026-02-11'
180164
start: '2025-02-11'
181-
extension:
182-
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
183-
valueCodeableConcept:
184-
coding:
185-
- code: TBC
186-
display: TBC
187-
system: http://terminology.hl7.org/CodeSystem/consent-reason
188-
text: "To be confirmed"
189165
search:
190166
mode: match

0 commit comments

Comments
 (0)