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

<Consent xmlns="http://hl7.org/fhir">
  <id value="ExampleFHIRConsentXACMLcopyReference"/>
  <meta>
    <profile value="http://johnmoehrke.github.io/xacml-consent/StructureDefinition/fhir-consent-xacml"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: Consent ExampleFHIRConsentXACMLcopyReference</b></p><a name="ExampleFHIRConsentXACMLcopyReference"> </a><a name="hcExampleFHIRConsentXACMLcopyReference"> </a><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px"/><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-fhir-consent-xacml.html">FHIR Consent with XACML Policies</a></p></div><p><b>identifier</b>: oasis:names:tc:xacml:1.0:Policy/@PolicyId/consent-policy-set-12345</p><p><b>status</b>: Active</p><p><b>category</b>: <span title="Codes:{http://loinc.org 59284-0}">Consent Document with XACML Policies</span></p><p><b>subject</b>: <a href="Patient-ex-patient.html">John Schmidt  Other, DoB: 1923-07-25 ( http://example.org/mrn#123456)</a></p><p><b>sourceReference</b>: <a href="DocumentReference-xacml-patient-consent-12345.html">DocumentReference: identifier = oasis:names:tc:xacml:1.0:Policy/@PolicyId; status = current; type = Consent Document</a></p><h3>PolicyBases</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Uri</b></td></tr><tr><td style="display: none">*</td><td><a href="http://example.org/policies/xacml-overriding.xml">http://example.org/policies/xacml-overriding.xml</a></td></tr></table></div>
  </text>
  <identifier>
    <type>
      <coding>
        <code value="oasis:names:tc:xacml:1.0:Policy/@PolicyId"/>
      </coding>
    </type>
    <value value="consent-policy-set-12345"/>
  </identifier>
  <status value="active"/>
  <category>
    <coding>
      <system value="http://loinc.org"/>
      <code value="59284-0"/>
      <display value="Consent Document"/>
    </coding>
    <text value="Consent Document with XACML Policies"/>
  </category>
  <subject>
    <reference value="Patient/ex-patient"/>
  </subject>
  <sourceReference>
    <reference value="DocumentReference/xacml-patient-consent-12345"/>
  </sourceReference>
  <policyBasis>
    <uri value="http://example.org/policies/xacml-overriding.xml"/>
  </policyBasis>
</Consent>