Skip to content

Commit

Permalink
NPA-3543: fixup erroneous FHIR schema elements
Browse files Browse the repository at this point in the history
  • Loading branch information
James Taylor committed Sep 19, 2024
1 parent 6ea611f commit 9034f42
Showing 1 changed file with 35 additions and 30 deletions.
65 changes: 35 additions & 30 deletions specification/validated-relationships-service-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1525,8 +1525,10 @@ components:
type: string
format: date
generalPractitioner:
$ref: '#/components/schemas/Reference'
description: "Patient's nominated primary care provider"
type: array
description: Patient's nominated primary care provider, each a Reference(Organization | Practitioner | PractitionerRole).
items:
$ref: '#/components/schemas/Reference'

Consent:
type: object
Expand Down Expand Up @@ -1574,16 +1576,19 @@ components:
$ref: '#/components/schemas/Reference'
description: "Individuals or organizations that agreed to the consent."
policy:
type: object
description: Policies covered by this consent
properties:
authority:
type: string
description: Organization having regulatory accountability for enforcing policies pertaining to this Consent Directive.
uri:
type: string
format: uri
description: The reference to the National Proxy Service policy that are included in this consent scope.
type: array
description: The policies covered by this consent
items:
type: object
description: A policy covered by this consent
properties:
authority:
type: string
description: Organization having regulatory accountability for enforcing policies pertaining to this Consent Directive.
uri:
type: string
format: uri
description: The reference to the National Proxy Service policy that are included in this consent scope.
verification:
type: array
description: Whether consent was verified with the patient, or another authorized person.
Expand Down Expand Up @@ -1990,9 +1995,9 @@ components:
status: active
scope:
coding:
- system: http://terminology.hl7.org/CodeSystem/consentscope"
- system: "http://terminology.hl7.org/CodeSystem/consentscope"
code: patient-privacy
display: "Patient Privacy"
display: "Privacy Consent"
text: "Patient Privacy Consent"
category:
- coding:
Expand All @@ -2010,8 +2015,8 @@ components:
system: "https://fhir.nhs.uk/Id/nhs-number"
value: "9000000017"
policy:
authority: "https://www.england.nhs.uk"
uri: "<REPLACE WITH LINK TO PUBLISHED NATIONAL PROXY STANDARD>"
- authority: "https://www.england.nhs.uk"
uri: "<REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD>"
search:
mode: match

Expand Down Expand Up @@ -2039,7 +2044,7 @@ components:
value: "9000000005"
relationship:
- coding:
- system: "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
- system: "https://fhir.hl7.org.uk/CodeSystem/UKCore-AdditionalPersonRelationshipRole"
code: Personal
display: "Personal relationship with the patient"
search:
Expand Down Expand Up @@ -2079,9 +2084,9 @@ components:
status: active
scope:
coding:
- system: http://terminology.hl7.org/CodeSystem/consentscope"
- system: "http://terminology.hl7.org/CodeSystem/consentscope"
code: patient-privacy
display: "Patient Privacy"
display: "Privacy Consent"
text: "Patient Privacy Consent"
category:
- coding:
Expand All @@ -2099,8 +2104,8 @@ components:
system: "https://fhir.nhs.uk/Id/nhs-number"
value: "9000000010"
policy:
authority: "https://www.england.nhs.uk"
uri: "<REPLACE WITH LINK TO PUBLISHED NATIONAL PROXY STANDARD>"
- authority: "https://www.england.nhs.uk"
uri: "<REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD>"
verification:
- verified: true
verifiedWith:
Expand Down Expand Up @@ -2181,9 +2186,9 @@ components:
status: active
scope:
coding:
- system: http://terminology.hl7.org/CodeSystem/consentscope"
- system: "http://terminology.hl7.org/CodeSystem/consentscope"
code: patient-privacy
display: "Patient Privacy"
display: "Privacy Consent"
text: "Patient Privacy Consent"
category:
- coding:
Expand All @@ -2201,8 +2206,8 @@ components:
system: "https://fhir.nhs.uk/Id/nhs-number"
value: "9000000017"
policy:
authority: "https://www.england.nhs.uk"
uri: "<REPLACE WITH LINK TO PUBLISHED NATIONAL PROXY STANDARD>"
- authority: "https://www.england.nhs.uk"
uri: "<REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD>"
search:
mode: match
- fullUrl: "https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/RP974720"
Expand All @@ -2221,7 +2226,7 @@ components:
value: "9000000005"
relationship:
- coding:
- system: "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
- system: "https://fhir.hl7.org.uk/CodeSystem/UKCore-AdditionalPersonRelationshipRole"
code: Personal
display: "Personal relationship with the patient"
search:
Expand Down Expand Up @@ -2261,9 +2266,9 @@ components:
status: active
scope:
coding:
- system: http://terminology.hl7.org/CodeSystem/consentscope"
- system: "http://terminology.hl7.org/CodeSystem/consentscope"
code: patient-privacy
display: "Patient Privacy"
display: "Privacy Consent"
text: "Patient Privacy Consent"
category:
- coding:
Expand All @@ -2281,8 +2286,8 @@ components:
system: "https://fhir.nhs.uk/Id/nhs-number"
value: "9000000010"
policy:
authority: "https://www.england.nhs.uk"
uri: "<REPLACE WITH LINK TO PUBLISHED NATIONAL PROXY STANDARD>"
- authority: "https://www.england.nhs.uk"
uri: "<REPLACE_WITH_LINK_TO_PUBLISHED_NATIONAL_PROXY_STANDARD>"
verification:
- verified: true
verifiedWith:
Expand Down

0 comments on commit 9034f42

Please sign in to comment.