Guía de Implementación Core de Costa Rica
0.1.0 - ci-build Costa Rica bandera

Guía de Implementación Core de Costa Rica - Versión en desarrollo (v0.1.0): borrador de trabajo de la Iniciativa HL7® Costa Rica, que puede cambiar sin aviso.

: Envío de un informe al HIE

json bruto | Descargar

{
  "resourceType" : "Bundle",
  "id" : "ejemplo-envio-informe-imagenes",
  "meta" : {
    "profile" : [
      🔗 "https://hl7.or.cr/fhir/core/StructureDefinition/cr-bundle-envio-documentos"
    ]
  },
  "language" : "es",
  "type" : "transaction",
  "entry" : [
    {
      "fullUrl" : "urn:uuid:8a1d2c3b-4e5f-4a6b-9c7d-0e1f2a3b4c5d",
      "resource" : {
        "resourceType" : "List",
        "id" : "ejemplo-envio-lote",
        "meta" : {
          "profile" : [
            🔗 "https://hl7.or.cr/fhir/core/StructureDefinition/cr-list-lote-envio"
          ]
        },
        "language" : "es",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"List_ejemplo-envio-lote\"> </a><p class=\"res-header-id\"><b>Narrativa generada: List ejemplo-envio-lote</b></p><a name=\"ejemplo-envio-lote\"> </a><a name=\"hcejemplo-envio-lote\"> </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\">Perfil: <a href=\"StructureDefinition-cr-list-lote-envio.html\">Lote de envío</a></p></div><table class=\"clstu\"><tr><td>Date: 2026-09-30 10:31:00-0600 </td><td>Mode: Working List </td><td>Status: Current </td><td>Code: SubmissionSet as a FHIR List </td></tr><tr><td>Subject: <a href=\"Patient-ejemplo-paciente-dimex.html\">José Mendoza</a>Source: </td></tr></table><table class=\"grid\"><tr style=\"backgound-color: #eeeeee\"><td><b>Items</b></td></tr><tr><td><a href=\"Bundle-ejemplo-envio-informe-imagenes.html#urn-uuid-5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e\">DocumentReference: identifier = UUID:3f6b1c2a-9d4e-4b7a-8c1f-2e5d6a7b8c90,https://hl7.or.cr/fhir/sid/documento/cj-3101123456#INF-IMG-2026-000871; version = 1; status = current; modality = Magnetic Resonance; type = Informe de estudio:No especificado :Punto temporal:Tipo:Documento:Diagnostic imaging; category = Report; period = 2026-09-30 08:15:00-0600 --&gt; 2026-09-30 08:55:00-0600; date = 2026-09-30 10:30:00-0600; securityLabel = normal</a></td></tr></table></div>"
        },
        "identifier" : [
          {
            "system" : "urn:ietf:rfc:3986",
            "value" : "urn:uuid:8a1d2c3b-4e5f-4a6b-9c7d-0e1f2a3b4c5d"
          }
        ],
        "status" : "current",
        "mode" : "working",
        "code" : {
          "coding" : [
            {
              "system" : "https://profiles.ihe.net/ITI/MHD/CodeSystem/MHDlistTypes",
              "code" : "submissionset"
            }
          ]
        },
        "subject" : [
          {
            🔗 "reference" : "Patient/ejemplo-paciente-dimex",
            "display" : "José Mendoza"
          }
        ],
        "date" : "2026-09-30T10:31:00-06:00",
        "source" : {
          🔗 "reference" : "Organization/ejemplo-establecimiento",
          "display" : "Hospital Privado de Ejemplo"
        },
        "entry" : [
          {
            "item" : {
              "reference" : "urn:uuid:5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e"
            }
          }
        ]
      },
      "request" : {
        "method" : "POST",
        "url" : "List"
      }
    },
    {
      "fullUrl" : "urn:uuid:5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e",
      "resource" : {
        "resourceType" : "DocumentReference",
        "id" : "ejemplo-envio-referencia",
        "meta" : {
          "profile" : [
            🔗 "https://hl7.or.cr/fhir/core/StructureDefinition/cr-documentreference"
          ],
          "security" : [
            {
              "system" : "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
              "code" : "N",
              "display" : "normal"
            }
          ]
        },
        "language" : "es",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"DocumentReference_ejemplo-envio-referencia\"> </a><p class=\"res-header-id\"><b>Narrativa generada: DocumentReference ejemplo-envio-referencia</b></p><a name=\"ejemplo-envio-referencia\"> </a><a name=\"hcejemplo-envio-referencia\"> </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\">Perfil: <a href=\"StructureDefinition-cr-documentreference.html\">Referencia a documento</a></p><p style=\"margin-bottom: 0px\">Security Label: <a href=\"http://terminology.hl7.org/7.4.0/CodeSystem-v3-Confidentiality.html\">normal (Details: Confidentiality code N = 'normal')</a></p></div><p><b>identifier</b>: <a href=\"http://terminology.hl7.org/7.1.0/NamingSystem-uri.html\" title=\"As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase) and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.txt \r\n\r\nThis oid is used as an identifier II.root to indicate the the extension is an absolute URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid or urn:uuid: \r\n\r\nNote that this OID is created to aid with interconversion between CDA and FHIR - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear more commonly in FHIR.\r\n\r\nThis OID may also be used in CD.codeSystem.\">Uniform Resource Identifier (URI)</a>/urn:uuid:3f6b1c2a-9d4e-4b7a-8c1f-2e5d6a7b8c90, <code>https://hl7.or.cr/fhir/sid/documento/cj-3101123456</code>/INF-IMG-2026-000871</p><p><b>version</b>: 1</p><p><b>status</b>: Current</p><p><b>modality</b>: <span title=\"Códigos:{http://dicom.nema.org/resources/ontology/DCM MR}\">Magnetic Resonance</span></p><p><b>type</b>: <span title=\"Códigos:{http://loinc.org 18748-4}\">Informe de imágenes médicas</span></p><p><b>category</b>: <span title=\"Códigos:{http://loinc.org LP173421-1}\">Informe</span></p><p><b>subject</b>: <a href=\"Patient-ejemplo-paciente-dimex.html\">José Mendoza</a></p><p><b>context</b>: <a href=\"Encounter-ejemplo-atencion-resonancia.html\">Resonancia magnética</a></p><p><b>period</b>: 2026-09-30 08:15:00-0600 --&gt; 2026-09-30 08:55:00-0600</p><p><b>date</b>: 2026-09-30 10:30:00-0600</p><p><b>author</b>: <a href=\"PractitionerRole-ejemplo-rol-radiologia.html\">Carlos Jiménez Solano</a></p><h3>Attesters</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Mode</b></td><td><b>Time</b></td><td><b>Party</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Códigos:{http://hl7.org/fhir/composition-attestation-mode legal}\">Legal</span></td><td>2026-09-30 10:25:00-0600</td><td><a href=\"PractitionerRole-ejemplo-rol-radiologia.html\">Carlos Jiménez Solano</a></td></tr></table><p><b>custodian</b>: <a href=\"Organization-ejemplo-establecimiento.html\">Hospital Privado de Ejemplo</a></p><p><b>securityLabel</b>: <span title=\"Códigos:{http://terminology.hl7.org/CodeSystem/v3-Confidentiality N}\">normal</span></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>Language</b></td><td><b>Url</b></td><td><b>Creation</b></td></tr><tr><td style=\"display: none\">*</td><td>application/fhir+json</td><td>Español</td><td><a href=\"Bundle-ejemplo-envio-informe-imagenes.html#https-//hie.example.cr/fhir/Bundle/ejemplo-bundle-documento-imagenes\">Bundle: identifier = UUID:3f6b1c2a-9d4e-4b7a-8c1f-2e5d6a7b8c90; type = document; timestamp = 2026-09-30 10:26:00-0600</a></td><td>2026-09-30 10:20:00-0600</td></tr></table><h3>Profiles</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"StructureDefinition-cr-bundle-documento.html\">Documento clínico (Bundle)</a></td></tr></table></blockquote></div>"
        },
        "identifier" : [
          {
            "system" : "urn:ietf:rfc:3986",
            "value" : "urn:uuid:3f6b1c2a-9d4e-4b7a-8c1f-2e5d6a7b8c90"
          },
          {
            "system" : "https://hl7.or.cr/fhir/sid/documento/cj-3101123456",
            "value" : "INF-IMG-2026-000871"
          }
        ],
        "version" : "1",
        "status" : "current",
        "modality" : [
          {
            "coding" : [
              {
                "system" : "http://dicom.nema.org/resources/ontology/DCM",
                "code" : "MR",
                "display" : "Magnetic Resonance"
              }
            ]
          }
        ],
        "type" : {
          "coding" : [
            {
              "system" : "http://loinc.org",
              "code" : "18748-4"
            }
          ],
          "text" : "Informe de imágenes médicas"
        },
        "category" : [
          {
            "coding" : [
              {
                "system" : "http://loinc.org",
                "code" : "LP173421-1"
              }
            ],
            "text" : "Informe"
          }
        ],
        "subject" : {
          🔗 "reference" : "Patient/ejemplo-paciente-dimex",
          "display" : "José Mendoza"
        },
        "context" : [
          {
            🔗 "reference" : "Encounter/ejemplo-atencion-resonancia",
            "display" : "Resonancia magnética"
          }
        ],
        "period" : {
          "start" : "2026-09-30T08:15:00-06:00",
          "end" : "2026-09-30T08:55:00-06:00"
        },
        "date" : "2026-09-30T10:30:00-06:00",
        "author" : [
          {
            🔗 "reference" : "PractitionerRole/ejemplo-rol-radiologia",
            "display" : "Carlos Jiménez Solano"
          }
        ],
        "attester" : [
          {
            "mode" : {
              "coding" : [
                {
                  "system" : "http://hl7.org/fhir/composition-attestation-mode",
                  "code" : "legal",
                  "display" : "Legal"
                }
              ]
            },
            "time" : "2026-09-30T10:25:00-06:00",
            "party" : {
              🔗 "reference" : "PractitionerRole/ejemplo-rol-radiologia",
              "display" : "Carlos Jiménez Solano"
            }
          }
        ],
        "custodian" : {
          🔗 "reference" : "Organization/ejemplo-establecimiento",
          "display" : "Hospital Privado de Ejemplo"
        },
        "securityLabel" : [
          {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
                "code" : "N",
                "display" : "normal"
              }
            ]
          }
        ],
        "content" : [
          {
            "attachment" : {
              "contentType" : "application/fhir+json",
              "language" : "es",
              "url" : "https://hie.example.cr/fhir/Bundle/ejemplo-bundle-documento-imagenes",
              "creation" : "2026-09-30T10:20:00-06:00"
            },
            "profile" : [
              {
                "valueCanonical" : "https://hl7.or.cr/fhir/core/StructureDefinition/cr-bundle-documento"
              }
            ]
          }
        ]
      },
      "request" : {
        "method" : "POST",
        "url" : "DocumentReference"
      }
    },
    {
      "fullUrl" : "https://hie.example.cr/fhir/Bundle/ejemplo-bundle-documento-imagenes",
      "resource" : {
        "resourceType" : "Bundle",
        "id" : "ejemplo-bundle-documento-imagenes",
        "meta" : {
          "profile" : [
            🔗 "https://hl7.or.cr/fhir/core/StructureDefinition/cr-bundle-documento"
          ],
          "security" : [
            {
              "system" : "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
              "code" : "N",
              "display" : "normal"
            }
          ]
        },
        "language" : "es",
        "identifier" : {
          "system" : "urn:ietf:rfc:3986",
          "value" : "urn:uuid:3f6b1c2a-9d4e-4b7a-8c1f-2e5d6a7b8c90"
        },
        "type" : "document",
        "timestamp" : "2026-09-30T10:26:00-06:00",
        "entry" : [
          {
            "fullUrl" : "https://hl7.or.cr/fhir/core/Composition/ejemplo-documento-imagenes",
            "resource" : {
              "resourceType" : "Composition",
              "id" : "ejemplo-documento-imagenes",
              "meta" : {
                "profile" : [
                  🔗 "https://hl7.or.cr/fhir/core/StructureDefinition/cr-composition"
                ],
                "security" : [
                  {
                    "system" : "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
                    "code" : "N",
                    "display" : "normal"
                  }
                ]
              },
              "language" : "es",
              "identifier" : [
                {
                  "system" : "https://hl7.or.cr/fhir/sid/documento/cj-3101123456",
                  "value" : "INF-IMG-2026-000871"
                }
              ],
              "version" : "1",
              "status" : "final",
              "type" : {
                "coding" : [
                  {
                    "system" : "http://loinc.org",
                    "code" : "18748-4"
                  }
                ],
                "text" : "Informe de imágenes médicas"
              },
              "subject" : [
                {
                  🔗 "reference" : "Patient/ejemplo-paciente-dimex",
                  "display" : "José Mendoza"
                }
              ],
              "encounter" : {
                🔗 "reference" : "Encounter/ejemplo-atencion-resonancia",
                "display" : "Resonancia magnética"
              },
              "date" : "2026-09-30T10:20:00-06:00",
              "author" : [
                {
                  🔗 "reference" : "PractitionerRole/ejemplo-rol-radiologia",
                  "display" : "Carlos Jiménez Solano"
                }
              ],
              "title" : "Informe de resonancia magnética de rodilla derecha",
              "attester" : [
                {
                  "mode" : {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/composition-attestation-mode",
                        "code" : "legal",
                        "display" : "Legal"
                      }
                    ]
                  },
                  "time" : "2026-09-30T10:25:00-06:00",
                  "party" : {
                    🔗 "reference" : "PractitionerRole/ejemplo-rol-radiologia",
                    "display" : "Carlos Jiménez Solano"
                  }
                }
              ],
              "custodian" : {
                🔗 "reference" : "Organization/ejemplo-establecimiento",
                "display" : "Hospital Privado de Ejemplo"
              },
              "section" : [
                {
                  "title" : "Hallazgos",
                  "code" : {
                    "coding" : [
                      {
                        "system" : "http://loinc.org",
                        "code" : "59776-5"
                      }
                    ]
                  },
                  "text" : {
                    "status" : "generated",
                    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Ruptura parcial del ligamento cruzado anterior. Menisco medial sin alteraciones.</div>"
                  }
                },
                {
                  "title" : "Conclusión",
                  "code" : {
                    "coding" : [
                      {
                        "system" : "http://loinc.org",
                        "code" : "19005-8"
                      }
                    ]
                  },
                  "text" : {
                    "status" : "generated",
                    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Ruptura parcial del ligamento cruzado anterior.</div>"
                  }
                }
              ]
            }
          },
          {
            "fullUrl" : "https://hl7.or.cr/fhir/core/Patient/ejemplo-paciente-dimex",
            "resource" : {
              "resourceType" : "Patient",
              "id" : "ejemplo-paciente-dimex",
              "meta" : {
                "profile" : [
                  🔗 "https://hl7.or.cr/fhir/core/StructureDefinition/cr-patient"
                ]
              },
              "language" : "es",
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "code",
                      "valueCodeableConcept" : {
                        "coding" : [
                          {
                            "system" : "urn:iso:std:iso:3166",
                            "code" : "NIC"
                          }
                        ],
                        "text" : "Nicaragua"
                      }
                    }
                  ],
                  "url" : "http://hl7.org/fhir/StructureDefinition/patient-nationality"
                }
              ],
              "identifier" : [
                {
                  "use" : "official",
                  "type" : {
                    "coding" : [
                      {
                        "system" : "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-identificacion",
                        "code" : "dimex",
                        "display" : "DIMEX"
                      },
                      {
                        "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                        "code" : "PRC",
                        "display" : "Permanent Resident Card Number"
                      }
                    ]
                  },
                  "system" : "https://hl7.or.cr/fhir/sid/dimex",
                  "value" : "155812345678"
                },
                {
                  "use" : "official",
                  "system" : "https://hl7.or.cr/fhir/sid/pasaporte/NIC",
                  "value" : "C01234567",
                  "assigner" : {
                    "display" : "Nicaragua"
                  }
                }
              ],
              "active" : true,
              "name" : [
                {
                  "use" : "official",
                  "family" : "Mendoza",
                  "_family" : {
                    "extension" : [
                      {
                        "extension" : [
                          {
                            "url" : "valor",
                            "valueString" : "Mendoza"
                          },
                          {
                            "url" : "origen",
                            "valueCoding" : {
                              "system" : "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
                              "code" : "FTH",
                              "display" : "father"
                            }
                          }
                        ],
                        "url" : "https://hl7.or.cr/fhir/core/StructureDefinition/cr-primer-apellido"
                      }
                    ]
                  },
                  "given" : [
                    "José"
                  ]
                }
              ],
              "telecom" : [
                {
                  "system" : "phone",
                  "value" : "+50670001122"
                }
              ],
              "gender" : "male",
              "birthDate" : "1984-11-02",
              "address" : [
                {
                  "use" : "home",
                  "text" : "Calle 3, 100 metros al este de la rotonda, apartamento 4, San Pedro, Montes de Oca, San José",
                  "line" : [
                    "Calle 3, 100 metros al este de la rotonda, apartamento 4"
                  ],
                  "city" : "115",
                  "district" : "11501",
                  "state" : "1",
                  "country" : "CRI"
                }
              ]
            }
          },
          {
            "fullUrl" : "https://hl7.or.cr/fhir/core/Encounter/ejemplo-atencion-resonancia",
            "resource" : {
              "resourceType" : "Encounter",
              "id" : "ejemplo-atencion-resonancia",
              "meta" : {
                "profile" : [
                  🔗 "https://hl7.or.cr/fhir/core/StructureDefinition/cr-encounter"
                ]
              },
              "language" : "es",
              "identifier" : [
                {
                  "system" : "https://hl7.or.cr/fhir/sid/atencion/cj-3101123456",
                  "value" : "IMG-2026-000871"
                }
              ],
              "status" : "completed",
              "class" : [
                {
                  "coding" : [
                    {
                      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
                      "code" : "AMB",
                      "display" : "ambulatory"
                    }
                  ],
                  "text" : "Ambulatoria"
                }
              ],
              "serviceType" : [
                {
                  "concept" : {
                    "coding" : [
                      {
                        "system" : "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-servicio-salud",
                        "code" : "imagenes-medicas",
                        "display" : "Imágenes médicas"
                      }
                    ]
                  },
                  "reference" : {
                    🔗 "reference" : "HealthcareService/ejemplo-servicio-resonancia",
                    "display" : "Resonancia magnética"
                  }
                }
              ],
              "subject" : {
                "identifier" : {
                  "system" : "https://hl7.or.cr/fhir/sid/dimex",
                  "value" : "155812345678"
                },
                "display" : "José Mendoza"
              },
              "serviceProvider" : {
                🔗 "reference" : "Organization/ejemplo-establecimiento",
                "display" : "Hospital Privado de Ejemplo"
              },
              "participant" : [
                {
                  "type" : [
                    {
                      "coding" : [
                        {
                          "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                          "code" : "ATND",
                          "display" : "attender"
                        }
                      ],
                      "text" : "Responsable de la atención"
                    }
                  ],
                  "actor" : {
                    🔗 "reference" : "PractitionerRole/ejemplo-rol-radiologia",
                    "display" : "Carlos Jiménez Solano"
                  }
                }
              ],
              "actualPeriod" : {
                "start" : "2026-09-30T08:15:00-06:00",
                "end" : "2026-09-30T08:55:00-06:00"
              },
              "location" : [
                {
                  "location" : {
                    🔗 "reference" : "Location/ejemplo-ubicacion-radiologia",
                    "display" : "Servicio de Radiología"
                  }
                }
              ]
            }
          },
          {
            "fullUrl" : "https://hl7.or.cr/fhir/core/PractitionerRole/ejemplo-rol-radiologia",
            "resource" : {
              "resourceType" : "PractitionerRole",
              "id" : "ejemplo-rol-radiologia",
              "meta" : {
                "profile" : [
                  🔗 "https://hl7.or.cr/fhir/core/StructureDefinition/cr-practitioner-role"
                ]
              },
              "language" : "es",
              "identifier" : [
                {
                  "system" : "https://hl7.or.cr/fhir/sid/rol/cj-3101123456",
                  "value" : "MED-0345"
                }
              ],
              "active" : true,
              "period" : {
                "start" : "2024-02-01"
              },
              "practitioner" : {
                🔗 "reference" : "Practitioner/ejemplo-profesional-radiologia",
                "display" : "Carlos Jiménez Solano"
              },
              "organization" : {
                🔗 "reference" : "Organization/ejemplo-establecimiento",
                "display" : "Hospital Privado de Ejemplo"
              },
              "code" : [
                {
                  "coding" : [
                    {
                      "system" : "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-profesion-salud",
                      "code" : "medicina",
                      "display" : "Medicina"
                    }
                  ]
                }
              ],
              "specialty" : [
                {
                  "coding" : [
                    {
                      "system" : "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-especialidad-salud",
                      "code" : "06.05.01",
                      "display" : "Medicina con especialidad en Radiología e Imágenes Médicas"
                    }
                  ]
                }
              ],
              "location" : [
                {
                  🔗 "reference" : "Location/ejemplo-ubicacion-radiologia",
                  "display" : "Servicio de Radiología"
                }
              ],
              "contact" : [
                {
                  "telecom" : [
                    {
                      "system" : "phone",
                      "value" : "+50622220000;ext=2110"
                    },
                    {
                      "system" : "email",
                      "value" : "radiologia@hospital-ejemplo.cr"
                    }
                  ]
                }
              ]
            }
          },
          {
            "fullUrl" : "https://hl7.or.cr/fhir/core/Practitioner/ejemplo-profesional-radiologia",
            "resource" : {
              "resourceType" : "Practitioner",
              "id" : "ejemplo-profesional-radiologia",
              "meta" : {
                "profile" : [
                  🔗 "https://hl7.or.cr/fhir/core/StructureDefinition/cr-practitioner"
                ]
              },
              "language" : "es",
              "identifier" : [
                {
                  "use" : "official",
                  "type" : {
                    "coding" : [
                      {
                        "system" : "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-identificacion",
                        "code" : "cedula-nacional",
                        "display" : "Cédula Nacional"
                      },
                      {
                        "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                        "code" : "NI",
                        "display" : "National unique individual identifier"
                      }
                    ]
                  },
                  "system" : "https://hl7.or.cr/fhir/sid/cedula-nacional",
                  "value" : "204560789"
                },
                {
                  "use" : "official",
                  "type" : {
                    "coding" : [
                      {
                        "system" : "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-identificacion",
                        "code" : "codigo-colegiado",
                        "display" : "Código de colegiado"
                      },
                      {
                        "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                        "code" : "LN",
                        "display" : "License number"
                      }
                    ]
                  },
                  "system" : "https://hl7.or.cr/fhir/sid/colegiado/cmc",
                  "value" : "23456"
                }
              ],
              "active" : true,
              "name" : [
                {
                  "use" : "official",
                  "family" : "Jiménez Solano",
                  "_family" : {
                    "extension" : [
                      {
                        "extension" : [
                          {
                            "url" : "valor",
                            "valueString" : "Jiménez"
                          }
                        ],
                        "url" : "https://hl7.or.cr/fhir/core/StructureDefinition/cr-primer-apellido"
                      },
                      {
                        "extension" : [
                          {
                            "url" : "valor",
                            "valueString" : "Solano"
                          }
                        ],
                        "url" : "https://hl7.or.cr/fhir/core/StructureDefinition/cr-segundo-apellido"
                      }
                    ]
                  },
                  "given" : [
                    "Carlos"
                  ]
                }
              ],
              "gender" : "male",
              "qualification" : [
                {
                  "identifier" : [
                    {
                      "system" : "https://hl7.or.cr/fhir/sid/colegiado/cmc",
                      "value" : "23456"
                    }
                  ],
                  "code" : {
                    "coding" : [
                      {
                        "system" : "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-profesion-salud",
                        "code" : "medicina",
                        "display" : "Medicina"
                      }
                    ]
                  },
                  "period" : {
                    "start" : "2008-02-20"
                  },
                  "issuer" : {
                    🔗 "reference" : "Organization/ejemplo-organizacion-cmc",
                    "display" : "Colegio de Médicos y Cirujanos de Costa Rica"
                  }
                },
                {
                  "identifier" : [
                    {
                      "system" : "https://hl7.or.cr/fhir/sid/especialidad/cmc",
                      "value" : "ESP-0345"
                    }
                  ],
                  "code" : {
                    "coding" : [
                      {
                        "system" : "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-especialidad-salud",
                        "code" : "06.05.01",
                        "display" : "Medicina con especialidad en Radiología e Imágenes Médicas"
                      }
                    ]
                  },
                  "period" : {
                    "start" : "2014-07-01"
                  },
                  "issuer" : {
                    🔗 "reference" : "Organization/ejemplo-organizacion-cmc",
                    "display" : "Colegio de Médicos y Cirujanos de Costa Rica"
                  }
                }
              ],
              "communication" : [
                {
                  "language" : {
                    "coding" : [
                      {
                        "system" : "urn:ietf:bcp:47",
                        "code" : "es",
                        "display" : "español"
                      }
                    ]
                  },
                  "preferred" : true
                },
                {
                  "language" : {
                    "coding" : [
                      {
                        "system" : "urn:ietf:bcp:47",
                        "code" : "en",
                        "display" : "inglés"
                      }
                    ]
                  }
                }
              ]
            }
          },
          {
            "fullUrl" : "https://hl7.or.cr/fhir/core/Organization/ejemplo-establecimiento",
            "resource" : {
              "resourceType" : "Organization",
              "id" : "ejemplo-establecimiento",
              "meta" : {
                "profile" : [
                  🔗 "https://hl7.or.cr/fhir/core/StructureDefinition/cr-organization"
                ]
              },
              "language" : "es",
              "identifier" : [
                {
                  "use" : "official",
                  "type" : {
                    "coding" : [
                      {
                        "system" : "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-identificacion-organizacion",
                        "code" : "cedula-juridica",
                        "display" : "Cédula Jurídica"
                      },
                      {
                        "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                        "code" : "XX",
                        "display" : "Organization identifier"
                      }
                    ]
                  },
                  "system" : "https://hl7.or.cr/fhir/sid/cedula-juridica",
                  "value" : "3101123456"
                },
                {
                  "use" : "official",
                  "type" : {
                    "coding" : [
                      {
                        "system" : "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-identificacion-organizacion",
                        "code" : "codigo-establecimiento",
                        "display" : "Código de establecimiento"
                      },
                      {
                        "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                        "code" : "FI",
                        "display" : "Facility ID"
                      }
                    ]
                  },
                  "system" : "https://hl7.or.cr/fhir/sid/establecimiento",
                  "value" : "cj-3101123456"
                }
              ],
              "active" : true,
              "type" : [
                {
                  "coding" : [
                    {
                      "system" : "http://terminology.hl7.org/CodeSystem/organization-type",
                      "code" : "prov",
                      "display" : "Healthcare Provider"
                    }
                  ],
                  "text" : "Prestador de servicios de salud"
                },
                {
                  "coding" : [
                    {
                      "system" : "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-establecimiento-salud",
                      "code" : "hospital-nacional-privado"
                    }
                  ]
                },
                {
                  "coding" : [
                    {
                      "system" : "https://profiles.ihe.net/ITI/mCSD/CodeSystem/IHE.mCSD.Organization.Location.Types",
                      "code" : "facility",
                      "display" : "Facility"
                    }
                  ]
                }
              ],
              "name" : "Hospital Privado de Ejemplo Sociedad Anónima",
              "alias" : [
                "Hospital Privado de Ejemplo"
              ],
              "contact" : [
                {
                  "telecom" : [
                    {
                      "system" : "phone",
                      "value" : "+50622220000"
                    },
                    {
                      "system" : "email",
                      "value" : "info@hospital-ejemplo.cr"
                    },
                    {
                      "system" : "url",
                      "value" : "https://www.hospital-ejemplo.cr"
                    }
                  ],
                  "address" : {
                    "text" : "Avenida 2, entre calles 5 y 7, Carmen, San José, San José",
                    "line" : [
                      "Avenida 2, entre calles 5 y 7"
                    ],
                    "city" : "101",
                    "district" : "10101",
                    "state" : "1",
                    "country" : "CRI"
                  }
                }
              ],
              "qualification" : [
                {
                  "identifier" : [
                    {
                      "value" : "PF-2026-000123"
                    }
                  ],
                  "code" : {
                    "coding" : [
                      {
                        "system" : "https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-autorizacion-salud",
                        "code" : "permiso-funcionamiento-salud",
                        "display" : "Permiso de Funcionamiento de Salud"
                      }
                    ]
                  },
                  "period" : {
                    "start" : "2026-01-15",
                    "end" : "2031-01-14"
                  },
                  "issuer" : {
                    🔗 "reference" : "Organization/ejemplo-organizacion-ministerio-salud",
                    "display" : "Ministerio de Salud"
                  }
                }
              ]
            }
          }
        ]
      },
      "request" : {
        "method" : "PUT",
        "url" : "Bundle/ejemplo-bundle-documento-imagenes"
      }
    },
    {
      "fullUrl" : "urn:uuid:7c1e2d3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
      "resource" : {
        "resourceType" : "Provenance",
        "id" : "ejemplo-firma-documento-imagenes",
        "meta" : {
          "profile" : [
            🔗 "https://hl7.or.cr/fhir/core/StructureDefinition/cr-provenance-firma-documento"
          ]
        },
        "language" : "es",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Provenance_ejemplo-firma-documento-imagenes\"> </a><p class=\"res-header-id\"><b>Narrativa generada: Provenance ejemplo-firma-documento-imagenes</b></p><a name=\"ejemplo-firma-documento-imagenes\"> </a><a name=\"hcejemplo-firma-documento-imagenes\"> </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\">Perfil: <a href=\"StructureDefinition-cr-provenance-firma-documento.html\">Firma del documento clínico</a></p></div><p>Provenance for <a href=\"Bundle-ejemplo-bundle-documento-imagenes.html\">Documento completo del informe de imágenes médicas (D1), versión 1</a></p><p>Resumen</p><table class=\"grid\"><tr><td>Recorded</td><td>2026-09-30 10:27:05-0600</td></tr><tr><td>Activity</td><td><span title=\"Códigos:{http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle attest}\">Attest Record Lifecycle Event</span></td></tr></table><p><b>Agents</b></p><table class=\"grid\"><tr><td><b>Tipo</b></td><td><b>who</b></td></tr><tr><td><span title=\"Códigos:{http://terminology.hl7.org/CodeSystem/provenance-participant-type assembler}\">Assembler</span></td><td><a href=\"Device-ejemplo-sistema-hce-hospital.html\">Expediente electrónico del hospital</a></td></tr><tr><td><span title=\"Códigos:{http://terminology.hl7.org/CodeSystem/provenance-participant-type attester}\">Attester</span></td><td><a href=\"PractitionerRole-ejemplo-rol-radiologia.html\">Carlos Jiménez Solano</a></td></tr></table></div>"
        },
        "target" : [
          {
            "reference" : "Bundle/ejemplo-bundle-documento-imagenes/_history/1",
            "display" : "Documento completo del informe de imágenes médicas (D1), versión 1"
          }
        ],
        "recorded" : "2026-09-30T10:27:05-06:00",
        "activity" : {
          "coding" : [
            {
              "system" : "http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle",
              "code" : "attest"
            }
          ]
        },
        "patient" : {
          🔗 "reference" : "Patient/ejemplo-paciente-dimex",
          "display" : "José Mendoza"
        },
        "agent" : [
          {
            "type" : {
              "coding" : [
                {
                  "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                  "code" : "assembler",
                  "display" : "Assembler"
                }
              ]
            },
            "who" : {
              🔗 "reference" : "Device/ejemplo-sistema-hce-hospital",
              "display" : "Expediente electrónico del hospital"
            }
          },
          {
            "type" : {
              "coding" : [
                {
                  "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                  "code" : "attester",
                  "display" : "Attester"
                }
              ]
            },
            "who" : {
              🔗 "reference" : "PractitionerRole/ejemplo-rol-radiologia",
              "display" : "Carlos Jiménez Solano"
            }
          }
        ],
        "signature" : [
          {
            "type" : [
              {
                "system" : "urn:iso-astm:E1762-95:2013",
                "code" : "1.2.840.10065.1.12.1.1",
                "display" : "Author's Signature"
              }
            ],
            "when" : "2026-09-30T10:26:30-06:00",
            "who" : {
              🔗 "reference" : "PractitionerRole/ejemplo-rol-radiologia",
              "display" : "Carlos Jiménez Solano"
            },
            "targetFormat" : "application/fhir+json",
            "sigFormat" : "application/jose+json",
            "data" : "eyJzaWduYXR1cmVzIjpbeyJwcm90ZWN0ZWQiOiJleUpoYkdjaU9pSlNVekkxTmlJc0ltTjBlU0k2SW1wemIyNGlMQ0owZVhBaU9pSnFiM05sSzJwemIyNGlmUSIsInNpZ25hdHVyZSI6IlpXcGxiWEJzYncifV19"
          }
        ]
      },
      "request" : {
        "method" : "POST",
        "url" : "Provenance"
      }
    },
    {
      "fullUrl" : "urn:uuid:8d2f3e4a-5b6c-4d7e-9f8a-0b1c2d3e4f5a",
      "resource" : {
        "resourceType" : "Provenance",
        "id" : "ejemplo-sello-documento-imagenes",
        "meta" : {
          "profile" : [
            🔗 "https://hl7.or.cr/fhir/core/StructureDefinition/cr-provenance-firma-documento"
          ]
        },
        "language" : "es",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Provenance_ejemplo-sello-documento-imagenes\"> </a><p class=\"res-header-id\"><b>Narrativa generada: Provenance ejemplo-sello-documento-imagenes</b></p><a name=\"ejemplo-sello-documento-imagenes\"> </a><a name=\"hcejemplo-sello-documento-imagenes\"> </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\">Perfil: <a href=\"StructureDefinition-cr-provenance-firma-documento.html\">Firma del documento clínico</a></p></div><p>Provenance for <a href=\"Bundle-ejemplo-bundle-documento-imagenes.html\">Documento completo del informe de imágenes médicas (D1), versión 1</a></p><p>Resumen</p><table class=\"grid\"><tr><td>Recorded</td><td>2026-09-30 10:27:10-0600</td></tr><tr><td>Activity</td><td><span title=\"Códigos:{http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle attest}\">Attest Record Lifecycle Event</span></td></tr></table><p><b>Agents</b></p><table class=\"grid\"><tr><td><b>Tipo</b></td><td><b>who</b></td></tr><tr><td><span title=\"Códigos:{http://terminology.hl7.org/CodeSystem/provenance-participant-type assembler}\">Assembler</span></td><td><a href=\"Device-ejemplo-sistema-hce-hospital.html\">Expediente electrónico del hospital</a></td></tr><tr><td><span title=\"Códigos:{http://terminology.hl7.org/CodeSystem/provenance-participant-type attester}\">Attester</span></td><td><a href=\"Organization-ejemplo-establecimiento.html\">Hospital Privado de Ejemplo</a></td></tr></table></div>"
        },
        "target" : [
          {
            "reference" : "Bundle/ejemplo-bundle-documento-imagenes/_history/1",
            "display" : "Documento completo del informe de imágenes médicas (D1), versión 1"
          }
        ],
        "recorded" : "2026-09-30T10:27:10-06:00",
        "activity" : {
          "coding" : [
            {
              "system" : "http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle",
              "code" : "attest"
            }
          ]
        },
        "patient" : {
          🔗 "reference" : "Patient/ejemplo-paciente-dimex",
          "display" : "José Mendoza"
        },
        "agent" : [
          {
            "type" : {
              "coding" : [
                {
                  "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                  "code" : "assembler",
                  "display" : "Assembler"
                }
              ]
            },
            "who" : {
              🔗 "reference" : "Device/ejemplo-sistema-hce-hospital",
              "display" : "Expediente electrónico del hospital"
            }
          },
          {
            "type" : {
              "coding" : [
                {
                  "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                  "code" : "attester",
                  "display" : "Attester"
                }
              ]
            },
            "who" : {
              🔗 "reference" : "Organization/ejemplo-establecimiento",
              "display" : "Hospital Privado de Ejemplo"
            }
          }
        ],
        "signature" : [
          {
            "type" : [
              {
                "system" : "urn:iso-astm:E1762-95:2013",
                "code" : "1.2.840.10065.1.12.1.14",
                "display" : "Source Signature"
              }
            ],
            "when" : "2026-09-30T10:27:00-06:00",
            "who" : {
              🔗 "reference" : "Organization/ejemplo-establecimiento",
              "display" : "Hospital Privado de Ejemplo"
            },
            "targetFormat" : "application/fhir+json",
            "sigFormat" : "application/jose+json",
            "data" : "eyJzaWduYXR1cmVzIjpbeyJwcm90ZWN0ZWQiOiJleUpoYkdjaU9pSlNVekkxTmlJc0ltTjBlU0k2SW1wemIyNGlMQ0owZVhBaU9pSnFiM05sSzJwemIyNGlmUSIsInNpZ25hdHVyZSI6ImMyVnNiRzgifV19"
          }
        ]
      },
      "request" : {
        "method" : "POST",
        "url" : "Provenance"
      }
    }
  ]
}