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

<Consent xmlns="http://hl7.org/fhir">
  <id value="b8c48ab1-24d7-4315-8502-dbae014fde57"/>
  <meta>
    <profile value="http://hl7.eu/fhir/eps/StructureDefinition/consent-eu-eps"/>
  </meta>
  <language value="en"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p>Advance directive, <span class="nb">2023-05-10</span>: do not resuscitate.</p></div>
  </text>
  <status value="active"/>
  <scope>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/consentscope"/>
      <code value="adr"/>
    </coding>
  </scope>
  <category>
    <coding>
      <system value="http://loinc.org"/>
      <code value="75320-2"/>
      <display value="Advance directive"/>
    </coding>
  </category>
  <patient>
    <reference value="urn:uuid:f51071b2-6c06-4d31-85ed-26a6b964ef98"/>
  </patient>
  <dateTime value="2023-05-10"/>
  <policy>
    <uri value="http://example.org/policies/advance-directives"/>
  </policy>
  <provision>
    <type value="deny"/>
    <code>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="89666000"/>
        <display value="Cardiopulmonary resuscitation"/>
      </coding>
    </code>
  </provision>
</Consent>