Skip to content

Commit 9faccaf

Browse files
NPA-5743: Update FHIR identity proofing level code system URLs (#261)
This reverts commit 8943fc2. # Pull Request ## 🧾 Ticket Link <!-- Add the Jira ticket link here --> https://nhsd-jira.digital.nhs.uk/browse/NPA-5743 --- ## 📄 Description/Summary of Changes <!-- Describe the changes made in this PR. Include the purpose/scope/impact of the changes --> - Update to examples - Update to postman collection --- ## 🧪 Developer Testing Carried Out <!-- Describe what tests (automated/unit/manual etc.) have been done for the ticket. Include: --> <!-- - Any tests added/updated --> <!-- - Evidence that each acceptance criterion from the Jira ticket is met --> - Sandbox unit test pass - Postman collection test pass --- ## 🧪 Reviewer Testing Required <!-- Describe how to test the changes that have been made in the ticket. Include: --> <!-- - Testing environment details (e.g. sandbox/local setup) --> <!-- - Steps to verify the changes --> - [ ] <!-- Add bullet points for testing instructions --> - [ ] <!-- Add bullet points for testing instructions --> - [ ] <!-- Add bullet points for testing instructions --> --- ## ✅ Developer Checklist <!-- Complete before submitting the PR --> - [ ] PR title follows the format: `NPA-XXXX: <short-description>` - [ ] Branch name follows the convention: `<type>/NPA-XXXX/<short-description>` - [ ] Commit messages follow the template: `NPA-XXXX: <short-description>` - [ ] All acceptance criteria from the Jira ticket are addressed - [ ] Automated tests (unit/integration/API/infrastructure etc. tests) are added or updated - [ ] Assignees and appropriate labels (e.g. `terraform`, `documentation`) are added --- ## 👀 Reviewer Checklist <!-- To be completed by the reviewer --> - [ ] Changes meet the acceptance criteria of the Jira ticket - [ ] Code is able to be merged (no conflicts and adheres to coding standards) - [ ] Sufficient test evidence is provided (manual and/or automated) - [ ] Infrastructure/operational/build changes are validated (if applicable) --- ## 🚀 Post-merge <!-- Actions to complete after merging --> After merging and deploying changes to the sandbox, Postman collection or spec examples please run the Run Postman collection workflow. This will run the tests within the collection to check that the sandbox is working as expected once deployed.
1 parent 8943fc2 commit 9faccaf

11 files changed

+624
-927
lines changed

postman/Validated Relationship Service Sandbox.postman_collection.json

Lines changed: 156 additions & 455 deletions
Large diffs are not rendered by default.

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

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
4242
id: A3CC67E2
4343
meta:
4444
security:
45-
- system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
45+
- system: "https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel"
4646
code: "P9"
4747
display: "High level verification (P9)"
4848
identifier:
@@ -103,16 +103,16 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
103103
uri: "REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD"
104104
provision:
105105
actor:
106-
- reference:
107-
identifier:
108-
system: https://fhir.nhs.uk/Id/nhs-number
109-
value: "9000000017"
110-
type: RelatedPerson
111-
role:
112-
coding:
113-
- code: PRN
114-
display: Parent
115-
system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
106+
- reference:
107+
identifier:
108+
system: https://fhir.nhs.uk/Id/nhs-number
109+
value: "9000000017"
110+
type: RelatedPerson
111+
role:
112+
coding:
113+
- code: PRN
114+
display: Parent
115+
system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
116116
period:
117117
end: "2026-02-11"
118118
start: "2025-02-11"
@@ -145,7 +145,7 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
145145
id: DFCC67F5
146146
meta:
147147
security:
148-
- system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
148+
- system: "https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel"
149149
code: "P9"
150150
display: "High level verification (P9)"
151151
identifier:
@@ -203,16 +203,16 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
203203
uri: "REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD"
204204
provision:
205205
actor:
206-
- reference:
207-
identifier:
208-
system: https://fhir.nhs.uk/Id/nhs-number
209-
value: "9000000017"
210-
type: RelatedPerson
211-
role:
212-
coding:
213-
- code: PRN
214-
display: Parent
215-
system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
206+
- reference:
207+
identifier:
208+
system: https://fhir.nhs.uk/Id/nhs-number
209+
value: "9000000017"
210+
type: RelatedPerson
211+
role:
212+
coding:
213+
- code: PRN
214+
display: Parent
215+
system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
216216
period:
217217
end: "2026-02-11"
218218
start: "2025-02-11"
Lines changed: 85 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
ConsentMultipleRelationshipsIncludePatientBundle:
22
summary: Multiple relationships with patient details
3-
description:
4-
A Bundle containing multiple proxy relationships with varying legal basis' including patient details
3+
description: A Bundle containing multiple proxy relationships with varying legal basis' including patient details
54
value:
65
resourceType: Bundle
7-
timestamp: '2020-08-26T14:00:00+00:00'
6+
timestamp: "2020-08-26T14:00:00+00:00"
87
total: 3
98
type: searchset
109
link:
@@ -17,20 +16,20 @@ ConsentMultipleRelationshipsIncludePatientBundle:
1716
id: A3CC67E2
1817
meta:
1918
security:
20-
- system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
19+
- system: "https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel"
2120
code: "P9"
2221
display: "High level verification (P9)"
2322
identifier:
24-
- system: 'https://fhir.nhs.uk/Id/nhs-number'
25-
value: '9000000009'
26-
- system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
23+
- system: "https://fhir.nhs.uk/Id/nhs-number"
24+
value: "9000000009"
25+
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
2726
value: ABC1234567
2827
name:
29-
- id: '123456'
28+
- id: "123456"
3029
use: usual
3130
period:
32-
start: '2020-01-01'
33-
end: '2021-12-31'
31+
start: "2020-01-01"
32+
end: "2021-12-31"
3433
given:
3534
- Jane Marie Anne
3635
family: Smith
@@ -39,12 +38,12 @@ ConsentMultipleRelationshipsIncludePatientBundle:
3938
suffix:
4039
- MBE
4140
- PhD
42-
birthDate: '2022-10-22'
41+
birthDate: "2022-10-22"
4342
generalPractitioner:
4443
- type: Organization
4544
identifier:
4645
value: ODS12345
47-
system: 'https://fhir.nhs.uk/Id/ods-organization-code'
46+
system: "https://fhir.nhs.uk/Id/ods-organization-code"
4847
search:
4948
mode: include
5049
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/BBCC67E9
@@ -54,43 +53,43 @@ ConsentMultipleRelationshipsIncludePatientBundle:
5453
status: active
5554
scope:
5655
coding:
57-
- system: 'http://terminology.hl7.org/CodeSystem/consentscope'
56+
- system: "http://terminology.hl7.org/CodeSystem/consentscope"
5857
code: patient-privacy
5958
display: Privacy Consent
6059
text: Patient Privacy Consent
6160
category:
6261
- coding:
63-
- system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'
62+
- system: "http://terminology.hl7.org/CodeSystem/v3-ActCode"
6463
code: INFA
6564
display: Information Access
6665
text: Information Access Consent
6766
patient:
6867
identifier:
69-
system: 'https://fhir.nhs.uk/Id/nhs-number'
70-
value: '9000000009'
71-
dateTime: '2024-07-21T17:32:28Z'
68+
system: "https://fhir.nhs.uk/Id/nhs-number"
69+
value: "9000000009"
70+
dateTime: "2024-07-21T17:32:28Z"
7271
performer:
7372
- identifier:
74-
system: 'https://fhir.nhs.uk/Id/nhs-number'
75-
value: '9000000022'
73+
system: "https://fhir.nhs.uk/Id/nhs-number"
74+
value: "9000000022"
7675
policy:
7776
- authority: https://www.england.nhs.uk
7877
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
7978
provision:
8079
actor:
81-
- reference:
82-
identifier:
83-
system: https://fhir.nhs.uk/Id/nhs-number
84-
value: '9000000022'
85-
type: RelatedPerson
86-
role:
87-
coding:
88-
- code: PRN
89-
display: Parent
90-
system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
80+
- reference:
81+
identifier:
82+
system: https://fhir.nhs.uk/Id/nhs-number
83+
value: "9000000022"
84+
type: RelatedPerson
85+
role:
86+
coding:
87+
- code: PRN
88+
display: Parent
89+
system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
9190
period:
92-
end: '2026-02-11'
93-
start: '2025-02-11'
91+
end: "2026-02-11"
92+
start: "2025-02-11"
9493
search:
9594
mode: match
9695
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/DFCC67F5
@@ -99,31 +98,31 @@ ConsentMultipleRelationshipsIncludePatientBundle:
9998
id: DFCC67F5
10099
meta:
101100
security:
102-
- system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
101+
- system: "https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel"
103102
code: "P9"
104103
display: "High level verification (P9)"
105104
identifier:
106-
- system: 'https://fhir.nhs.uk/Id/nhs-number'
107-
value: '9000000005'
108-
- system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
105+
- system: "https://fhir.nhs.uk/Id/nhs-number"
106+
value: "9000000005"
107+
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
109108
value: ABC9999999
110109
name:
111-
- id: '123456'
110+
- id: "123456"
112111
use: usual
113112
period:
114-
start: '2020-01-01'
115-
end: '2021-12-31'
113+
start: "2020-01-01"
114+
end: "2021-12-31"
116115
given:
117116
- Sally
118117
family: Evans
119118
prefix:
120119
- Mrs
121-
birthDate: '1995-10-22'
120+
birthDate: "1995-10-22"
122121
generalPractitioner:
123122
- type: Organization
124123
identifier:
125124
value: ODS12345
126-
system: 'https://fhir.nhs.uk/Id/ods-organization-code'
125+
system: "https://fhir.nhs.uk/Id/ods-organization-code"
127126
search:
128127
mode: include
129128
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/WWCC67T1
@@ -133,43 +132,43 @@ ConsentMultipleRelationshipsIncludePatientBundle:
133132
status: active
134133
scope:
135134
coding:
136-
- system: 'http://terminology.hl7.org/CodeSystem/consentscope'
135+
- system: "http://terminology.hl7.org/CodeSystem/consentscope"
137136
code: patient-privacy
138137
display: Privacy Consent
139138
text: Patient Privacy Consent
140139
category:
141140
- coding:
142-
- system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'
141+
- system: "http://terminology.hl7.org/CodeSystem/v3-ActCode"
143142
code: INFA
144143
display: Information Access
145144
text: Information Access Consent
146145
patient:
147146
identifier:
148-
system: 'https://fhir.nhs.uk/Id/nhs-number'
149-
value: '9000000005'
150-
dateTime: '2024-07-21T17:32:28Z'
147+
system: "https://fhir.nhs.uk/Id/nhs-number"
148+
value: "9000000005"
149+
dateTime: "2024-07-21T17:32:28Z"
151150
performer:
152151
- identifier:
153-
system: 'https://fhir.nhs.uk/Id/nhs-number'
154-
value: '9000000022'
152+
system: "https://fhir.nhs.uk/Id/nhs-number"
153+
value: "9000000022"
155154
policy:
156155
- authority: https://www.england.nhs.uk
157156
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
158157
provision:
159158
actor:
160-
- reference:
161-
identifier:
162-
system: https://fhir.nhs.uk/Id/nhs-number
163-
value: '9000000022'
164-
type: RelatedPerson
165-
role:
166-
coding:
167-
- code: PRN
168-
display: Parent
169-
system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
159+
- reference:
160+
identifier:
161+
system: https://fhir.nhs.uk/Id/nhs-number
162+
value: "9000000022"
163+
type: RelatedPerson
164+
role:
165+
coding:
166+
- code: PRN
167+
display: Parent
168+
system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
170169
period:
171-
end: '2026-02-11'
172-
start: '2025-02-11'
170+
end: "2026-02-11"
171+
start: "2025-02-11"
173172
search:
174173
mode: match
175174
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/ZPTT32T3
@@ -178,20 +177,20 @@ ConsentMultipleRelationshipsIncludePatientBundle:
178177
id: ZPTT32T3
179178
meta:
180179
security:
181-
- system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
180+
- system: "https://fhir.nhs.uk/England/CodeSystem/England-NHSIdentityProofingLevel"
182181
code: "P9"
183182
display: "High level verification (P9)"
184183
identifier:
185-
- system: 'https://fhir.nhs.uk/Id/nhs-number'
186-
value: '9000000006'
187-
- system: 'https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier'
184+
- system: "https://fhir.nhs.uk/Id/nhs-number"
185+
value: "9000000006"
186+
- system: "https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier"
188187
value: ABC9999999
189188
name:
190-
- id: '123456'
189+
- id: "123456"
191190
use: usual
192191
period:
193-
start: '2020-01-01'
194-
end: '2021-12-31'
192+
start: "2020-01-01"
193+
end: "2021-12-31"
195194
given:
196195
- Michael
197196
family: Percy
@@ -202,7 +201,7 @@ ConsentMultipleRelationshipsIncludePatientBundle:
202201
- type: Organization
203202
identifier:
204203
value: ODS12345
205-
system: 'https://fhir.nhs.uk/Id/ods-organization-code'
204+
system: "https://fhir.nhs.uk/Id/ods-organization-code"
206205
search:
207206
mode: include
208207
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/AATD11A1
@@ -212,43 +211,42 @@ ConsentMultipleRelationshipsIncludePatientBundle:
212211
status: inactive
213212
scope:
214213
coding:
215-
- system: 'http://terminology.hl7.org/CodeSystem/consentscope'
214+
- system: "http://terminology.hl7.org/CodeSystem/consentscope"
216215
code: patient-privacy
217216
display: Privacy Consent
218217
text: Patient Privacy Consent
219218
category:
220219
- coding:
221-
- system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'
220+
- system: "http://terminology.hl7.org/CodeSystem/v3-ActCode"
222221
code: INFA
223222
display: Information Access
224223
text: Information Access Consent
225224
patient:
226225
identifier:
227-
system: 'https://fhir.nhs.uk/Id/nhs-number'
228-
value: '9000000006'
229-
dateTime: '2024-07-21T17:32:28Z'
226+
system: "https://fhir.nhs.uk/Id/nhs-number"
227+
value: "9000000006"
228+
dateTime: "2024-07-21T17:32:28Z"
230229
performer:
231230
- identifier:
232-
system: 'https://fhir.nhs.uk/Id/nhs-number'
233-
value: '9000000022'
231+
system: "https://fhir.nhs.uk/Id/nhs-number"
232+
value: "9000000022"
234233
policy:
235234
- authority: https://www.england.nhs.uk
236235
uri: REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD
237236
provision:
238237
actor:
239-
- reference:
240-
identifier:
241-
system: https://fhir.nhs.uk/Id/nhs-number
242-
value: '9000000022'
243-
type: RelatedPerson
244-
role:
245-
coding:
246-
- code: PRN
247-
display: Parent
248-
system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
238+
- reference:
239+
identifier:
240+
system: https://fhir.nhs.uk/Id/nhs-number
241+
value: "9000000022"
242+
type: RelatedPerson
243+
role:
244+
coding:
245+
- code: PRN
246+
display: Parent
247+
system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
249248
period:
250-
end: '2026-02-11'
251-
start: '2025-02-11'
249+
end: "2026-02-11"
250+
start: "2025-02-11"
252251
search:
253252
mode: match
254-

0 commit comments

Comments
 (0)