<?xml version="1.0" encoding="UTF-8"?>

<Consent xmlns="http://hl7.org/fhir">
  <id value="EjemploEmaConsent"/>
  <meta>
    <profile value="https://emahealth.io/fhir/clinical/StructureDefinition/ema-consent"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: Consentimiento EjemploEmaConsent</b></p><a name="EjemploEmaConsent"> </a><a name="hcEjemploEmaConsent"> </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-ema-consent.html">EMA 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/ejemplo-patient">María Fernández</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>
  </text>
  <status value="active"/>
  <scope>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/consentscope"/>
      <code value="treatment"/>
    </coding>
  </scope>
  <category>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
      <code value="ICOL"/>
      <display value="information collection"/>
    </coding>
  </category>
  <patient>
    <reference value="Patient/ejemplo-patient"/>
    <display value="María Fernández"/>
  </patient>
  <dateTime value="2026-03-10T09:00:00-03:00"/>
  <policyRule>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
      <code value="OPTIN"/>
      <display value="opt-in"/>
    </coding>
  </policyRule>
</Consent>