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