Skip to content

Commit bf8654f

Browse files
NPA-4572: Update to consent options for access levels
1 parent fe78aa2 commit bf8654f

File tree

2 files changed

+24
-33
lines changed

2 files changed

+24
-33
lines changed

specification/examples/requests/POST_QuestionnaireResponse/mother-child.yaml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,16 @@ QuestionnaireResponseMotherChildRequest:
9595
answer:
9696
- valueCoding:
9797
system: "https://fhir.nhs.uk/CodeSystem/Proxy-Placeholder-RequestedAccess"
98-
code: "APPT"
99-
display: "Appointment Booking"
98+
code: "PRESCR"
99+
display: "Request and manage repeat prescriptions"
100100
- valueCoding:
101101
system: "https://fhir.nhs.uk/CodeSystem/Proxy-Placeholder-RequestedAccess"
102-
code: "CNTCT"
103-
display: "Contacting Surgery"
102+
code: "APPT"
103+
display: "Appointment Booking"
104104
- valueCoding:
105105
system: "https://fhir.nhs.uk/CodeSystem/Proxy-Placeholder-RequestedAccess"
106106
code: "RECRD"
107-
display: "Medical Records Access"
107+
display: "GP Health Records Access"
108108
- valueCoding:
109109
system: "https://fhir.nhs.uk/CodeSystem/Proxy-Placeholder-RequestedAccess"
110110
code: "TEST"
@@ -115,12 +115,16 @@ QuestionnaireResponseMotherChildRequest:
115115
display: "Vaccination Records"
116116
- valueCoding:
117117
system: "https://fhir.nhs.uk/CodeSystem/Proxy-Placeholder-RequestedAccess"
118-
code: "PRESCR"
119-
display: "Repeat Prescription Requests"
120-
- linkId: "requestedAccess_accessLevelMoreinfo"
121-
text: "Requested access level - further information"
122-
answer:
123-
- valueString: "My child cannot access their own record"
118+
code: "COND"
119+
display: "Health Conditions"
120+
- valueCoding:
121+
system: "https://fhir.nhs.uk/CodeSystem/Proxy-Placeholder-RequestedAccess"
122+
code: "CONSULT"
123+
display: "Consultations and Events"
124+
- valueCoding:
125+
system: "https://fhir.nhs.uk/CodeSystem/Proxy-Placeholder-RequestedAccess"
126+
code: "DOCS"
127+
display: "Documents"
124128
- linkId: "requestedAccess_reasonsForAccess"
125129
text: "Reason for access"
126130
answer:

specification/validated-relationships-service-api.yaml

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1809,39 +1809,26 @@ components:
18091809
code:
18101810
type: string
18111811
enum:
1812+
- "PRESCR"
18121813
- "APPT"
1813-
- "CNTCT"
18141814
- "RECRD"
18151815
- "TEST"
18161816
- "VACC"
1817-
- "PRESCR"
1817+
- "COND"
1818+
- "CONSULT"
1819+
- "DOCS"
18181820
display:
18191821
type: string
18201822
description: FHIR Requested access level.
18211823
enum:
1824+
- "Request and manage repeat prescriptions"
18221825
- "Appointment Booking"
1823-
- "Contacting Surgery"
1824-
- "Medical Records Access"
1826+
- "GP Health Records Access"
18251827
- "Test Results"
18261828
- "Vaccination Records"
1827-
- "Request and manage repeat prescriptions"
1828-
1829-
- type: object
1830-
properties:
1831-
linkId:
1832-
type: string
1833-
enum: ["requestedAccess_accessLevelMoreinfo"]
1834-
text:
1835-
type: string
1836-
answer:
1837-
type: array
1838-
items:
1839-
oneOf:
1840-
- type: object
1841-
properties:
1842-
valueString:
1843-
type: string
1844-
1829+
- "Health Conditions"
1830+
- "Consultations and Events"
1831+
- "Documents"
18451832
- type: object
18461833
required:
18471834
- linkId

0 commit comments

Comments
 (0)