# Evento de Auditoría - HL7 FHIR Costa Rica - Core v0.0.1-ballot

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **Evento de Auditoría**

## Resource Profile: Evento de Auditoría 

| | | |
| :--- | :--- | :--- |
| *Official URL*:https://hl7.or.cr/fhir/core/StructureDefinition/cr-core-auditevent | *Version*:0.0.1-ballot | |
| * Standards status: *[Draft](http://hl7.org/fhir/R5/versions.html#std-process) | [Maturity Level](http://hl7.org/fhir/versions.html#maturity): 0 | *Computable Name*:CRCoreAuditEvent |
| **Copyright/Legal**: Usado con el permiso de HL7 International, todos los derechos resevados en los Licencias de HL7 Internacional. | | |

 
Perfil AuditEvent para registrar eventos de auditoría en recursos clínicos y administrativos, incluyendo metadatos específicos de auditoría y trazabilidad. 

**Usages:**

* This Profile is not used by any profiles in this Implementation Guide

You can also check for [usages in the FHIR IG Statistics](https://packages2.fhir.org/xig/hl7.fhir.cr.core|current/StructureDefinition/cr-core-auditevent)

### Formal Views of Profile Content

 [Description of Profiles, Differentials, Snapshots and how the different presentations work](http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#structure-definitions). 

 

Other representations of profile: [CSV](StructureDefinition-cr-core-auditevent.csv), [Excel](StructureDefinition-cr-core-auditevent.xlsx), [Schematron](StructureDefinition-cr-core-auditevent.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "cr-core-auditevent",
  "language" : "es",
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 0
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "draft"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "cgp"
  }],
  "url" : "https://hl7.or.cr/fhir/core/StructureDefinition/cr-core-auditevent",
  "version" : "0.0.1-ballot",
  "name" : "CRCoreAuditEvent",
  "title" : "Evento de Auditoría",
  "status" : "draft",
  "experimental" : false,
  "date" : "2025-11-08",
  "publisher" : "Iniciativa HL7 Costa Rica",
  "contact" : [{
    "name" : "Iniciativa HL7 Costa Rica",
    "telecom" : [{
      "system" : "url",
      "value" : "https://hl7.or.cr"
    },
    {
      "system" : "email",
      "value" : "info@hl7.or.cr"
    }]
  },
  {
    "name" : "Iniciativa HL7 Costa Rica",
    "telecom" : [{
      "system" : "email",
      "value" : "info@hl7.or.cr",
      "use" : "work"
    },
    {
      "system" : "url",
      "value" : "https://hl7.or.cr",
      "use" : "work"
    }]
  }],
  "description" : "Perfil AuditEvent para registrar eventos de auditoría en recursos clínicos y administrativos, incluyendo metadatos específicos de auditoría y trazabilidad.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "urn:iso:std:iso:3166",
      "code" : "CR",
      "display" : "Costa Rica"
    }]
  }],
  "copyright" : "Usado con el permiso de HL7 International, todos los derechos resevados en los Licencias de HL7 Internacional.",
  "fhirVersion" : "5.0.0",
  "mapping" : [{
    "identity" : "workflow",
    "uri" : "http://hl7.org/fhir/workflow",
    "name" : "Workflow Pattern"
  },
  {
    "identity" : "w5",
    "uri" : "http://hl7.org/fhir/fivews",
    "name" : "FiveWs Pattern Mapping"
  },
  {
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  },
  {
    "identity" : "dicom",
    "uri" : "http://nema.org/dicom",
    "name" : "DICOM Tag Mapping"
  },
  {
    "identity" : "w3c.prov",
    "uri" : "http://www.w3.org/ns/prov",
    "name" : "W3C PROV"
  },
  {
    "identity" : "fhirprovenance",
    "uri" : "http://hl7.org/fhir/provenance",
    "name" : "FHIR Provenance Mapping"
  }],
  "kind" : "resource",
  "abstract" : false,
  "type" : "AuditEvent",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/AuditEvent|5.0.0",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "AuditEvent",
      "path" : "AuditEvent"
    },
    {
      "id" : "AuditEvent.code",
      "path" : "AuditEvent.code",
      "short" : "Tipo de evento de auditoría.",
      "definition" : "Código que identifica el tipo de evento de auditoría que se está registrando.",
      "mustSupport" : true,
      "binding" : {
        "strength" : "required",
        "description" : "ValueSet de tipos de eventos de auditoría definidos en FHIR.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/audit-event-sub-type|5.0.0"
      }
    },
    {
      "id" : "AuditEvent.recorded",
      "path" : "AuditEvent.recorded",
      "short" : "Fecha y hora en que se registró el evento de auditoría.",
      "definition" : "Fecha y hora en que se registró el evento de auditoría.",
      "mustSupport" : true
    },
    {
      "id" : "AuditEvent.agent",
      "path" : "AuditEvent.agent",
      "short" : "Agentes involucrados en el evento de auditoría.",
      "definition" : "Lista de agentes (personas, organizaciones, dispositivos) que participaron en el evento de auditoría.",
      "mustSupport" : true
    },
    {
      "id" : "AuditEvent.agent.who",
      "path" : "AuditEvent.agent.who",
      "short" : "Referencia al agente.",
      "definition" : "Referencia al recurso FHIR que representa al agente involucrado en el evento de auditoría.",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["https://hl7.or.cr/fhir/core/StructureDefinition/cr-core-practitioner|0.0.1-ballot",
        "https://hl7.or.cr/fhir/core/StructureDefinition/cr-core-organization|0.0.1-ballot"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "AuditEvent.source",
      "path" : "AuditEvent.source",
      "short" : "Fuente del evento de auditoría.",
      "definition" : "Información sobre la fuente que generó el evento de auditoría.",
      "mustSupport" : true
    },
    {
      "id" : "AuditEvent.source.observer",
      "path" : "AuditEvent.source.observer",
      "short" : "Observador de la fuente.",
      "definition" : "Referencia al recurso FHIR que representa al observador de la fuente del evento de auditoría.",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["https://hl7.or.cr/fhir/core/StructureDefinition/cr-core-organization|0.0.1-ballot",
        "https://hl7.or.cr/fhir/core/StructureDefinition/cr-core-practitioner|0.0.1-ballot"]
      }],
      "mustSupport" : true
    }]
  }
}

```
