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

xml bruto | Descargar


<CapabilityStatement xmlns="http://hl7.org/fhir">
  <id value="cr-repositorio-auditoria"/>
  <language value="es"/>
  <text>
    <status value="extensions"/>
    <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>
</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/>  <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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</div></td></tr></tbody></table></div><div class="col-lg-5"> </div></div></div></div></div></div>
  </text>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="draft">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="https://hl7.or.cr/fhir/core/ImplementationGuide/hl7.fhir.cr.core"/>
      </extension>
    </valueCode>
  </extension>
  <url
       value="https://hl7.or.cr/fhir/core/CapabilityStatement/cr-repositorio-auditoria"/>
  <version value="0.1.0"/>
  <name value="CRRepositorioAuditoria"/>
  <title value="Repositorio de auditoría"/>
  <status value="draft"/>
  <experimental value="false"/>
  <date value="2026-10-05"/>
  <publisher value="Iniciativa HL7 Costa Rica"/>
  <contact>
    <name value="Iniciativa HL7 Costa Rica"/>
    <telecom>
      <system value="url"/>
      <value value="https://hl7.or.cr"/>
    </telecom>
  </contact>
  <description
               value="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 value="urn:iso:std:iso:3166"/>
      <code value="CR"/>
      <display value="Costa Rica"/>
    </coding>
  </jurisdiction>
  <kind value="requirements"/>
  <fhirVersion value="5.0.0"/>
  <format value="json"/>
  <format value="xml"/>
  <implementationGuide
                       value="https://hl7.or.cr/fhir/core/ImplementationGuide/hl7.fhir.cr.core"/>
  <rest>
    <mode value="server"/>
    <documentation
                   value="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 value="AuditEvent"/>
      <supportedProfile
                        value="https://hl7.or.cr/fhir/core/StructureDefinition/cr-auditevent"/>
      <documentation
                     value="Eventos de auditoría: cada acceso u operación sobre el HIE, incluidos los fallos."/>
      <interaction>
        <code value="read"/>
      </interaction>
      <interaction>
        <code value="search-type"/>
      </interaction>
      <interaction>
        <code value="create"/>
      </interaction>
      <searchParam>
        <name value="patient"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/clinical-patient"/>
        <type value="reference"/>
        <documentation value="Paciente."/>
      </searchParam>
      <searchParam>
        <name value="date"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/clinical-date"/>
        <type value="date"/>
        <documentation value="Fecha del evento."/>
      </searchParam>
      <searchParam>
        <name value="agent"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/AuditEvent-agent"/>
        <type value="reference"/>
        <documentation value="Agente: sistema o persona."/>
      </searchParam>
      <searchParam>
        <name value="entity"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/AuditEvent-entity"/>
        <type value="reference"/>
        <documentation value="Recurso al que se accedió."/>
      </searchParam>
      <searchParam>
        <name value="category"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/AuditEvent-category"/>
        <type value="token"/>
        <documentation value="Categoría (rest, autenticación, alerta)."/>
      </searchParam>
      <searchParam>
        <name value="code"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/clinical-code"/>
        <type value="token"/>
        <documentation value="Interacción REST o evento."/>
      </searchParam>
      <searchParam>
        <name value="action"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/AuditEvent-action"/>
        <type value="token"/>
        <documentation value="Acción (C, R, U, D, E)."/>
      </searchParam>
      <searchParam>
        <name value="outcome"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/AuditEvent-outcome"/>
        <type value="token"/>
        <documentation value="Resultado."/>
      </searchParam>
      <searchParam>
        <name value="purpose"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/AuditEvent-purpose"/>
        <type value="token"/>
        <documentation value="Propósito de uso."/>
      </searchParam>
      <searchParam>
        <name value="source"/>
        <definition
                    value="http://hl7.org/fhir/SearchParameter/AuditEvent-source"/>
        <type value="reference"/>
        <documentation value="Sistema que registró el evento."/>
      </searchParam>
    </resource>
  </rest>
</CapabilityStatement>