Skip to content

Commit a0320c7

Browse files
committed
[IOPS-3748] Consent for UGR
Updated existing Consents to match new guidance, added StructureDefinition for validation
1 parent f78285e commit a0320c7

16 files changed

Lines changed: 704 additions & 190 deletions
Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
1+
{
2+
"resourceType": "Consent",
3+
"id": "Consent-DataAccess-Example",
4+
"status": "active",
5+
"scope": {
6+
"coding": [
7+
{
8+
"system": "http://terminology.hl7.org/CodeSystem/consentscope",
9+
"code": "patient-privacy",
10+
"display": "Privacy Consent"
11+
}
12+
]
13+
},
14+
"category": [
15+
{
16+
"coding": [
17+
{
18+
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
19+
"code": "INFA",
20+
"display": "information access"
21+
}
22+
]
23+
}
24+
],
25+
"patient": {
26+
"reference": "Patient/Patient-AnitaLamberts-Example",
27+
"identifier": {
28+
"system": "https://fhir.nhs.uk/Id/nhs-number",
29+
"value": "8449303649"
30+
}
31+
},
32+
"dateTime": "2026-05-07T09:08:30Z",
33+
"performer": [
34+
{
35+
"reference": "Patient/Patient-AnitaLamberts-Example",
36+
"identifier": {
37+
"system": "https://fhir.nhs.uk/Id/nhs-number",
38+
"value": "8449303649"
39+
}
40+
}
41+
],
42+
"organization": [
43+
{
44+
"identifier": {
45+
"system": "https://fhir.hl7.org.uk/Id/ode-organization-code",
46+
"value": "X26"
47+
}
48+
}
49+
],
50+
"sourceReference": {
51+
"reference": "QuestionnaireResponse/QuestionnaireResponse-ConsentQuestionnaire-Example"
52+
},
53+
"policy": [
54+
{
55+
"uri": "https://www.england.nhs.uk/wp-content/uploads/2018/05/nhs-england-privacy-notice-v1.77.pdf"
56+
}
57+
],
58+
"provision": {
59+
"type": "deny",
60+
"provision": [
61+
{
62+
"type": "permit",
63+
"actor": [
64+
{
65+
"role": {
66+
"coding": [
67+
{
68+
"code": "AUCG",
69+
"system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationFunction",
70+
"display": "caregiver information receiver"
71+
}
72+
]
73+
},
74+
"reference": {
75+
"identifier": {
76+
"system": "https://fhir.nhs.uk/Id/nhs-number",
77+
"value": "9999999999"
78+
}
79+
}
80+
}
81+
],
82+
"purpose": [
83+
{
84+
"code": "TREAT",
85+
"system": "http://terminology.hl7.org/CodeSystem/v3-ActReason"
86+
}
87+
],
88+
"data": [
89+
{
90+
"meaning": "instance",
91+
"reference": {
92+
"reference": "Condition/Condition-MonogenicHearingLoss-Example"
93+
}
94+
}
95+
]
96+
},
97+
{
98+
"type": "permit",
99+
"actor": [
100+
{
101+
"role": {
102+
"coding": [
103+
{
104+
"code": "IRCP",
105+
"system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
106+
}
107+
]
108+
},
109+
"reference": {
110+
"reference": "Group/Group-GenomicResearchers-Example"
111+
}
112+
}
113+
],
114+
"purpose": [
115+
{
116+
"code": "HRESCH",
117+
"system": "http://terminology.hl7.org/CodeSystem/v3-ActReason"
118+
}
119+
],
120+
"data": [
121+
{
122+
"meaning": "related",
123+
"reference": {
124+
"reference": "DiagnosticReport/DiagnosticReport-AnitaLamberts-Example"
125+
}
126+
}
127+
]
128+
},
129+
{
130+
"type": "permit",
131+
"actor": [
132+
{
133+
"role": {
134+
"coding": [
135+
{
136+
"code": "PROV",
137+
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleClass"
138+
}
139+
]
140+
},
141+
"reference": {
142+
"identifier": {
143+
"system": "https://fhir.nhs.uk/Id/sds-user-id",
144+
"value": "123456789012"
145+
}
146+
}
147+
}
148+
],
149+
"purpose": [
150+
{
151+
"code": "TREAT",
152+
"system": "http://terminology.hl7.org/CodeSystem/v3-ActReason"
153+
}
154+
],
155+
"class": [
156+
{
157+
"code": "DiagnosticReport",
158+
"system": "http://hl7.org/fhir/resource-types"
159+
}
160+
]
161+
}
162+
]
163+
}
164+
}
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"resourceType": "Consent",
3+
"id": "Consent-DataSharing-Example",
4+
"status": "proposed",
5+
"scope": {
6+
"coding": [
7+
{
8+
"system": "http://terminology.hl7.org/CodeSystem/consentscope",
9+
"code": "patient-privacy",
10+
"display": "Privacy Consent"
11+
}
12+
]
13+
},
14+
"category": [
15+
{
16+
"coding": [
17+
{
18+
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
19+
"code": "IDSCL",
20+
"display": "information disclosure"
21+
}
22+
]
23+
}
24+
],
25+
"patient": {
26+
"reference": "Patient/Patient-AnitaLamberts-Example",
27+
"identifier": {
28+
"system": "https://fhir.nhs.uk/Id/nhs-number",
29+
"value": "8449303649"
30+
}
31+
},
32+
"dateTime": "2026-05-07T09:08:30Z",
33+
"performer": [
34+
{
35+
"reference": "Patient/Patient-AnitaLamberts-Example",
36+
"identifier": {
37+
"system": "https://fhir.nhs.uk/Id/nhs-number",
38+
"value": "8449303649"
39+
}
40+
}
41+
],
42+
"organization": [
43+
{
44+
"identifier": {
45+
"system": "https://fhir.hl7.org.uk/Id/ods-organization-code",
46+
"value": "X26"
47+
}
48+
}
49+
],
50+
"sourceReference": {
51+
"reference": "QuestionnaireResponse/QuestionnaireResponse-ConsentQuestionnaire-Example"
52+
},
53+
"policy": [
54+
{
55+
"uri": "https://www.england.nhs.uk/wp-content/uploads/2018/05/nhs-england-privacy-notice-v1.77.pdf"
56+
}
57+
],
58+
"provision": {
59+
"type": "deny",
60+
"provision": [
61+
{
62+
"type": "permit",
63+
"actor": [
64+
{
65+
"role": {
66+
"coding": [
67+
{
68+
"code": "PAT",
69+
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleClass"
70+
}
71+
]
72+
},
73+
"reference": {
74+
"reference": "RelatedPerson/RelatedPerson-AnitaLambertsDeceasedPatient-Example",
75+
"identifier": {
76+
"system": "https://fhir.nhs.uk/Id/nhs-number",
77+
"value": "8449303650"
78+
}
79+
}
80+
}
81+
],
82+
"purpose": [
83+
{
84+
"code": "FAMRQT",
85+
"system": "http://terminology.hl7.org/CodeSystem/v3-ActReason"
86+
}
87+
]
88+
}
89+
]
90+
}
91+
}

