This page is part of the FHIR Specification (v4.3.0: R4B - STU). 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 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>" }, "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" }, "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" } ] }, "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://terminology.hl7.org/CodeSystem/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.