This page is part of the FHIR Specification (v5.0.0-snapshot1: Release 5 Snapshot #1). 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</b></p><div><p>Resource "consent-example-smartonfhir" </p></div><p><b>status</b>: active</p><p><b>category</b>: Patient Consent <span> (<a>LOINC</a>#59284-0)</span></p><p><b>subject</b>: <a>Patient/xcda</a> "Henry LEVIN"</p><p><b>dateTime</b>: 2016-06-23T17:02:33+10:00</p><p><b>grantor</b>: <a>RelatedPerson/peter</a> "Peter CHALMERS"</p><p><b>controller</b>: <a>Organization/f001</a> "Burgers University Medical Center"</p><p><b>policyRule</b>: information access <span> (<a>ActCode</a>#INFA)</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></blockquote></div>" }, "status": "active", "category": [ { "coding": [ { "system": "http://loinc.org", "code": "59284-0" } ] } ], "subject": { "reference": "Patient/xcda" }, "dateTime": "2016-06-23T17:02:33+10:00", "grantor": [ { "reference": "RelatedPerson/peter" } ], "controller": [ { "reference": "Organization/f001" } ], "policyRule": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", "code": "INFA" } ] }, "provision": { "type": "deny", "period": { "start": "2016-06-23T17:02:33+10:00", "end": "2016-06-23T17:32:33+10:00" }, "provision": [ { "type": "permit", "action": [ { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/consentaction", "code": "access" } ] }, { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/consentaction", "code": "correct" } ] } ], "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.