<Consent xmlns="http://hl7.org/fhir">
  <id value="39565af2-9ea6-4504-a1f0-857380ddfedd" />
  <meta>
    <profile value="http://electronichealth.se/fhir/NDI/StructureDefinition/restriction-re" />
  </meta>
  <status value="active" />
  <category>
    <coding>
      <system value="http://electronichealth.se/CodeSystem/consent-category" />
      <code value="restriction-optout" />
    </coding>
  </category>
  <category>
    <coding>
      <system value="http://electronichealth.se/CodeSystem/consent-category" />
      <code value="restriction" />
    </coding>
  </category>
  <subject>
    <identifier>
      <system value="http://electronichealth.se/identifier/personnummer" />
      <value value="198001022386" />
    </identifier>
  </subject>
  <date value="2025-10-07" />
  <period>
    <start value="2025-10-07" />
  </period>
  <grantor>
    <type value="Patient" />
    <identifier>
      <system value="http://electronichealth.se/identifier/personnummer" />
      <value value="198001022386" />
    </identifier>
  </grantor>
  <regulatoryBasis>
    <coding>
      <system value="https://eur-lex.europa.eu/eli/reg/2025/327/oj" />
      <code value="Article10" />
    </coding>
  </regulatoryBasis>
  <decision value="deny" />
</Consent>