Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
164 changes: 164 additions & 0 deletions Consent/Consent-DataAccess-Example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
{
"resourceType": "Consent",
"id": "Consent-DataAccess-Example",
"status": "active",
"scope": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/consentscope",
"code": "patient-privacy",
"display": "Privacy Consent"
}
]
},
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "INFA",
"display": "information access"
}
]
}
],
"patient": {
"reference": "Patient/Patient-AnitaLamberts-Example",
"identifier": {
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "8449303649"
}
},
"dateTime": "2026-05-07T09:08:30Z",
"performer": [
{
"reference": "Patient/Patient-AnitaLamberts-Example",
"identifier": {
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "8449303649"
}
}
],
"organization": [
{
"identifier": {
"system": "https://fhir.hl7.org.uk/Id/ode-organization-code",
"value": "X26"
}
}
],
"sourceReference": {
"reference": "QuestionnaireResponse/QuestionnaireResponse-ConsentQuestionnaire-Example"
},
"policy": [
{
"uri": "https://www.england.nhs.uk/wp-content/uploads/2018/05/nhs-england-privacy-notice-v1.77.pdf"
}
],
"provision": {
"type": "deny",
"provision": [
{
"type": "permit",
"actor": [
{
"role": {
"coding": [
{
"code": "AUCG",
"system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationFunction",
"display": "caregiver information receiver"
}
]
},
"reference": {
"identifier": {
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "9999999999"
}
}
}
],
"purpose": [
{
"code": "TREAT",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActReason"
}
],
"data": [
{
"meaning": "instance",
"reference": {
"reference": "Condition/Condition-MonogenicHearingLoss-Example"
}
}
]
},
{
"type": "permit",
"actor": [
{
"role": {
"coding": [
{
"code": "IRCP",
"system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
}
]
},
"reference": {
"reference": "Group/Group-GenomicResearchers-Example"
}
}
],
"purpose": [
{
"code": "HRESCH",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActReason"
}
],
"data": [
{
"meaning": "related",
"reference": {
"reference": "DiagnosticReport/DiagnosticReport-AnitaLamberts-Example"
}
}
]
},
{
"type": "permit",
"actor": [
{
"role": {
"coding": [
{
"code": "PROV",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleClass"
}
]
},
"reference": {
"identifier": {
"system": "https://fhir.nhs.uk/Id/sds-user-id",
"value": "123456789012"
}
}
}
],
"purpose": [
{
"code": "TREAT",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActReason"
}
],
"class": [
{
"code": "DiagnosticReport",
"system": "http://hl7.org/fhir/resource-types"
}
]
}
]
}
}
91 changes: 91 additions & 0 deletions Consent/Consent-DataSharing-Example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"resourceType": "Consent",
"id": "Consent-DataSharing-Example",
"status": "proposed",
"scope": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/consentscope",
"code": "patient-privacy",
"display": "Privacy Consent"
}
]
},
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "IDSCL",
"display": "information disclosure"
}
]
}
],
"patient": {
"reference": "Patient/Patient-AnitaLamberts-Example",
"identifier": {
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "8449303649"
}
},
"dateTime": "2026-05-07T09:08:30Z",
"performer": [
{
"reference": "Patient/Patient-AnitaLamberts-Example",
"identifier": {
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "8449303649"
}
}
],
"organization": [
{
"identifier": {
"system": "https://fhir.hl7.org.uk/Id/ods-organization-code",
"value": "X26"
}
}
],
"sourceReference": {
"reference": "QuestionnaireResponse/QuestionnaireResponse-ConsentQuestionnaire-Example"
},
"policy": [
{
"uri": "https://www.england.nhs.uk/wp-content/uploads/2018/05/nhs-england-privacy-notice-v1.77.pdf"
}
],
"provision": {
"type": "deny",
"provision": [
{
"type": "permit",
"actor": [
{
"role": {
"coding": [
{
"code": "PAT",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleClass"
}
]
},
"reference": {
"reference": "RelatedPerson/RelatedPerson-AnitaLambertsDeceasedPatient-Example",
"identifier": {
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "8449303650"
}
}
}
],
"purpose": [
{
"code": "FAMRQT",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActReason"
}
]
}
]
}
}
42 changes: 21 additions & 21 deletions Consent/Consent-RoD-PheobeSmitham-Example.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,28 @@
"resourceType": "Consent",
"id": "Consent-RoD-PheobeSmitham-Example",
"status": "active",
"scope": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/consentscope",
"code": "research",
"display": "Research"
}
]
},
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/consentcategorycodes",
"code": "research",
"display": "Research Information Access"
}
]
}
],
"scope": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/consentscope",
"code": "patient-privacy",
"display": "Privacy Consent"
}
]
},
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "RESEARCH",
"display": "research information access"
}
]
}
],
"patient":{
"reference":"Patient/Patient-PheobeSmitham-Example",
"reference": "Patient/Patient-PheobeSmitham-Example",
"identifier": {
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "9449307539"
Expand Down
42 changes: 21 additions & 21 deletions Consent/Consent-RoD-PheobeSmithamAttachmentData-Example.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,28 @@
"resourceType": "Consent",
"id": "Consent-RoD-PheobeSmithamAttachmentData-Example",
"status": "active",
"scope": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/consentscope",
"code": "research",
"display": "Research"
}
]
},
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/consentcategorycodes",
"code": "research",
"display": "Research Information Access"
}
]
}
],
"scope": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/consentscope",
"code": "patient-privacy",
"display": "Privacy Consent"
}
]
},
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "RESEARCH",
"display": "research information access"
}
]
}
],
"patient":{
"reference":"Patient/Patient-PheobeSmitham-Example",
"reference": "Patient/Patient-PheobeSmitham-Example",
"identifier": {
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "9449307539"
Expand Down
Loading