<?xml version="1.0" encoding="UTF-8"?><Contract xmlns="http://hl7.org/fhir">
  <id value="pcd-example-notLabs"/>
  <meta>
    <security>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
      <code value="HTEST"/>
      <display value="test health data"/>
    </security>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">The following scenario is based on existing
      jurisdictional policy and are realized in existing systems in Canada. The default policy is
      one of implied consent for the provision of care, so these scenarios all deal with withdrawal
      or withholding consent for that purpose. In other jurisdictions, where an express consent
      model is used (Opt-In), these would examples would contain the phrase "consent to" rather than
      "withhold" or "withdraw" consent for. <p> specific to use-case 1. Withhold or withdraw consent
        for disclosure of records related to specific domain (e.g. DI, LAB, etc.) </p><p> Patient
        "P. van de Heuvel" wishes to withhold disclosure of all of her lab orders and results to any
        provider. </p>
    </div>
  </text>
  <issued value="2014-08-17"/>
  <!--  not bound by a timeframe - Contract.applies  -->
  <subject>
    <reference value="Patient/f001"/>
    <display value="P. van de Heuvel"/>
  </subject>
  <authority>
    <reference value="Organization/3"/>
    <display value="Michigan Health"/>
  </authority>
  <!--  and/or would this [also] go into Contract.domain as a Jurisdiction?? (see the example on UK Pharamacy Juristiction)  -->
  <domain>
    <reference value="Location/ukp"/>
    <display value="UK Pharmacies"/>
  </domain>
  <type>
    <coding>
      <system value="http://loinc.org"/>
      <code value="57016-8"/>
    </coding>
  </type>
  <!--  made up code-system to represent the set of privacy consent sub-types known and published by Canada Infoway  -->
  <subType>
    <coding>
      <system value="http://www.infoway-inforoute.ca.org/Consent-subtype-codes"/>
      <code value="Opt-In"/>
      <display value="Default Authorization with exceptions."/>
    </coding>
  </subType>
  <!--  I can easily say to exclude a type of FHIR Resource, but lab-orders is not a direct Resource type. Might we put in FHIR based query parameters?  -->
  <term>
    <offer>
      <text value="sample"/>
    </offer>
    <group>
      <type>
        <coding>
          <!--  made up code system  -->
          <system value="http://example.org/fhir/consent-term-type-codes"/>
          <code value="withhold-object-type"/>
        </coding>
      </type>
      <subType>
        <coding>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="ServiceRequest"/>
        </coding>
      </subType>
      <!--  by not specifying term.actor I assume this means everyone?  -->
      <offer>
        <text value="Withhold orders from any provider."/>
      </offer>
    </group>
    <group>
      <type>
        <coding>
          <!--  made up code system  -->
          <system value="http://example.org/fhir/consent-term-type-codes"/>
          <code value="withhold-object-type"/>
        </coding>
      </type>
      <subType>
        <coding>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="DiagnosticReport"/>
        </coding>
      </subType>
      <!--  by not specifying term.actor I assume this means everyone?  -->
      <offer>
        <text value="Withhold order results from any provider."/>
      </offer>
    </group>
  </term>
  <!--  the terms of the consent in friendly consumer speak  -->
  <friendly>
    <!--  likely use url pointer to common text  -->
    <contentAttachment>
      <title value="The terms of the consent in friendly consumer speak."/>
    </contentAttachment>
  </friendly>
  <!--  the legal terms of the consent in lawyer speak  -->
  <legal>
    <!--  likely use url pointer to common text  -->
    <!--  I think some think that this should be the pointer to the law by which this consent is derived under. Such as http://lois-laws.justice.gc.ca/eng/acts/P-21/index.html  -->
    <contentAttachment>
      <title value="The terms of the consent in lawyer speak."/>
    </contentAttachment>
  </legal>
</Contract>