Skip to content

Commit 73827fa

Browse files
NPA-5431: Updated OAS and examples with new meta field for security tag
1 parent 138487c commit 73827fa

10 files changed

+82
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
4040
resource:
4141
resourceType: Patient
4242
id: A3CC67E2
43+
meta:
44+
security:
45+
- system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
46+
code: "P9"
47+
display: "High level verification (P9)"
4348
identifier:
4449
- system: "https://fhir.nhs.uk/Id/nhs-number"
4550
value: "9000000009"
@@ -138,6 +143,11 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
138143
resource:
139144
resourceType: Patient
140145
id: DFCC67F5
146+
meta:
147+
security:
148+
- system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
149+
code: "P9"
150+
display: "High level verification (P9)"
141151
identifier:
142152
- system: "https://fhir.nhs.uk/Id/nhs-number"
143153
value: "9000000005"

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ ConsentMultipleRelationshipsIncludePatientBundle:
1515
resource:
1616
resourceType: Patient
1717
id: A3CC67E2
18+
meta:
19+
security:
20+
- system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
21+
code: "P9"
22+
display: "High level verification (P9)"
1823
identifier:
1924
- system: 'https://fhir.nhs.uk/Id/nhs-number'
2025
value: '9000000009'
@@ -92,6 +97,11 @@ ConsentMultipleRelationshipsIncludePatientBundle:
9297
resource:
9398
resourceType: Patient
9499
id: DFCC67F5
100+
meta:
101+
security:
102+
- system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
103+
code: "P9"
104+
display: "High level verification (P9)"
95105
identifier:
96106
- system: 'https://fhir.nhs.uk/Id/nhs-number'
97107
value: '9000000005'
@@ -166,6 +176,11 @@ ConsentMultipleRelationshipsIncludePatientBundle:
166176
resource:
167177
resourceType: Patient
168178
id: ZPTT32T3
179+
meta:
180+
security:
181+
- system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
182+
code: "P9"
183+
display: "High level verification (P9)"
169184
identifier:
170185
- system: 'https://fhir.nhs.uk/Id/nhs-number'
171186
value: '9000000006'

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
4040
resource:
4141
resourceType: Patient
4242
id: A3CC67E2
43+
meta:
44+
security:
45+
- system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
46+
code: "P9"
47+
display: "High level verification (P9)"
4348
identifier:
4449
- system: 'https://fhir.nhs.uk/Id/nhs-number'
4550
value: '9000000009'
@@ -139,6 +144,11 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
139144
resource:
140145
resourceType: Patient
141146
id: DFCC67F5
147+
meta:
148+
security:
149+
- system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
150+
code: "P9"
151+
display: "High level verification (P9)"
142152
identifier:
143153
- system: 'https://fhir.nhs.uk/Id/nhs-number'
144154
value: '9000000005'
@@ -235,6 +245,11 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
235245
resource:
236246
resourceType: Patient
237247
id: ZPTT32T3
248+
meta:
249+
security:
250+
- system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
251+
code: "P9"
252+
display: "High level verification (P9)"
238253
identifier:
239254
- system: 'https://fhir.nhs.uk/Id/nhs-number'
240255
value: '9000000006'

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle:
1414
resource:
1515
resourceType: Patient
1616
id: A3CC67E2
17+
meta:
18+
security:
19+
- system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
20+
code: "P9"
21+
display: "High level verification (P9)"
1722
identifier:
1823
- system: 'https://fhir.nhs.uk/Id/nhs-number'
1924
value: '9000000100'

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
1414
resource:
1515
resourceType: Patient
1616
id: A3CC67E2
17+
meta:
18+
security:
19+
- system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
20+
code: "P9"
21+
display: "High level verification (P9)"
1722
identifier:
1823
- system: 'https://fhir.nhs.uk/Id/nhs-number'
1924
value: '9000000100'

specification/examples/responses/GET_Consent/single-consenting-adult-relationship-include-patient.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ ConsentSingleConsentingAdultRelationshipIncludePatientBundle:
1515
resource:
1616
resourceType: Patient
1717
id: DFCC67F5
18+
meta:
19+
security:
20+
- system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
21+
code: "P9"
22+
display: "High level verification (P9)"
1823
identifier:
1924
- system: 'https://fhir.nhs.uk/Id/nhs-number'
2025
value: '9000000005'

specification/examples/responses/GET_Consent/single-consenting-adult-relationship-include-performer-patient.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ ConsentSingleConsentingAdultRelationshipIncludePerformerPatientBundle:
3838
resource:
3939
resourceType: Patient
4040
id: DFCC67F5
41+
meta:
42+
security:
43+
- system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
44+
code: "P9"
45+
display: "High level verification (P9)"
4146
identifier:
4247
- system: 'https://fhir.nhs.uk/Id/nhs-number'
4348
value: '9000000005'

specification/examples/responses/GET_Consent/single-mother-child-relationship-include-patient.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ ConsentSingleAdultChildRelationshipIncludePatientBundle:
1515
resource:
1616
resourceType: Patient
1717
id: A3CC67E2
18+
meta:
19+
security:
20+
- system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
21+
code: "P9"
22+
display: "High level verification (P9)"
1823
identifier:
1924
- system: 'https://fhir.nhs.uk/Id/nhs-number'
2025
value: '9000000009'

specification/examples/responses/GET_Consent/single-mother-child-relationship-include-performer-patient.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ ConsentSingleAdultChildRelationshipIncludePerformerPatientBundle:
4040
resource:
4141
resourceType: Patient
4242
id: A3CC67E2
43+
meta:
44+
security:
45+
- system: "https://fhir.nhs.uk/CodeSystem/NHSIdentityProofingLevel"
46+
code: "P9"
47+
display: "High level verification (P9)"
4348
identifier:
4449
- system: 'https://fhir.nhs.uk/Id/nhs-number'
4550
value: '9000000009'

specification/validated-relationships-service-api.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2185,6 +2185,8 @@ components:
21852185
id:
21862186
type: string
21872187
description: Unique identifier of the Patient resource
2188+
meta:
2189+
$ref: "#/components/schemas/Meta"
21882190
identifier:
21892191
type: array
21902192
description: The patient's NHS number. The primary identifier of a patient, unique within NHS England and Wales. Always 10 digits and must be a [valid NHS number](https://www.datadictionary.nhs.uk/attributes/nhs_number.html).
@@ -2433,6 +2435,16 @@ components:
24332435
type: string
24342436
description: "The value that is unique."
24352437

2438+
Meta:
2439+
type: object
2440+
description: Metadata about a resource
2441+
properties:
2442+
security:
2443+
type: array
2444+
description: Security Labels applied a resource
2445+
items:
2446+
$ref: "#/components/schemas/Coding"
2447+
24362448
CodeableConcept:
24372449
type: object
24382450
properties:

0 commit comments

Comments
 (0)