{
  "resourceType" : "Consent",
  "id" : "2d3400fc-31e8-4cb7-9f41-7b2d8cfb8125",
  "meta" : {
    "profile" : ["http://fhir.ehdsi.eu/eps/StructureDefinition/advance-directive-myhealtheu-eps"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Active do-not-resuscitate advance directive recorded for Petra Schwartz.</p></div>"
  },
  "status" : "active",
  "scope" : {
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/consentscope",
      "code" : "adr",
      "display" : "Advanced Care Directive"
    }]
  },
  "category" : [{
    "coding" : [{
      "system" : "http://loinc.org",
      "code" : "42348-3",
      "display" : "Advance healthcare directives"
    }]
  }],
  "patient" : {
    "reference" : "Patient/f0b2dcfe-e837-464b-ae8a-3b9da1807dd3"
  },
  "dateTime" : "2025-08-15T10:00:00+02:00",
  "performer" : [{
    "reference" : "Patient/f0b2dcfe-e837-464b-ae8a-3b9da1807dd3"
  }],
  "policyRule" : {
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
      "code" : "OPTOUT",
      "display" : "op-out"
    }]
  },
  "provision" : {
    "type" : "deny",
    "code" : [{
      "coding" : [{
        "system" : "http://snomed.info/sct",
        "code" : "304253006",
        "display" : "Do not resuscitate"
      }]
    }]
  }
}