Skip to content

Commit 2d02c20

Browse files
authored
Merge pull request #233 from NHSDigital/bug/NPA-5214/fix-extension-valueCodeableConcept-schema
NPA-5214: Fix Extension valueCodeableConcept Schema
2 parents a83f5ed + a37d8f3 commit 2d02c20

17 files changed

+475
-481
lines changed

postman/Validate Relationship Service Sandbox.postman_collection.json

Lines changed: 400 additions & 440 deletions
Large diffs are not rendered by default.

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,11 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
108108
extension:
109109
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
110110
valueCodeableConcept:
111-
- coding:
111+
coding:
112112
- code: TBC
113113
display: TBC
114114
system: http://terminology.hl7.org/CodeSystem/consent-reason
115+
text: "To be confirmed"
115116
search:
116117
mode: match
117118
- fullUrl: "https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/RP974720"
@@ -207,9 +208,10 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
207208
extension:
208209
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
209210
valueCodeableConcept:
210-
- coding:
211+
coding:
211212
- code: TBC
212213
display: TBC
213214
system: http://terminology.hl7.org/CodeSystem/consent-reason
215+
text: "To be confirmed"
214216
search:
215217
mode: match

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,11 @@ ConsentMultipleRelationshipsStatusInactiveBundle:
5151
extension:
5252
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
5353
valueCodeableConcept:
54-
- coding:
54+
coding:
5555
- code: TBC
5656
display: TBC
5757
system: http://terminology.hl7.org/CodeSystem/consent-reason
58+
text: "To be confirmed"
5859
search:
5960
mode: match
6061
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/ABCD12B3
@@ -101,9 +102,10 @@ ConsentMultipleRelationshipsStatusInactiveBundle:
101102
extension:
102103
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
103104
valueCodeableConcept:
104-
- coding:
105+
coding:
105106
- code: TBC
106107
display: TBC
107108
system: http://terminology.hl7.org/CodeSystem/consent-reason
109+
text: "To be confirmed"
108110
search:
109111
mode: match

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

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,11 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle:
5151
extension:
5252
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
5353
valueCodeableConcept:
54-
- coding:
54+
coding:
5555
- code: TBC
5656
display: TBC
5757
system: http://terminology.hl7.org/CodeSystem/consent-reason
58+
text: "To be confirmed"
5859
search:
5960
mode: match
6061

@@ -84,7 +85,7 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle:
8485
- identifier:
8586
system: 'https://fhir.nhs.uk/Id/nhs-number'
8687
value: '9000000017'
87-
88+
8889
provision:
8990
actor:
9091
- reference:
@@ -103,10 +104,11 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle:
103104
extension:
104105
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
105106
valueCodeableConcept:
106-
- coding:
107+
coding:
107108
- code: TBC
108109
display: TBC
109110
system: http://terminology.hl7.org/CodeSystem/consent-reason
111+
text: "To be confirmed"
110112
search:
111113
mode: match
112114

@@ -154,10 +156,11 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle:
154156
extension:
155157
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
156158
valueCodeableConcept:
157-
- coding:
159+
coding:
158160
- code: TBC
159161
display: TBC
160162
system: http://terminology.hl7.org/CodeSystem/consent-reason
163+
text: "To be confirmed"
161164
search:
162165
mode: match
163166

