Release 5 Draft Ballot

This page is part of the FHIR Specification (v4.6.0: R5 Draft Ballot). 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

Consent-example-smartonfhir.json

Community Based Collaborative Care Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: 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><p><b>status</b>: active</p><p><b>scope</b>: <span>Privacy Consent</span></p><p><b>category</b>: <span>Patient Consent</span></p><p><b>subject</b>: <a>Generated Summary: Medical record number: 12345 (USUAL); active; Henry Levin ; gender: male; birthDate: 1932-09-24</a></p><p><b>dateTime</b>: 23 Jun. 2016, 5:02:33 pm</p><p><b>performer</b>: <a>Generated Summary: <span>Emergency Contact</span>; Peter James Chalmers (OFFICIAL); Phone: (03) 5555 6473; gender: male; period: 2012-03-11 --&gt; (ongoing)</a></p><p><b>controller</b>: <a>Generated Summary: id: 91654 (OFFICIAL), id: 17-0112278 (USUAL); <span>University Medical Hospital</span>; name: Burgers University Medical Center; Phone: 022-655 2300</a></p><p><b>policyRule</b>: <span>information access</span></p><blockquote><p><b>provision</b></p><p><b>type</b>: deny</p><p><b>period</b>: 23 Jun. 2016, 5:02:33 pm --&gt; 23 Jun. 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"
        }
      ]
    }
  ],
  "subject": {
    "reference": "Patient/xcda"
  },
  "dateTime": "2016-06-23T17:02:33+10:00",
  "performer": [
    {
      "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.