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

<Bundle xmlns="http://hl7.org/fhir">
  <id value="bundle-mhd-referencia-documental-ejemplo"/>
  <meta>
    <profile value="https://hl7chile.cl/fhir/ig/mhd/StructureDefinition/BundleMhd"/>
  </meta>
  <type value="transaction"/>
  <timestamp value="2026-07-06T12:00:00-03:00"/>
  <entry>
    <fullUrl value="urn:uuid:bfc14381-eb19-49fe-b1ea-834e7fce07f9"/>
    <resource>
      <List>
        <id value="EjemploListMhd"/>
        <meta>
          <profile value="https://hl7chile.cl/fhir/ig/mhd/StructureDefinition/ListMhd"/>
        </meta>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="List_EjemploListMhd"> </a><p class="res-header-id"><b>Generated Narrative: List EjemploListMhd</b></p><a name="EjemploListMhd"> </a><a name="hcEjemploListMhd"> </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-ListMhd.html">ListMhd</a></p></div><table class="clstu"><tr><td>Date: 2026-07-06 </td><td>Mode: Working List </td><td>Status: Current </td><td>Code: SubmissionSet as a FHIR List </td></tr><tr><td>Subject: <a href="Bundle-BundleDocumentoIpsEjemplo.html#urn-uuid-991a7102-d221-498d-9157-c4192934e3b7">Paciente argentino de ejemplo</a></td></tr></table><table class="grid"><tr style="backgound-color: #eeeeee"><td><b>Items</b></td></tr><tr><td><a href="Bundle-bundle-mhd-referencia-documental-ejemplo.html#urn-uuid-32ab6cfe-8cdf-4c75-a831-47be8b5668fa">Referencia documental de ejemplo</a></td></tr></table></div>
        </text>
        <extension url="https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId">
          <valueIdentifier>
            <system value="urn:ietf:rfc:3986"/>
            <value value="urn:oid:2.16.840.1.113883.3.9999.1"/>
          </valueIdentifier>
        </extension>
        <status value="current"/>
        <mode value="working"/>
        <code>
          <coding>
            <system value="https://profiles.ihe.net/ITI/MHD/CodeSystem/MHDlistTypes"/>
            <code value="submissionset"/>
          </coding>
        </code>
        <subject>
          <reference value="urn:uuid:991a7102-d221-498d-9157-c4192934e3b7"/>
          <display value="Paciente argentino de ejemplo"/>
        </subject>
        <date value="2026-07-06"/>
        <entry>
          <item>
            <reference value="urn:uuid:32ab6cfe-8cdf-4c75-a831-47be8b5668fa"/>
            <display value="Referencia documental de ejemplo"/>
          </item>
        </entry>
      </List>
    </resource>
    <request>
      <method value="POST"/>
      <url value="List"/>
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:32ab6cfe-8cdf-4c75-a831-47be8b5668fa"/>
    <resource>
      <DocumentReference>
        <id value="ReferDocEjemplo"/>
        <meta>
          <profile value="https://hl7chile.cl/fhir/ig/mhd/StructureDefinition/ReferenciaDocumental"/>
        </meta>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="DocumentReference_ReferDocEjemplo"> </a><p class="res-header-id"><b>Generated Narrative: DocumentReference ReferDocEjemplo</b></p><a name="ReferDocEjemplo"> </a><a name="hcReferDocEjemplo"> </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-ReferenciaDocumental.html">ReferenciaDocumental</a></p></div><p><b>masterIdentifier</b>: Identifier type for XDS UniqueId/IPS-ARG-2026-00001</p><p><b>status</b>: Current</p><p><b>type</b>: <span title="Codes:{http://loinc.org 34133-9}">Summary of episode note</span></p><p><b>category</b>: <span title="Codes:{http://loinc.org 60591-5}">Resumen clínico de paciente</span></p><p><b>subject</b>: <a href="Bundle-BundleDocumentoIpsEjemplo.html#urn-uuid-991a7102-d221-498d-9157-c4192934e3b7">Pablo Fernandez Perez(official) Male, DoB: 1912-06-12 ( https://www.registrocivil.cl/run#99999999-9 (use: official))</a></p><p><b>date</b>: 2026-07-06 10:30:00-0300</p><p><b>author</b>: <a href="Practitioner-PrestadorCLInline.html">María Laura Gómez (official) (RNPI: 987654 (use: usual))</a></p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class="grid"><tr><td style="display: none">-</td><td><b>ContentType</b></td><td><b>Url</b></td><td><b>Title</b></td><td><b>Creation</b></td></tr><tr><td style="display: none">*</td><td>application/fhir+json</td><td><a href="Bundle-bundle-mhd-referencia-documental-ejemplo.html#urn-uuid-3e1f5c8b-0d4a-4f9e-9c6b-2d7e5f8a1b2c">Bundle: identifier = http://hsisalud.org/documentos#DOC-IPS-CL-0001; type = document; timestamp = 2026-07-06 10:30:00-0300</a></td><td>Documento IPS Chileno mínimo</td><td>2026-07-06 10:30:00-0300</td></tr></table></blockquote><h3>Contexts</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Period</b></td></tr><tr><td style="display: none">*</td><td>2026-07-06 10:30:00-0300 --&gt; (ongoing)</td></tr></table></div>
        </text>
        <masterIdentifier>
          <type>
            <coding>
              <system value="https://profiles.ihe.net/ITI/MHD/CodeSystem/IHE.MHD.MHDIdentifierType"/>
              <code value="uniqueId"/>
            </coding>
          </type>
          <system value="https://repositorio.hsi.ar/documentos/ips"/>
          <value value="IPS-ARG-2026-00001"/>
        </masterIdentifier>
        <status value="current"/>
        <type>
          <coding>
            <system value="http://loinc.org"/>
            <code value="34133-9"/>
            <display value="Summary of episode note"/>
          </coding>
        </type>
        <category>
          <coding>
            <system value="http://loinc.org"/>
            <code value="60591-5"/>
          </coding>
          <text value="Resumen clínico de paciente"/>
        </category>
        <subject>
          <reference value="urn:uuid:991a7102-d221-498d-9157-c4192934e3b7"/>
        </subject>
        <date value="2026-07-06T10:30:00-03:00"/>
        <author>
          <reference value="Practitioner/PrestadorCLInline"/>
        </author>
        <content>
          <attachment>
            <contentType value="application/fhir+json"/>
            <url value="urn:uuid:3e1f5c8b-0d4a-4f9e-9c6b-2d7e5f8a1b2c"/>
            <title value="Documento IPS Chileno mínimo"/>
            <creation value="2026-07-06T10:30:00-03:00"/>
          </attachment>
        </content>
        <context>
          <period>
            <start value="2026-07-06T10:30:00-03:00"/>
          </period>
        </context>
      </DocumentReference>
    </resource>
    <request>
      <method value="POST"/>
      <url value="DocumentReference"/>
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:3e1f5c8b-0d4a-4f9e-9c6b-2d7e5f8a1b2c"/>
    <resource>
      <Bundle>
        <id value="BundleDocumentoIpsEjemplo"/>
        <meta>
          <profile value="https://hl7chile.cl/fhir/ig/clips/StructureDefinition/Bundle-documento-ips-cl"/>
        </meta>
        <identifier>
          <system value="http://hsisalud.org/documentos"/>
          <value value="DOC-IPS-CL-0001"/>
        </identifier>
        <type value="document"/>
        <timestamp value="2026-07-06T10:30:00-03:00"/>
        <entry>
          <fullUrl value="urn:uuid:5e1c2f0a-7b0d-4c55-9a43-0c1f6a1d0001"/>
          <resource>
            <Composition>
              <id value="ComposicionIps-Ejemplo"/>
              <meta>
                <profile value="https://hl7chile.cl/fhir/ig/clips/StructureDefinition/Composition-cl-ips"/>
              </meta>
              <identifier>
                <system value="http://hsisalud.org/documentos"/>
                <value value="DOC-IPS-CL-0001"/>
              </identifier>
              <status value="final"/>
              <type>
                <coding>
                  <system value="http://loinc.org"/>
                  <code value="60591-5"/>
                  <display value="Patient summary Document"/>
                </coding>
              </type>
              <subject>
                <reference value="urn:uuid:991a7102-d221-498d-9157-c4192934e3b7"/>
                <display value="Pablo Fernandez Perez"/>
              </subject>
              <date value="2026-07-06T10:30:00-03:00"/>
              <author>
                <reference value="urn:uuid:5e1c2f0a-7b0d-4c55-9a43-0c1f6a1d0002"/>
                <display value="María Laura Gómez Perez"/>
              </author>
              <title value="Resumen Internacional del Paciente - Chile"/>
              <section>
                <title value="Inmunizaciones"/>
                <code>
                  <coding>
                    <system value="http://loinc.org"/>
                    <code value="11369-6"/>
                    <display value="History of Immunization note"/>
                  </coding>
                </code>
                <text>
                  <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">Registro mínimo de inmunización.</div>
                </text>
                <entry>
                  <reference value="urn:uuid:5e1c2f0a-7b0d-4c55-9a43-0c1f6a1d0003"/>
                  <display value="Inmunización COVID-19 registrada"/>
                </entry>
              </section>
              <section>
                <title value="Problemas y condiciones"/>
                <code>
                  <coding>
                    <system value="http://loinc.org"/>
                    <code value="11450-4"/>
                    <display value="Problem list - Reported"/>
                  </coding>
                </code>
                <text>
                  <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">Condición clínica registrada.</div>
                </text>
                <entry>
                  <reference value="urn:uuid:5e1c2f0a-7b0d-4c55-9a43-0c1f6a1d0004"/>
                </entry>
              </section>
              <section>
                <title value="Medicación"/>
                <code>
                  <coding>
                    <system value="http://loinc.org"/>
                    <code value="10160-0"/>
                    <display value="History of Medication use Narrative"/>
                  </coding>
                </code>
                <text>
                  <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">Medicación activa registrada.</div>
                </text>
                <entry>
                  <reference value="urn:uuid:5e1c2f0a-7b0d-4c55-9a43-0c1f6a1d0005"/>
                </entry>
              </section>
              <section>
                <title value="Alergias e intolerancias"/>
                <code>
                  <coding>
                    <system value="http://loinc.org"/>
                    <code value="48765-2"/>
                    <display value="Allergies and adverse reactions Document"/>
                  </coding>
                </code>
                <text>
                  <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">Alergia registrada.</div>
                </text>
                <entry>
                  <reference value="urn:uuid:5e1c2f0a-7b0d-4c55-9a43-0c1f6a1d0006"/>
                </entry>
              </section>
            </Composition>
          </resource>
        </entry>
        <entry>
          <fullUrl value="urn:uuid:991a7102-d221-498d-9157-c4192934e3b7"/>
          <resource>
            <Patient>
              <id value="Paciente-Interno"/>
              <meta>
                <profile value="https://hl7chile.cl/fhir/ig/clips/StructureDefinition/Paciente-cl-ips"/>
              </meta>
              <identifier>
                <use value="official"/>
                <system value="https://www.registrocivil.cl/run"/>
                <value value="99999999-9"/>
              </identifier>
              <active value="true"/>
              <name>
                <use value="official"/>
                <text value="Pablo Fernandez Perez"/>
                <family value="Fernandez">
                  <extension url="https://hl7chile.cl/fhir/ig/clcore/StructureDefinition/SegundoApellido">
                    <valueString value="Perez"/>
                  </extension>
                </family>
                <given value="Pablo"/>
              </name>
              <telecom>
                <system value="phone"/>
                <value value="1141233100"/>
              </telecom>
              <gender value="male"/>
              <birthDate value="1912-06-12"/>
            </Patient>
          </resource>
        </entry>
        <entry>
          <fullUrl value="urn:uuid:5e1c2f0a-7b0d-4c55-9a43-0c1f6a1d0002"/>
          <resource>
            <Practitioner>
              <id value="PrestadorCLInline"/>
              <meta>
                <profile value="https://hl7chile.cl/fhir/ig/clips/StructureDefinition/Prestador-cl-ips"/>
              </meta>
              <identifier>
                <use value="official"/>
                <type>
                  <coding>
                    <system value="https://hl7chile.cl/fhir/ig/clcore/CodeSystem/CSTipoIdentificador"/>
                    <code value="01"/>
                  </coding>
                </type>
                <system value="https://www.registrocivil.cl/run"/>
                <value value="12345678-K"/>
              </identifier>
              <identifier>
                <use value="usual"/>
                <type>
                  <coding>
                    <system value="https://hl7chile.cl/fhir/ig/clcore/CodeSystem/CSTipoIdentificador"/>
                    <code value="13"/>
                  </coding>
                </type>
                <system value="https://rnpi.superdesalud.gob.cl/#"/>
                <value value="987654"/>
              </identifier>
              <active value="true"/>
              <name>
                <use value="official"/>
                <family value="Gómez">
                  <extension url="https://hl7chile.cl/fhir/ig/clcore/StructureDefinition/SegundoApellido">
                    <valueString value="Perez"/>
                  </extension>
                </family>
                <given value="María"/>
                <given value="Laura"/>
              </name>
              <telecom>
                <system value="phone"/>
                <value value="+56 9 5555-1234"/>
                <use value="work"/>
              </telecom>
              <telecom>
                <system value="email"/>
                <value value="maria.perez@example.org"/>
                <use value="work"/>
              </telecom>
              <gender value="female"/>
              <birthDate value="1980-05-12"/>
              <qualification>
                <identifier>
                  <value value="cert"/>
                </identifier>
                <code>
                  <text value="Médica"/>
                </code>
              </qualification>
            </Practitioner>
          </resource>
        </entry>
        <entry>
          <fullUrl value="urn:uuid:5e1c2f0a-7b0d-4c55-9a43-0c1f6a1d0003"/>
          <resource>
            <Immunization>
              <id value="inmunizacion-1"/>
              <meta>
                <profile value="https://hl7chile.cl/fhir/ig/clips/StructureDefinition/Inmunizacion-cl-ips"/>
              </meta>
              <status value="completed"/>
              <vaccineCode>
                <coding>
                  <system value="http://hl7.org/fhir/sid/cvx"/>
                  <code value="207"/>
                  <display value="COVID-19, mRNA, LNP-S, PF, 100 mcg/0.5mL dose or 50 mcg/0.25mL dose"/>
                </coding>
              </vaccineCode>
              <patient>
                <reference value="urn:uuid:991a7102-d221-498d-9157-c4192934e3b7"/>
                <display value="Pablo Fernandez Perez"/>
              </patient>
              <occurrenceDateTime value="2024-05-10"/>
              <primarySource value="true"/>
              <location>
                <identifier>
                  <system value="http://refes.msal.gob.ar"/>
                  <value value="REFES-0001"/>
                </identifier>
                <display value="Centro de Salud de Ejemplo"/>
              </location>
              <lotNumber value="L240510A"/>
              <reasonCode>
                <text value="Calendario nacional de vacunación"/>
              </reasonCode>
              <protocolApplied>
                <doseNumberPositiveInt value="1"/>
              </protocolApplied>
            </Immunization>
          </resource>
        </entry>
        <entry>
          <fullUrl value="urn:uuid:5e1c2f0a-7b0d-4c55-9a43-0c1f6a1d0004"/>
          <resource>
            <Condition>
              <id value="condicion-1"/>
              <meta>
                <profile value="https://hl7chile.cl/fhir/ig/clips/StructureDefinition/Condition-cl-ips"/>
              </meta>
              <clinicalStatus>
                <coding>
                  <system value="http://terminology.hl7.org/CodeSystem/condition-clinical"/>
                  <code value="active"/>
                  <display value="Active"/>
                </coding>
              </clinicalStatus>
              <verificationStatus>
                <coding>
                  <system value="http://terminology.hl7.org/CodeSystem/condition-ver-status"/>
                  <code value="confirmed"/>
                  <display value="Confirmed"/>
                </coding>
              </verificationStatus>
              <code>
                <coding>
                  <system value="http://snomed.info/sct"/>
                  <code value="38341003"/>
                  <display value="Hypertensive disorder, systemic arterial"/>
                </coding>
              </code>
              <subject>
                <reference value="urn:uuid:991a7102-d221-498d-9157-c4192934e3b7"/>
                <display value="Pablo Fernandez Perez"/>
              </subject>
              <onsetDateTime value="2020-01-01"/>
            </Condition>
          </resource>
        </entry>
        <entry>
          <fullUrl value="urn:uuid:5e1c2f0a-7b0d-4c55-9a43-0c1f6a1d0005"/>
          <resource>
            <MedicationStatement>
              <id value="medicacion-1"/>
              <meta>
                <profile value="https://hl7chile.cl/fhir/ig/clips/StructureDefinition/RegMedicamentos-cl-ips"/>
              </meta>
              <status value="active"/>
              <medicationCodeableConcept>
                <text value="Amlodipina 5 mg comprimido"/>
              </medicationCodeableConcept>
              <subject>
                <reference value="urn:uuid:991a7102-d221-498d-9157-c4192934e3b7"/>
                <display value="Pablo Fernandez Perez"/>
              </subject>
              <effectiveDateTime value="2026-07-06"/>
            </MedicationStatement>
          </resource>
        </entry>
        <entry>
          <fullUrl value="urn:uuid:5e1c2f0a-7b0d-4c55-9a43-0c1f6a1d0006"/>
          <resource>
            <AllergyIntolerance>
              <id value="alergia-1"/>
              <meta>
                <profile value="https://hl7chile.cl/fhir/ig/clips/StructureDefinition/AllergiaInt-cl-ips"/>
              </meta>
              <clinicalStatus>
                <coding>
                  <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"/>
                  <code value="active"/>
                  <display value="Active"/>
                </coding>
              </clinicalStatus>
              <verificationStatus>
                <coding>
                  <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-verification"/>
                  <code value="confirmed"/>
                  <display value="Confirmed"/>
                </coding>
              </verificationStatus>
              <code>
                <coding>
                  <system value="http://snomed.info/sct"/>
                  <code value="91936005"/>
                  <display value="Allergy to penicillin"/>
                </coding>
              </code>
              <patient>
                <reference value="urn:uuid:991a7102-d221-498d-9157-c4192934e3b7"/>
                <display value="Pablo Fernandez Perez"/>
              </patient>
              <onsetDateTime value="2018-03-15"/>
            </AllergyIntolerance>
          </resource>
        </entry>
      </Bundle>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Bundle"/>
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:991a7102-d221-498d-9157-c4192934e3b7"/>
    <resource>
      <Patient>
        <id value="Paciente-Interno"/>
        <meta>
          <profile value="https://hl7chile.cl/fhir/ig/clips/StructureDefinition/Paciente-cl-ips"/>
        </meta>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="Patient_Paciente-Interno"> </a><p class="res-header-id"><b>Generated Narrative: Patient Paciente-Interno</b></p><a name="Paciente-Interno"> </a><a name="hcPaciente-Interno"> </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="https://build.fhir.org/ig/HL7Chile/IPS-CL/StructureDefinition-Paciente-cl-ips.html">Paciente</a></p></div><p style="border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;">Pablo Fernandez Perez(official) Male, DoB: 1912-06-12 ( https://www.registrocivil.cl/run#99999999-9 (use: official))</p><hr/><table class="grid"><tr><td style="background-color: #f3f5da" title="Record is active">Active:</td><td colspan="3">true</td></tr><tr><td style="background-color: #f3f5da" title="Ways to contact the Patient">Contact Detail</td><td colspan="3">ph: 1141233100</td></tr></table></div>
        </text>
        <identifier>
          <use value="official"/>
          <system value="https://www.registrocivil.cl/run"/>
          <value value="99999999-9"/>
        </identifier>
        <active value="true"/>
        <name>
          <use value="official"/>
          <text value="Pablo Fernandez Perez"/>
          <family value="Fernandez">
            <extension url="https://hl7chile.cl/fhir/ig/clcore/StructureDefinition/SegundoApellido">
              <valueString value="Perez"/>
            </extension>
          </family>
          <given value="Pablo"/>
        </name>
        <telecom>
          <system value="phone"/>
          <value value="1141233100"/>
        </telecom>
        <gender value="male"/>
        <birthDate value="1912-06-12"/>
      </Patient>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Patient"/>
    </request>
  </entry>
</Bundle>