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

<id value="consent-example-notOrg"/>
<meta>
  <security>
    <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
    <code value="HTEST"/>
    <display value="test health data"/>
  </security>
</meta>

<status value="active"/>
<scope>
  <coding>
    <system value="http://terminology.hl7.org/CodeSystem/consentscope"/>
    <code value="patient-privacy"/>
  </coding>
  </scope>
    <category>
  <coding>
    <system value="http://loinc.org"/>
    <code value="59284-0"/>
  </coding>
</category>
<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/f001"/>
</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-in - e.g. everything approved unless otherwise stated  -->
<policyRule>
  <coding>
    <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
    <code value="OPTIN"/>
  </coding>
</policyRule>
<provision>
  <!--  no read or write access for this org  -->
  <type value="deny"/>
  <actor>
    <role>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
        <code value="PRCP"/>
        <!--  PRCP: recipient of the information  -->
      </coding>
    </role>
    <reference>
      <reference value="Organization/f001"/>
    </reference>
  </actor>
  <action>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/consentaction"/>
      <code value="access"/>
    </coding>
  </action>
  <action>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/consentaction"/>
      <code value="correct"/>
    </coding>
  </action>
</provision>

</Consent>