{
  "resourceType" : "Consent",
  "id" : "PatientHasEpr",
  "meta" : {
    "profile" : ["http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-epr-consent"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Consent PatientHasEpr</b></p><a name=\"PatientHasEpr\"> </a><a name=\"hcPatientHasEpr\"> </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-ch-core-epr-consent.html\">CH Core EPR-Consent</a></p></div><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-FranzMuster.html\">Franz Muster</a></td></tr><tr><td title=\"Who manages the consent through its lifecycle.\">Manager</td><td>Stammgemeinschaft XYZ</td></tr></table><p>This consent is made under the regulation <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/consentpolicycodes ch-epr}\">CH EPR Consent</span> and the policy .</p><p>The subject has given their consent.</p></div>"
  },
  "status" : "active",
  "scope" : {
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/consentscope",
      "code" : "patient-privacy",
      "display" : "Privacy Consent"
    }]
  },
  "category" : [{
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
      "code" : "IDSCL",
      "display" : "information disclosure"
    }]
  }],
  "patient" : {
    "reference" : "Patient/FranzMuster",
    "display" : "Franz Muster"
  },
  "dateTime" : "2020-12-28",
  "organization" : [{
    "display" : "Stammgemeinschaft XYZ"
  }],
  "policy" : [{
    "authority" : "https://www.admin.ch/opc/de/classified-compilation/20111795/index.html"
  }],
  "policyRule" : {
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/consentpolicycodes",
      "code" : "ch-epr"
    }]
  }
}