This
page
is
part
of
the
FHIR
Specification
(v3.0.2:
STU
3).
(v3.3.0:
R4
Ballot
2).
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 | Ballot Status : Informative | Compartments : Patient |
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>patient</b>: <a>Patient/xcda</a></p><p><b>period</b>: 23/06/2016 5:02:33 PM --> 23/06/2016 5:32:33 PM</p><p><b>dateTime</b>: 23/06/2016 5:02:33 PM</p><p><b>consentingParty</b>: <a>RelatedPerson/peter</a></p><p><b>organization</b>: <a>Organization/example</a></p><p><b>policyRule</b>: <a>http://hl7.org/fhir/ConsentPolicy/opt-in</a></p><h3>Excepts</h3><table><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>(Details : {http://hl7.org/fhir/consentaction code 'access' = 'Access)</span></td><td>MedicationRequest (Details: http://hl7.org/fhir/resource-types code MedicationRequest = 'MedicationRequest', stated as 'null')</td></tr></table></div>"
"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>: in-progress</p><p><b>scope</b>: Privacy Consent <span>(Details : {http://hl7.org/fhir/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://hl7.org/fhir/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",
"status": "in-progress",
"scope": {
"coding": [
{
"system": "http://hl7.org/fhir/consentscope",
"code": "patient-privacy"
}
]
},
"category": [
{
"coding": [
{
"system": "http://loinc.org",
"code": "59284-0"
}
]
}
],
"patient": {
"reference": "Patient/xcda"
},
"period": {
"start": "2016-06-23T17:02:33+10:00",
"end": "2016-06-23T17:32:33+10:00"
},
"dateTime": "2016-06-23T17:02:33+10:00",
"consentingParty": [
"performer": [
{
"reference": "RelatedPerson/peter"
}
],
"organization": [
{
"reference": "Organization/example"
"reference": "Organization/f001"
}
],
"policyRule": "http://hl7.org/fhir/ConsentPolicy/opt-in",
"except": [
{
"type": "permit",
"action": [
{
"coding": [
{
"system": "http://hl7.org/fhir/consentaction",
"code": "access"
}
]
}
],
"class": [
{
"system": "http://hl7.org/fhir/resource-types",
"code": "MedicationRequest"
}
]
}
]
"policyRule": {
"coding": [
{
"system": "http://hl7.org/fhir/v3/ActCode",
"code": "OPTIN"
}
]
},
"provision": {
"period": {
"start": "2016-06-23T17:02:33+10:00",
"end": "2016-06-23T17:32:33+10:00"
},
"provision": [
{
"type": "permit",
"action": [
{
"coding": [
{
"system": "http://hl7.org/fhir/consentaction",
"code": "access"
}
]
}
],
"class": [
{
"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.