Security
and
Privacy
This
page
is
part
of
the
FHIR
Specification
(v4.3.0:
R4B
(v5.0.0-ballot:
R5
Ballot
-
STU
see
ballot
notes
).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
of
available
versions,
see
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
| Community Based Collaborative Care Work Group | Maturity Level : N/A | Standards Status : Informative | Compartments : Patient |
Raw Turtle (+ also see Turtle/RDF Format Specification )
Template for recording a Smart on FHIR Authorization
@prefix fhir: <http://hl7.org/fhir/> . @prefix loinc: <http://loinc.org/rdf#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource -------------------------------------------------------------------<http://hl7.org/fhir/Consent/consent-example-smartonfhir> a fhir:Consent;[a fhir:Consent; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "consent-example-smartonfhir"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ];fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource "consent-example-smartonfhir" </p></div><p><b>status</b>: active</p><p><b>scope</b>: Privacy Consent <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"codesystem-consent-scope.html\">Consent Scope Codes</a>#patient-privacy)</span></p><p><b>category</b>: Patient Consent <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#59284-0)</span></p><p><b>patient</b>: <a href=\"patient-xcda.html\">Patient/xcda</a> "Henry LEVIN"</p><p><b>dateTime</b>: 2016-06-23T17:02:33+10:00</p><p><b>performer</b>: <a href=\"relatedperson-peter.html\">RelatedPerson/peter</a> "Peter CHALMERS"</p><p><b>organization</b>: <a href=\"organization-f001.html\">Organization/f001</a> "Burgers University Medical Center"</p><p><b>policyRule</b>: opt-in <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-ActCode.html\">ActCode</a>#OPTIN)</span></p><blockquote><p><b>provision</b></p><p><b>period</b>: 2016-06-23T17:02:33+10:00 --> 2016-06-23T17:32:33+10:00</p><h3>Provisions</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Action</b></td><td><b>Class</b></td></tr><tr><td>*</td><td>permit</td><td>Access <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"codesystem-consent-action.html\">Consent Action Codes</a>#access)</span></td><td>MedicationRequest (Details: http://hl7.org/fhir/resource-types code MedicationRequest = 'MedicationRequest', stated as 'null')</td></tr></table></blockquote></div>"fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Consent</b><a name=\"consent-example-smartonfhir\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Consent "consent-example-smartonfhir" </p></div><p><b>status</b>: active</p><p><b>category</b>: Patient Consent <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#59284-0)</span></p><p><b>subject</b>: <span title=\" In this SMART on FHIR login, the user consents for data sharing for their elderly parent's record \"><a href=\"patient-example-xcda.html\">Patient/xcda</a> "Henry LEVIN"</span></p><p><b>dateTime</b>: 2016-06-23T17:02:33+10:00</p><p><b>grantor</b>: <a href=\"relatedperson-example-peter.html\">RelatedPerson/peter</a> "Peter CHALMERS"</p><p><b>controller</b>: <a href=\"organization-example-f001-burgers.html\">Organization/f001</a> "Burgers University Medical Center"</p><p><b>regulatoryBasis</b>: <span title=\" there's no source record for a Smart on FHIR consent\n smart on fhir requires a base opt-in policy \">information access <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-ActCode.html\">ActCode</a>#INFA)</span></span></p><blockquote><p><b>provision</b></p><p><b>type</b>: deny</p><p><b>period</b>: 2016-06-23T17:02:33+10:00 --> 2016-06-23T17:32:33+10:00</p><h3>Provisions</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Action</b></td><td><b>Class</b></td></tr><tr><td>*</td><td><span title=\" this rule corresponds to MedicationRequest/read \">permit</span></td><td><span title=\" no actors here, or anything, just read/write and the resource type \">Access <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-consentaction.html\">Consent Action Codes</a>#access)</span></span>, Access and Correct <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-consentaction.html\">Consent Action Codes</a>#correct)</span></td><td>MedicationRequest (Details: http://hl7.org/fhir/fhir-types code MedicationRequest = 'MedicationRequest', stated as 'null')</td></tr></table></blockquote></div>" ]; fhir:Consent.status [ fhir:value "active"];fhir:Consent.scope [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/consentscope" ]; fhir:Coding.code [ fhir:value "patient-privacy" ] ] ];fhir:Consent.category [ fhir:index 0; fhir:CodeableConcept.coding [ fhir:index 0; a loinc:59284-0; fhir:Coding.system [ fhir:value "http://loinc.org" ]; fhir:Coding.code [ fhir:value "59284-0" ] ] ];fhir:Consent.patient [ fhir:link <http://hl7.org/fhir/Patient/xcda>;fhir:Consent.subject [ fhir:Reference.reference [ fhir:value "Patient/xcda" ] ]; fhir:Consent.dateTime [ fhir:value "2016-06-23T17:02:33+10:00"^^xsd:dateTime];fhir:Consent.performer [fhir:Consent.grantor [ fhir:index 0;fhir:link <http://hl7.org/fhir/RelatedPerson/peter>;fhir:Reference.reference [ fhir:value "RelatedPerson/peter" ] ];fhir:Consent.organization [fhir:Consent.controller [ fhir:index 0;fhir:link <http://hl7.org/fhir/Organization/f001>;fhir:Reference.reference [ fhir:value "Organization/f001" ] ];fhir:Consent.policyRule [fhir:Consent.regulatoryBasis [ fhir:index 0; fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];fhir:Coding.code [ fhir:value "OPTIN" ]fhir:Coding.code [ fhir:value "INFA" ] ] ]; fhir:Consent.provision [ fhir:Consent.provision.type [ fhir:value "deny" ]; fhir:Consent.provision.period [ fhir:Period.start [ fhir:value "2016-06-23T17:02:33+10:00"^^xsd:dateTime ]; fhir:Period.end [ fhir:value "2016-06-23T17:32:33+10:00"^^xsd:dateTime ] ]; fhir:Consent.provision.provision [ fhir:index 0; fhir:Consent.provision.type [ fhir:value "permit" ]; fhir:Consent.provision.action [ fhir:index 0; fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/consentaction" ]; fhir:Coding.code [ fhir:value "access" ] ] ], [ fhir:index 1; fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/consentaction" ]; fhir:Coding.code [ fhir:value "correct" ] ] ]; fhir:Consent.provision.class [ fhir:index 0;fhir:Coding.system [ fhir:value "http://hl7.org/fhir/resource-types" ];fhir:Coding.system [ fhir:value "http://hl7.org/fhir/fhir-types" ]; fhir:Coding.code [ fhir:value "MedicationRequest" ] ] ]] . <http://hl7.org/fhir/Patient/xcda> a fhir:Patient . <http://hl7.org/fhir/RelatedPerson/peter> a fhir:RelatedPerson . <http://hl7.org/fhir/Organization/f001> a fhir:Organization .]] . # - ontology header ------------------------------------------------------------<http://hl7.org/fhir/Consent/consent-example-smartonfhir.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://build.fhir.org/Consent/consent-example-smartonfhir.ttl> .[a owl:Ontology; owl:imports fhir:fhir.ttl] . # -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.
FHIR
®©
HL7.org
2011+.
FHIR
Release
4B
(v4.3.0)
hl7.fhir.r4b.core#4.3.0
R5
Ballot
hl7.fhir.core#5.0.0-ballot
generated
on
Sat,
May
28,
Sep
10,
2022
12:54+1000.
05:02+1000.
Links:
Search
|
Version
History
|
Table
of
Contents
|
Glossary
|
QA
Page
|
Compare
to
R4
R4B
|
Compare
to
R5
Draft
|
|
Propose
a
change