Consent/Consent-RoD-PheobeSmitham-Example.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,28 @@
22
"resourceType": "Consent",
33
"id": "Consent-RoD-PheobeSmitham-Example",
44
"status": "active",
5-
"scope": {
6-
"coding": [
7-
{
8-
"system": "http://terminology.hl7.org/CodeSystem/consentscope",
9-
"code": "research",
10-
"display": "Research"
11-
}
12-
]
13-
},
14-
"category": [
15-
{
16-
"coding": [
17-
{
18-
"system": "http://terminology.hl7.org/CodeSystem/consentcategorycodes",
19-
"code": "research",
20-
"display": "Research Information Access"
21-
}
22-
]
23-
}
24-
],
5+
"scope": {
6+
"coding": [
7+
{
8+
"system": "http://terminology.hl7.org/CodeSystem/consentscope",
9+
"code": "patient-privacy",
10+
"display": "Privacy Consent"
11+
}
12+
]
13+
},
14+
"category": [
15+
{
16+
"coding": [
17+
{
18+
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
19+
"code": "RESEARCH",
20+
"display": "research information access"
21+
}
22+
]
23+
}
24+
],
2525
"patient":{
26-
"reference":"Patient/Patient-PheobeSmitham-Example",
26+
"reference": "Patient/Patient-PheobeSmitham-Example",
2727
"identifier": {
2828
"system": "https://fhir.nhs.uk/Id/nhs-number",
2929
"value": "9449307539"

Consent/Consent-RoD-PheobeSmithamAttachmentData-Example.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,28 @@
22
"resourceType": "Consent",
33
"id": "Consent-RoD-PheobeSmithamAttachmentData-Example",
44
"status": "active",
5-
"scope": {
6-
"coding": [
7-
{
8-
"system": "http://terminology.hl7.org/CodeSystem/consentscope",
9-
"code": "research",
10-
"display": "Research"
11-
}
12-
]
13-
},
14-
"category": [
15-
{
16-
"coding": [
17-
{
18-
"system": "http://terminology.hl7.org/CodeSystem/consentcategorycodes",
19-
"code": "research",
20-
"display": "Research Information Access"
21-
}
22-
]
23-
}
24-
],
5+
"scope": {
6+
"coding": [
7+
{
8+
"system": "http://terminology.hl7.org/CodeSystem/consentscope",
9+
"code": "patient-privacy",
10+
"display": "Privacy Consent"
11+
}
12+
]
13+
},
14+
"category": [
15+
{
16+
"coding": [
17+
{
18+
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
19+
"code": "RESEARCH",
20+
"display": "research information access"
21+
}
22+
]
23+
}
24+
],
2525
"patient":{
26-
"reference":"Patient/Patient-PheobeSmitham-Example",
26+
"reference": "Patient/Patient-PheobeSmitham-Example",
2727
"identifier": {
2828
"system": "https://fhir.nhs.uk/Id/nhs-number",
2929
"value": "9449307539"

0 commit comments

Comments
 (0)