<?xml version=“1.0” encoding=“UTF-8”?><Consent xmlns=“hl7.org/fhir”>

<id value="consent-example-grantor"/>

<text>
  <status value="generated"/>
  <div xmlns="http://www.w3.org/1999/xhtml">The following scenario is based on a question asked on John Moehrke&#39;s blog in the 
      <a href="http://healthcaresecprivacy.blogspot.com/2016/04/consent-given-to-authorized.html">Consent given to authorized representative</a>
  <p>

This is a case where a Patient is giving a limited (read-only) access to an individual.

      </p><p>
  Patient &quot;P. van de Heuvel&quot; wishes to provide XXX with read-only access to the data at Good Health Psychiatric Hospital 
 available for patient requested access use.
 </p>
 </div>
</text>

<status value="active"/>

<patient>
  <reference value="Patient/f001"/>
  <display value="P. van de Heuvel"/>
</patient>

<dateTime value="2015-11-18"/>
 <!--  not bound by a timeframe - Consent.period  -->

<!--  I assume the example given is Canada Infoway wide???  AND I assume it is desired to state that in the Consent.authority element  -->
<organization>
  <reference value="Organization/Infoway"/>
        <display value="Canada Infoway"/>
</organization>

<!--  the text terms of the consent in lawyer speak  -->
<sourceAttachment>
         <title value="The terms of the consent in lawyer speak."/>
         <!--  likely use url pointer to common text  -->
      </sourceAttachment>

<!--  this is opt-out - e.g. nothing approved unless otherwise stated  -->
<policyRule value="http://hl7.org/fhir/ConsentPolicy/opt-out"/>

<except>
  <type value="permit"/>
  <actor>
    <role>
      <coding>
        <system value="http://hl7.org/fhir/v3/ParticipationType"/>
        <code value="CST"/> 
      </coding>
    </role>
    <reference>
       <reference value="Organization/2.16.840.1.113883.19.6"/>
       <display value="Good Health Psychiatric Hospital"/>
    </reference>
  </actor>

  <actor>
    <role>
      <coding>
        <system value="http://hl7.org/fhir/v3/ParticipationType"/>
        <code value="PRCP"/> 
      </coding>
    </role>
    <reference>
       <reference value="Patient/example"/>
       <display value="Good Health Clinic"/>
    </reference>
  </actor>
  <action>
    <coding>
      <system value="http://hl7.org/fhir/consentaction"/>
      <code value="access"/>
    </coding>
  </action> 
</except>

</Consent>