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.

: Repositorio de auditoría

Estado de las normas de la página: Draft

json bruto | Descargar

{
  "resourceType" : "CapabilityStatement",
  "id" : "cr-repositorio-auditoria",
  "language" : "es",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Narrativa generada: CapabilityStatement cr-repositorio-auditoria</b></p><a name=\"cr-repositorio-auditoria\"> </a><a name=\"hccr-repositorio-auditoria\"> </a><h2 id=\"title\">Repositorio de auditoría</h2><ul><li>Implementation Guide Version: 0.1.0 </li><li>FHIR Version: 5.0.0 </li><li>Supported Formats: <code>json</code>, <code>xml</code></li><li>Published on: 2026-10-05 </li><li>Published by: Iniciativa HL7 Costa Rica </li></ul><blockquote class=\"impl-note\"><p><strong>Note to Implementers: FHIR Capabilities</strong></p><p>Any FHIR capability may be 'allowed' by the system unless explicitly marked as 'SHALL NOT'. A few items are marked as MAY in the Implementation Guide to highlight their potential relevance to the use case.</p></blockquote><h3 id=\"shallIGs\">SHALL Support the Following Implementation Guides</h3><ul><li><a href=\"index.html\">https://hl7.or.cr/fhir/core/ImplementationGuide/hl7.fhir.cr.core</a></li></ul><h2 id=\"rest\">FHIR RESTful Capabilities</h2><div class=\"panel panel-default\"><div class=\"panel-heading\"><h3 id=\"mode1\" class=\"panel-title\">Mode: <code>server</code></h3></div><div class=\"panel-body\"><div><p>Repositorio de auditoría (Audit Record Repository de IHE ATNA). Es de solo agregar: los eventos se crean y no se modifican ni se borran, y se conservan 8 años. Lo consultan la autoridad del HIE y los responsables de seguridad de cada organización; el paciente consulta los accesos a sus datos con AuditEvent?patient=, en una vista reducida.</p>\n</div></div></div><h3 id=\"resourcesCap1\">Capabilities by Resource/Profile</h3><h4 id=\"resourcesSummary1\">Resumen</h4><p>The summary table lists the resources that are part of this configuration, and for each resource it lists:</p><ul><li>The relevant profiles (if any)</li><li>The interactions supported by each resource (<b><span class=\"bg-info\">R</span></b>ead, <b><span class=\"bg-info\">S</span></b>earch, <b><span class=\"bg-info\">U</span></b>pdate, and <b><span class=\"bg-info\">C</span></b>reate, are always shown, while <b><span class=\"bg-info\">VR</span></b>ead, <b><span class=\"bg-info\">P</span></b>atch, <b><span class=\"bg-info\">D</span></b>elete, <b><span class=\"bg-info\">H</span></b>istory on <b><span class=\"bg-info\">I</span></b>nstance, or <b><span class=\"bg-info\">H</span></b>istory on <b><span class=\"bg-info\">T</span></b>ype are only present if at least one of the resources has support for them.</li><li><span>The required, recommended, and some optional search parameters (if any). </span></li><li>The linked resources enabled for <code>_include</code></li><li>The other resources enabled for <code>_revinclude</code></li><li>The operations on the resource (if any)</li></ul><div class=\"table-responsive\"><table class=\"table table-condensed table-hover\"><thead><tr><th><b>Resource Type</b></th><th><b>Perfil</b></th><th class=\"text-center\"><b title=\"GET a resource (read interaction)\">R</b></th><th class=\"text-center\"><b title=\"GET all set of resources of the type (search interaction)\">S</b></th><th class=\"text-center\"><b title=\"PUT a new resource version (update interaction)\">U</b></th><th class=\"text-center\"><b title=\"POST a new resource (create interaction)\">C</b></th><th><b title=\"Required and recommended search parameters\">Searches</b></th><th><code><b>_include</b></code></th><th><code><b>_revinclude</b></code></th><th><b>Operations</b></th></tr></thead><tbody><tr><td><a href=\"#AuditEvent1-1\">AuditEvent</a></td><td>Supported Profiles<br/>\u00a0\u00a0<a href=\"StructureDefinition-cr-auditevent.html\">Evento de auditoría</a></td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\"/><td class=\"text-center\">y</td><td>patient, date, agent, entity, category, code, action, outcome, purpose, source</td><td/><td/><td/></tr></tbody></table></div><hr/><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"AuditEvent1-1\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: unspecified </span>AuditEvent</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-4\"><span class=\"lead\">Core FHIR Resource</span><br/><a href=\"http://hl7.org/fhir/auditevent.html\">AuditEvent</a></div><div class=\"col-lg-4\"><span class=\"lead\">Reference Policy</span><br/></div><div class=\"col-lg-4\"><span class=\"lead\">Interaction summary</span><br/><ul><li>Supports <code>read</code>, <code>search-type</code>, <code>create</code>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-6\"><span class=\"lead\">Supported Profiles</span><p><a href=\"StructureDefinition-cr-auditevent.html\">Evento de auditoría</a></p></div></div><p/><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Documentación</span><blockquote><div><p>Eventos de auditoría: cada acceso u operación sobre el HIE, incluidos los fallos.</p>\n</div></blockquote></div></div><div class=\"row\"><div class=\"col-lg-7\"><span class=\"lead\">Search Parameters</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Parameter</th><th>Tipo</th><th>Documentación</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/auditevent.html#search\">patient</a></td><td><code>reference</code></td><td><div><p>Paciente.</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/auditevent.html#search\">date</a></td><td><code>date</code></td><td><div><p>Fecha del evento.</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/auditevent.html#search\">agent</a></td><td><code>reference</code></td><td><div><p>Agente: sistema o persona.</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/auditevent.html#search\">entity</a></td><td><code>reference</code></td><td><div><p>Recurso al que se accedió.</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/auditevent.html#search\">category</a></td><td><code>token</code></td><td><div><p>Categoría (rest, autenticación, alerta).</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/auditevent.html#search\">code</a></td><td><code>token</code></td><td><div><p>Interacción REST o evento.</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/auditevent.html#search\">action</a></td><td><code>token</code></td><td><div><p>Acción (C, R, U, D, E).</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/auditevent.html#search\">outcome</a></td><td><code>token</code></td><td><div><p>Resultado.</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/auditevent.html#search\">purpose</a></td><td><code>token</code></td><td><div><p>Propósito de uso.</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/auditevent.html#search\">source</a></td><td><code>reference</code></td><td><div><p>Sistema que registró el evento.</p>\n</div></td></tr></tbody></table></div><div class=\"col-lg-5\">\u00a0</div></div></div></div></div></div>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode" : "draft",
      "_valueCode" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "https://hl7.or.cr/fhir/core/ImplementationGuide/hl7.fhir.cr.core"
          }
        ]
      }
    }
  ],
  "url" : "https://hl7.or.cr/fhir/core/CapabilityStatement/cr-repositorio-auditoria",
  "version" : "0.1.0",
  "name" : "CRRepositorioAuditoria",
  "title" : "Repositorio de auditoría",
  "status" : "draft",
  "experimental" : false,
  "date" : "2026-10-05",
  "publisher" : "Iniciativa HL7 Costa Rica",
  "contact" : [
    {
      "name" : "Iniciativa HL7 Costa Rica",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://hl7.or.cr"
        }
      ]
    }
  ],
  "description" : "Servidor del repositorio de auditoría del HIE: registro y consulta de los eventos de auditoría, basados en IHE BALP y ATNA adaptados a FHIR R5.",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "urn:iso:std:iso:3166",
          "code" : "CR",
          "display" : "Costa Rica"
        }
      ]
    }
  ],
  "kind" : "requirements",
  "fhirVersion" : "5.0.0",
  "format" : [
    "json",
    "xml"
  ],
  "implementationGuide" : [
    🔗 "https://hl7.or.cr/fhir/core/ImplementationGuide/hl7.fhir.cr.core"
  ],
  "rest" : [
    {
      "mode" : "server",
      "documentation" : "Repositorio de auditoría (Audit Record Repository de IHE ATNA). Es de solo agregar: los eventos se crean y no se modifican ni se borran, y se conservan 8 años. Lo consultan la autoridad del HIE y los responsables de seguridad de cada organización; el paciente consulta los accesos a sus datos con AuditEvent?patient=, en una vista reducida.",
      "resource" : [
        {
          "type" : "AuditEvent",
          "supportedProfile" : [
            🔗 "https://hl7.or.cr/fhir/core/StructureDefinition/cr-auditevent"
          ],
          "documentation" : "Eventos de auditoría: cada acceso u operación sobre el HIE, incluidos los fallos.",
          "interaction" : [
            {
              "code" : "read"
            },
            {
              "code" : "search-type"
            },
            {
              "code" : "create"
            }
          ],
          "searchParam" : [
            {
              "name" : "patient",
              "definition" : "http://hl7.org/fhir/SearchParameter/clinical-patient",
              "type" : "reference",
              "documentation" : "Paciente."
            },
            {
              "name" : "date",
              "definition" : "http://hl7.org/fhir/SearchParameter/clinical-date",
              "type" : "date",
              "documentation" : "Fecha del evento."
            },
            {
              "name" : "agent",
              "definition" : "http://hl7.org/fhir/SearchParameter/AuditEvent-agent",
              "type" : "reference",
              "documentation" : "Agente: sistema o persona."
            },
            {
              "name" : "entity",
              "definition" : "http://hl7.org/fhir/SearchParameter/AuditEvent-entity",
              "type" : "reference",
              "documentation" : "Recurso al que se accedió."
            },
            {
              "name" : "category",
              "definition" : "http://hl7.org/fhir/SearchParameter/AuditEvent-category",
              "type" : "token",
              "documentation" : "Categoría (rest, autenticación, alerta)."
            },
            {
              "name" : "code",
              "definition" : "http://hl7.org/fhir/SearchParameter/clinical-code",
              "type" : "token",
              "documentation" : "Interacción REST o evento."
            },
            {
              "name" : "action",
              "definition" : "http://hl7.org/fhir/SearchParameter/AuditEvent-action",
              "type" : "token",
              "documentation" : "Acción (C, R, U, D, E)."
            },
            {
              "name" : "outcome",
              "definition" : "http://hl7.org/fhir/SearchParameter/AuditEvent-outcome",
              "type" : "token",
              "documentation" : "Resultado."
            },
            {
              "name" : "purpose",
              "definition" : "http://hl7.org/fhir/SearchParameter/AuditEvent-purpose",
              "type" : "token",
              "documentation" : "Propósito de uso."
            },
            {
              "name" : "source",
              "definition" : "http://hl7.org/fhir/SearchParameter/AuditEvent-source",
              "type" : "reference",
              "documentation" : "Sistema que registró el evento."
            }
          ]
        }
      ]
    }
  ]
}