@@ -205,9 +208,10 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle:
205208
extension:
206209
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
207210
valueCodeableConcept:
208-
- coding:
211+
coding:
209212
- code: TBC
210213
display: TBC
211214
system: http://terminology.hl7.org/CodeSystem/consent-reason
215+
text: "To be confirmed"
212216
search:
213217
mode: match

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,11 @@ ConsentMultipleRelationshipsIncludePatientBundle:
8383
extension:
8484
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
8585
valueCodeableConcept:
86-
- coding:
86+
coding:
8787
- code: TBC
8888
display: TBC
8989
system: http://terminology.hl7.org/CodeSystem/consent-reason
90+
text: "To be confirmed"
9091
search:
9192
mode: match
9293
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/DFCC67F5
@@ -161,10 +162,11 @@ ConsentMultipleRelationshipsIncludePatientBundle:
161162
extension:
162163
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
163164
valueCodeableConcept:
164-
- coding:
165+
coding:
165166
- code: TBC
166167
display: TBC
167168
system: http://terminology.hl7.org/CodeSystem/consent-reason
169+
text: "To be confirmed"
168170
search:
169171
mode: match
170172
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/ZPTT32T3
@@ -239,10 +241,11 @@ ConsentMultipleRelationshipsIncludePatientBundle:
239241
extension:
240242
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
241243
valueCodeableConcept:
242-
- coding:
244+
coding:
243245
- code: TBC
244246
display: TBC
245247
system: http://terminology.hl7.org/CodeSystem/consent-reason
248+
text: "To be confirmed"
246249
search:
247250
mode: match
248251

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,11 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
108108
extension:
109109
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
110110
valueCodeableConcept:
111-
- coding:
111+
coding:
112112
- code: TBC
113113
display: TBC
114114
system: http://terminology.hl7.org/CodeSystem/consent-reason
115+
text: "To be confirmed"
115116
search:
116117
mode: match
117118
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/RP974720
@@ -208,10 +209,11 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
208209
extension:
209210
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
210211
valueCodeableConcept:
211-
- coding:
212+
coding:
212213
- code: TBC
213214
display: TBC
214215
system: http://terminology.hl7.org/CodeSystem/consent-reason
216+
text: "To be confirmed"
215217
search:
216218
mode: match
217219
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/AATD11A1
@@ -308,9 +310,10 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
308310
extension:
309311
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
310312
valueCodeableConcept:
311-
- coding:
313+
coding:
312314
- code: TBC
313315
display: TBC
314316
system: http://terminology.hl7.org/CodeSystem/consent-reason
317+
text: "To be confirmed"
315318
search:
316319
mode: match

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,11 @@ ConsentMultipleRelationshipsIncludePerformerBundle:
7878
extension:
7979
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
8080
valueCodeableConcept:
81-
- coding:
81+
coding:
8282
- code: TBC
8383
display: TBC
8484
system: http://terminology.hl7.org/CodeSystem/consent-reason
85+
text: "To be confirmed"
8586
search:
8687
mode: match
8788
- fullUrl: >-
@@ -152,10 +153,11 @@ ConsentMultipleRelationshipsIncludePerformerBundle:
152153
extension:
153154
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
154155
valueCodeableConcept:
155-
- coding:
156+
coding:
156157
- code: TBC
157158
display: TBC
158159
system: http://terminology.hl7.org/CodeSystem/consent-reason
160+
text: "To be confirmed"
159161
search:
160162
mode: match
161163
- fullUrl: >-
@@ -226,10 +228,11 @@ ConsentMultipleRelationshipsIncludePerformerBundle:
226228
extension:
227229
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
228230
valueCodeableConcept:
229-
- coding:
231+
coding:
230232
- code: TBC
231233
display: TBC
232234
system: http://terminology.hl7.org/CodeSystem/consent-reason
235+
text: "To be confirmed"
233236
search:
234237
mode: match
235238

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,11 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle:
7979
extension:
8080
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
8181
valueCodeableConcept:
82-
- coding:
82+
coding:
8383
- code: TBC
8484
display: TBC
8585
system: http://terminology.hl7.org/CodeSystem/consent-reason
86+
text: "To be confirmed"
8687
search:
8788
mode: match
8889
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/WWCC67T1
@@ -129,10 +130,11 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle:
129130
extension:
130131
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
131132
valueCodeableConcept:
132-
- coding:
133+
coding:
133134
- code: TBC
134135
display: TBC
135136
system: http://terminology.hl7.org/CodeSystem/consent-reason
137+
text: "To be confirmed"
136138
search:
137139
mode: match
138140
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/AATD11A1
@@ -179,9 +181,10 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle:
179181
extension:
180182
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
181183
valueCodeableConcept:
182-
- coding:
184+
coding:
183185
- code: TBC
184186
display: TBC
185187
system: http://terminology.hl7.org/CodeSystem/consent-reason
188+
text: "To be confirmed"
186189
search:
187190
mode: match

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,11 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
103103
extension:
104104
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
105105
valueCodeableConcept:
106-
- coding:
106+
coding:
107107
- code: TBC
108108
display: TBC
109109
system: http://terminology.hl7.org/CodeSystem/consent-reason
110+
text: "To be confirmed"
110111
search:
111112
mode: match
112113
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742
@@ -174,10 +175,11 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
174175
extension:
175176
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
176177
valueCodeableConcept:
177-
- coding:
178+
coding:
178179
- code: TBC
179180
display: TBC
180181
system: http://terminology.hl7.org/CodeSystem/consent-reason
182+
text: "To be confirmed"
181183
search:
182184
mode: match
183185
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742
@@ -245,9 +247,10 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
245247
extension:
246248
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
247249
valueCodeableConcept:
248-
- coding:
250+
coding:
249251
- code: TBC
250252
display: TBC
251253
system: http://terminology.hl7.org/CodeSystem/consent-reason
254+
text: "To be confirmed"
252255
search:
253256
mode: match

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,11 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
7575
extension:
7676
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
7777
valueCodeableConcept:
78-
- coding:
78+
coding:
7979
- code: TBC
8080
display: TBC
8181
system: http://terminology.hl7.org/CodeSystem/consent-reason
82+
text: "To be confirmed"
8283
search:
8384
mode: match
8485
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742
@@ -146,10 +147,11 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
146147
extension:
147148
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
148149
valueCodeableConcept:
149-
- coding:
150+
coding:
150151
- code: TBC
151152
display: TBC
152153
system: http://terminology.hl7.org/CodeSystem/consent-reason
154+
text: "To be confirmed"
153155
search:
154156
mode: match
155157
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742
@@ -217,9 +219,10 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
217219
extension:
218220
- url: https://fhir.hl7.org.uk/StructureDefinition/Extension-statusReason
219221
valueCodeableConcept:
220-
- coding:
222+
coding:
221223
- code: TBC
222224
display: TBC
223225
system: http://terminology.hl7.org/CodeSystem/consent-reason
226+
text: "To be confirmed"
224227
search:
225228
mode: match

0 commit comments

Comments
 (0)