{
  "resourceType" : "Consent",
  "id" : "ExampleEinwilligung",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Consent ExampleEinwilligung</b></p><a name=\"ExampleEinwilligung\"> </a><a name=\"hcExampleEinwilligung\"> </a><h2>Participants</h2><table class=\"grid\"><tr><td><b>Role</b></td><td><b>Details</b></td></tr><tr><td title=\"Who the consent applies to\">Patient</td><td><a href=\"Patient-example-patient.html\">Thomas Weber (official) Male, DoB: 1975-06-15</a></td></tr></table><p>This consent is made under the regulation <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode OPTIN}\">opt-in</span> .</p><p>The subject has given their consent.</p></div>"
  },
  "extension" : [{
    "url" : "https://fhir.cognovis.de/praxis/StructureDefinition/einwilligung-kuerzel",
    "valueString" : "DMP-DM2"
  },
  {
    "url" : "https://fhir.cognovis.de/praxis/StructureDefinition/einwilligung-zielgruppe",
    "valueString" : "Patienten mit gesichertem Diabetes mellitus Typ 2"
  },
  {
    "url" : "https://fhir.cognovis.de/praxis/StructureDefinition/einwilligung-gueltigkeitsdauer",
    "valueDuration" : {
      "value" : 12,
      "unit" : "mo",
      "system" : "http://unitsofmeasure.org",
      "code" : "mo"
    }
  },
  {
    "url" : "https://fhir.cognovis.de/praxis/StructureDefinition/einwilligung-widerruf-moeglich",
    "valueBoolean" : true
  },
  {
    "url" : "https://fhir.cognovis.de/praxis/StructureDefinition/einwilligung-auswahl",
    "valueString" : "Ja"
  },
  {
    "url" : "https://fhir.cognovis.de/praxis/StructureDefinition/einwilligung-schein-nummer",
    "valueString" : "S-2019-0642"
  }],
  "status" : "active",
  "scope" : {
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/consentscope",
      "code" : "patient-privacy"
    }]
  },
  "category" : [{
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
      "code" : "IDSCL"
    }]
  }],
  "patient" : {
    "reference" : "Patient/example-patient"
  },
  "dateTime" : "2019-06-15",
  "policyRule" : {
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
      "code" : "OPTIN"
    }]
  }
}