Security
and
Privacy
This
page
is
part
of
the
FHIR
Specification
(v4.0.1:
R4
(v5.0.0:
R5
-
Mixed
Normative
and
STU
)
).
This
is
the
current
published
version
in
it's
permanent
home
(it
will
always
be
available
at
this
URL).
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 JSON ( canonical form + also see JSON Format Specification )
Template for recording a Smart on FHIR Authorization
{
"resourceType": "Consent",
"id": "consent-example-smartonfhir",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: consent-example-smartonfhir</p><p><b>status</b>: active</p><p><b>scope</b>: Privacy Consent <span>(Details : {http://terminology.hl7.org/CodeSystem/consentscope code 'patient-privacy' = 'Privacy Consent)</span></p><p><b>category</b>: Patient Consent <span>(Details : {LOINC code '59284-0' = 'Patient Consent)</span></p><p><b>patient</b>: <a>Patient/xcda</a></p><p><b>dateTime</b>: 23/06/2016 5:02:33 PM</p><p><b>performer</b>: <a>RelatedPerson/peter</a></p><p><b>organization</b>: <a>Organization/f001</a></p><p><b>policyRule</b>: opt-in <span>(Details : {http://terminology.hl7.org/CodeSystem/v3-ActCode code 'OPTIN' = 'opt-in)</span></p><blockquote><p><b>provision</b></p><p><b>period</b>: 23/06/2016 5:02:33 PM --> 23/06/2016 5:32:33 PM</p><h3>Provisions</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table></blockquote></div>"
},
"status": "active",
"scope": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/consentscope",
"code": "patient-privacy"
}
]
},
"category": [
{
"coding": [
{
"system": "http://loinc.org",
"code": "59284-0"
}
]
}
],
"patient": {
"reference": "Patient/xcda"
"resourceType" : "Consent",
"id" : "consent-example-smartonfhir",
"text" : {
"status" : "generated",
"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>date</b>: 2016-06-23</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/5.1.0/CodeSystem-v3-ActCode.html\">ActCode</a>#INFA)</span></span></p><p><b>decision</b>: <span title=\" each scope that relates to FHIR resource access is represented as an exception \">permit</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>Action</b></td><td><b>ResourceType</b></td></tr><tr><td>*</td><td><span title=\" this rule corresponds to MedicationRequest/read &#10; 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/5.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/5.1.0/CodeSystem-consentaction.html\">Consent Action Codes</a>#correct)</span></td><td>MedicationRequest (Details: http://hl7.org/fhir/resource-types code MedicationRequest = 'MedicationRequest', stated as 'null')</td></tr></table></blockquote></div>"
},
"dateTime": "2016-06-23T17:02:33+10:00",
"performer": [
{
"reference": "RelatedPerson/peter"
}
],
"organization": [
{
"reference": "Organization/f001"
}
],
"policyRule": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "OPTIN"
}
]
"status" : "active",
"category" : [{
"coding" : [{
"system" : "http://loinc.org",
"code" : "59284-0"
}]
}],
"subject" : {
"reference" : "Patient/xcda"
},
"provision": {
"period": {
"start": "2016-06-23T17:02:33+10:00",
"end": "2016-06-23T17:32:33+10:00"
"date" : "2016-06-23",
"grantor" : [{
"reference" : "RelatedPerson/peter"
}],
"controller" : [{
"reference" : "Organization/f001"
}],
"regulatoryBasis" : [{
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code" : "INFA"
}]
}],
"decision" : "permit",
"provision" : [{
"period" : {
"start" : "2016-06-23T17:02:33+10:00",
"end" : "2016-06-23T17:32:33+10:00"
},
"provision": [
"provision" : [{
"action" : [{
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/consentaction",
"code" : "access"
}]
},
{
"type": "permit",
"action": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/consentaction",
"code": "access"
}
]
}
],
"class": [
{
"system": "http://hl7.org/fhir/resource-types",
"code": "MedicationRequest"
}
]
}
]
}
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/consentaction",
"code" : "correct"
}]
}],
"resourceType" : [{
"system" : "http://hl7.org/fhir/resource-types",
"code" : "MedicationRequest"
}]
}]
}]
}
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
4
(Technical
Correction
#1)
(v4.0.1)
R5
hl7.fhir.core#5.0.0
generated
on
Fri,
Nov
1,
2019
09:34+1100.
QA
Page
Sun,
Mar
26,
2023
15:24+1100.
Links:
Search
|
Version
History
|
Table
of
Contents
|
Credits
Glossary
|
QA
|
Compare
to
R3
R4
|
Compare
to
R4B
|
|
Propose
a
change