<Consent xmlns="http://hl7.org/fhir">
  <id value="EHGConsentMotivertHymneResearch" />
  <meta>
    <profile value="http://www.egde.no/StructureDefinition/ehg-no-Consent" />
  </meta>
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>Authorize release of data for deidentified research use</p>
      <p>Patient "Jannice Soreng" does not wish to have all of the image and metadata collected by Flåttsenteret available for research use.</p>
    </div>
  </text>
  <status value="active" />
  <scope>
    <coding>
      <system value="http://hl7.org/fhir/ValueSet/consent-scope" />
      <code value="research" />
    </coding>
  </scope>
  <category>
    <coding>
      <system value="http://loinc.org" />
      <code value="59284-0" />
    </coding>
  </category>
  <patient>
    <reference value="Patient/MotivertHymne" />
  </patient>
  <dateTime value="2022-04-22" />
  <policyRule>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode" />
      <code value="OPTOUT" />
    </coding>
  </policyRule>
</Consent>