Release 4


Community Based Collaborative Care Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Patient

Raw XML (canonical form + also see XML Format Specification)

Jump past Narrative

Template for recording a Smart on FHIR Authorization (id = "consent-example-smartonfhir")

<?xml version="1.0" encoding="UTF-8"?>

<Consent xmlns="">
  <id value="consent-example-smartonfhir"/> 
  <text> <status value="generated"/> <div xmlns=""><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 : { 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> : Jun 23, 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 : { code 'OPTIN' = 'opt-in)</span> </p> <blockquote> <p> <b> provision</b> </p> <p> <b> period</b> : Jun 23, 2016 5:02:33 PM --&gt; Jun 23, 2016 5:32:33 PM</p> <h3> Provisions</h3> <table> <tr> <td> -</td> </tr> <tr> <td> *</td> </tr> </table> </blockquote> </div> </text> <status value="active"/> 
      <system value=""/> 
      <code value="patient-privacy"/> 
      <system value=""/> 
      <code value="59284-0"/> 
   In this SMART on FHIR login, the user consents for data sharing 
   for their elderly parent's record
    <reference value="Patient/xcda"/> 
  <dateTime value="2016-06-23T17:02:33+10:00"/> 
    <!--    this is the patient record that matches the person
      making the decision. note: it's not always a related person
    <reference value="RelatedPerson/peter"/> 
    <!--    The organization running the Authentication server    -->
    <reference value="Organization/f001"/> 
  <!--    there's no source record for a Smart on FHIR consent    -->
  <!--    now the consent details itself start    -->
  <!--    smart on fhir is always the base opt-in policy    -->
      <system value=""/> 
      <code value="OPTIN"/> 
  <!--    each scope that relates to FHIR resource access is represented as an exception    -->
      <start value="2016-06-23T17:02:33+10:00"/> 
      <end value="2016-06-23T17:32:33+10:00"/> 
      <!--    this rule corresponds to MedicationRequest/read    -->
      <type value="permit"/> 
      <!--    no actors here, or anything, just read/write and the resource type    -->
          <system value=""/> 
          <code value="access"/> 
        <system value=""/> 
        <code value="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.