Guía de Implementación de Resultados de Laboratorio de Costa Rica
0.1.0 - ci-build
Guía de Implementación de Resultados de Laboratorio de Costa Rica - Compilación local de desarrollo (v0.1.0), generada con las herramientas de compilación de FHIR (HL7® FHIR® Standard). Vea el directorio de versiones publicadas. Por ahora aplica solo al sector privado, hasta que el Ministerio de Salud publique la hoja de ruta de las guías de implementación públicas.
| URL oficial: https://hl7.or.cr/fhir/labresult/StructureDefinition/cr-auditevent-laboratory-result | Versión: 0.1.0 | ||||
| Standards status: Informative * | Nombre computable: CRAuditEventLaboratoryResult | ||||
Perfil de auditoría para registrar los eventos de acceso y modificación de resultados de laboratorio en el flujo del PoC de Costa Rica. Cada actor del flujo (FHIR Repository, Document Registry, Patient Identity Source, Consent, Client FHIR) debe generar un AuditEvent por cada acción relevante.
Usos:
También puede consultar los usos en las estadísticas de IG de FHIR
Descripción de perfiles, diferenciales, instantáneas y sus representaciones.
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | CRAuditEvent | Evento de auditoría: quién accedió a qué y con qué resultado Constraints: cr-auditoria-rest, cr-auditoria-accion, cr-auditoria-detalle, cr-auditoria-proposito, cr-auditoria-agentes, cr-auditoria-red, cr-auditoria-solicitante, cr-auditoria-paciente, cr-auditoria-paciente-coherente, cr-auditoria-entidades, cr-auditoria-fechas |
![]() ![]() |
0..1 | uri | Reglas que rigen la interpretación del contenido del recurso | |
![]() ![]() |
0..1 | Narrative | Resumen narrativo del recurso para su interpretación humana Este perfil no restringe el contenido de la narrativa, su idioma ni su correspondencia con los elementos de datos | |
![]() ![]() |
0..* | Resource | Recursos contenidos en línea | |
![]() ![]() |
0..* | Extension | Extensiones modificadoras que no deben ignorarse, aunque no se reconozcan | |
![]() ![]() |
1..1 | CodeableConcept | Categoría del evento (REST, DICOM, etc.) Vinculación: Categoría del evento de auditoría (required) | |
![]() ![]() |
1..1 | CodeableConcept | Tipo específico de acción (read, create, query, etc.) Vinculación: AuditEventSubType (extensible) | |
![]() ![]() |
1..1 | code | Acción CRUD: C=create, R=read, U=update, D=delete, E=execute Vinculación: AuditEventAction (required): DICOM Audit Event Action | |
![]() ![]() |
0..1 | code | Severidad del evento (informational para flujo normal) Vinculación: AuditEventSeverity (required): This is in the SysLog header, PRI. http://tools.ietf.org/html/rfc5424#appendix-A.3 | |
![]() ![]() |
C | 0..1 | dateTime | Cuándo ocurrió el evento (no posterior al registro) Constraints: cr-documento-fecha-hora |
![]() ![]() |
1..1 | instant | Fecha y hora del evento | |
![]() ![]() |
1..1 | BackboneElement | Resultado del evento: éxito o fallo | |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
1..1 | Coding | success | warning | error | fatal Vinculación: AuditEventOutcome (required) | |
![]() ![]() ![]() |
0..* | CodeableConcept | Detalle (código HTTP y texto), sin datos clínicos Vinculación: AuditEventOutcomeDetail (example): A code that provides details as the exact issue. | |
![]() ![]() |
0..1 | CodeableConcept | Propósito de uso: TREAT | ETREAT | COC | PATRQT | PUBHLTH | HRESCH | HOPERAT | HSYSADMIN | HLEGAL Vinculación: Propósito de uso (required) | |
![]() ![]() |
0..1 | Reference(Paciente) | Paciente de los datos (un evento por paciente) | |
![]() ![]() |
2..* | BackboneElement | Actor que realizó o solicitó la acción Slice: Sin orden, Abierto by value:requestor Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
Contenido y reglas para todos los slices | |||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | 110152 (destino) | 110153 (origen) | IRCP (usuario) Vinculación: Tipo de agente de auditoría (required) | |
![]() ![]() ![]() ![]() |
1..1 | Reference(Sistema de información | Rol del profesional | Profesional de salud | Paciente) | El sistema registrado en el HIE, o la persona usuaria | |
![]() ![]() ![]() ![]() |
0..1 | boolean | true para el usuario o, si no hay usuario, para el cliente | |
![]() ![]() ![]() ![]() |
0..1 | uri | Identificador del token (jti) del usuario | |
![]() ![]() ![]() ![]() |
0..1 | Red: la IP o el subsistema X-Road del cliente, la URL del servidor | ||
![]() ![]() ![]() ![]() ![]() |
Reference(Endpoint) | |||
![]() ![]() ![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() |
1..1 | BackboneElement | El cliente, el servidor y, si la hace una persona, el usuario | |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Rol del agente solicitante (Client, Source, etc.) Vinculación: Tipo de agente de auditoría (required) | |
![]() ![]() ![]() ![]() |
1..1 | Reference(Sistema de información | PractitionerRole - Resultados de Laboratorio | Practitioner - Resultados de Laboratorio | Patient - Resultados de Laboratorio) | Sistema registrado o persona que inició la acción | |
![]() ![]() ![]() ![]() |
1..1 | boolean | true: este agente inició la solicitud Patrón requerido: true (extensions allowed) | |
![]() ![]() ![]() ![]() |
0..1 | uri | Identificador del token (jti) del usuario | |
![]() ![]() ![]() ![]() |
0..1 | Red: la IP o el subsistema X-Road del cliente, la URL del servidor | ||
![]() ![]() ![]() ![]() ![]() |
Reference(Endpoint) | |||
![]() ![]() ![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() |
1..1 | BackboneElement | El cliente, el servidor y, si la hace una persona, el usuario | |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Rol del agente receptor (Repository, Registry, etc.) Vinculación: Tipo de agente de auditoría (required) | |
![]() ![]() ![]() ![]() |
1..1 | Reference(Sistema de información) | Sistema que recibió y procesó la solicitud | |
![]() ![]() ![]() ![]() |
1..1 | boolean | false: este agente recibió/procesó la solicitud Patrón requerido: false (extensions allowed) | |
![]() ![]() ![]() ![]() |
0..1 | uri | Identificador del token (jti) del usuario | |
![]() ![]() ![]() ![]() |
0..1 | Red: la IP o el subsistema X-Road del cliente, la URL del servidor | ||
![]() ![]() ![]() ![]() ![]() |
Reference(Endpoint) | |||
![]() ![]() ![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() ![]() ![]() |
string | |||
![]() ![]() |
1..1 | BackboneElement | Quién registró el evento | |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
1..1 | Reference(Sistema de información) | Sistema que genera y reporta este AuditEvent | |
![]() ![]() ![]() |
1..1 | CodeableConcept | Tipo de la fuente (4: servidor de aplicaciones) Vinculación: AuditEventSourceType (required) | |
![]() ![]() |
1..* | BackboneElement | Recurso FHIR sobre el que se realizó la acción | |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
1..1 | Reference(Resource) | Referencia al recurso afectado (DiagnosticReport, Patient, Consent, etc.) | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Rol del recurso en el evento (object, query, etc.) Vinculación: AuditEventEntityRole (required) | |
![]() ![]() ![]() |
0..* | CodeableConcept | Las etiquetas de seguridad del recurso Vinculación: SecurityLabelExamples (example): Example Security Labels from the Healthcare Privacy and Security Classification System. | |
![]() ![]() ![]() |
0..1 | base64Binary | La consulta, en base64 (solo en la entidad consulta) | |
Documentación de este formato | ||||
| Ruta | Estado | Uso | Conjunto de valores | Versión | Fuente | Documentación |
| AuditEvent.category | Base | required | Categoría del evento de auditoría | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| AuditEvent.code | Base | extensible | Audit Event Sub-Type | 📦5.0.0 | Estándar FHIR | |
| AuditEvent.action | Base | required | Audit Event Action | 📍5.0.0 | Estándar FHIR |
DICOM Audit Event Action |
| AuditEvent.severity | Base | required | Audit Event Severity | 📍5.0.0 | Estándar FHIR |
This is in the SysLog header, PRI. http://tools.ietf.org/html/rfc5424#appendix-A.3 |
| AuditEvent.outcome.code | Base | required | Audit Event Outcome | 📦5.0.0 | Estándar FHIR | |
| AuditEvent.outcome.detail | Base | example | Audit Event Outcome Detail | 📍5.0.0 | Estándar FHIR |
A code that provides details as the exact issue. |
| AuditEvent.authorization | Base | required | Propósito de uso | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| AuditEvent.agent.type | Base | required | Tipo de agente de auditoría | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| AuditEvent.agent:solicitante.type | Base | required | Tipo de agente de auditoría | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| AuditEvent.agent:receptor.type | Base | required | Tipo de agente de auditoría | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| AuditEvent.source.type | Base | required | Audit Event Source Type | 📦5.0.0 | Estándar FHIR | |
| AuditEvent.entity.role | Base | required | Audit Event Entity Role | 📦5.0.0 | Estándar FHIR | |
| AuditEvent.entity.securityLabel | Base | example | Example set of Security Labels | 📍5.0.0 | Estándar FHIR |
Example Security Labels from the Healthcare Privacy and Security Classification System. |
| Id | Nivel | Ruta(s) | Descripción | Expresión |
| cr-auditoria-accion | error | AuditEvent | La acción es coherente con la interacción: las lecturas, búsquedas e historias son R; create es C; update y patch son U; delete es D; las demás son E. |
code.coding.where(system = 'http://hl7.org/fhir/restful-interaction').all(iif(code in ('read' | 'vread' | 'search' | 'search-type' | 'search-system' | 'history' | 'history-instance' | 'history-type' | 'history-system'), %resource.action = 'R', iif(code = 'create', %resource.action = 'C', iif(code in ('update' | 'patch'), %resource.action = 'U', iif(code = 'delete', %resource.action = 'D', %resource.action = 'E')))))
|
| cr-auditoria-agentes | error | AuditEvent | El evento lleva un agente cliente y un agente servidor (DICOM 110152 y 110153). |
agent.where(type.coding.where(system = 'http://dicom.nema.org/resources/ontology/DCM' and code = '110152').exists()).exists() and agent.where(type.coding.where(system = 'http://dicom.nema.org/resources/ontology/DCM' and code = '110153').exists()).exists()
|
| cr-auditoria-detalle | error | AuditEvent | Un resultado que no es success lleva su detalle. |
outcome.code.code != 'success' implies outcome.detail.exists()
|
| cr-auditoria-entidades | error | AuditEvent | Cada entidad indica el recurso (what), salvo la consulta (role 24), que indica la consulta (query). |
entity.all(iif(role.coding.where(code = '24').exists(), query.exists(), what.exists()))
|
| cr-auditoria-fechas | error | AuditEvent | La fecha del evento no es posterior a la fecha de registro. |
occurred.ofType(dateTime).empty() or occurred.ofType(dateTime) <= recorded
|
| cr-auditoria-paciente | error | AuditEvent | El paciente del evento va también como entidad con role 1 (Patient), como en IHE BALP. |
patient.exists() implies entity.where(role.coding.where(system = 'http://terminology.hl7.org/CodeSystem/object-role' and code = '1').exists()).exists()
|
| cr-auditoria-paciente-coherente | error | AuditEvent | Cuando patient y la entidad Patient usan referencias literales, apuntan al mismo paciente. |
patient.reference.exists() implies entity.where(role.coding.where(system = 'http://terminology.hl7.org/CodeSystem/object-role' and code = '1').exists() and what.reference = %resource.patient.reference).exists()
|
| cr-auditoria-proposito | error | AuditEvent | Un evento con datos de un paciente indica el propósito de uso. |
patient.exists() implies authorization.exists()
|
| cr-auditoria-red | error | AuditEvent | El cliente y el servidor indican su red (dirección IP, subsistema X-Road o URL). |
agent.where(type.coding.where(code = '110153' or code = '110152').exists()).all(network.exists())
|
| cr-auditoria-rest | error | AuditEvent | Un evento rest lleva el código de la interacción REST. |
category.coding.where(code = 'rest').exists() implies code.coding.where(system = 'http://hl7.org/fhir/restful-interaction').exists()
|
| cr-auditoria-solicitante | error | AuditEvent | Hay un solo solicitante (requestor = true): el usuario o, si no hay usuario, el cliente. |
agent.where(requestor = true).count() = 1
|
| cr-documento-fecha-hora | error | AuditEvent.occurred[x] | La fecha lleva fecha y hora, no solo la fecha. |
toString().contains('T')
|
| dom-2 | error | AuditEvent | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | AuditEvent | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | AuditEvent | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | AuditEvent | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | buena práctica | AuditEvent | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **TODOS** los elementos | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **TODAS** las extensiones | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Esta estructura se deriva de CRAuditEvent .
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | CRAuditEvent | Evento de auditoría: quién accedió a qué y con qué resultado | |
![]() ![]() |
1..1 | CodeableConcept | Categoría del evento (REST, DICOM, etc.) Other Changes: documentation | |
![]() ![]() |
1..1 | CodeableConcept | Tipo específico de acción (read, create, query, etc.) Vinculación: AuditEventSubType (extensible) Other Changes: documentation | |
![]() ![]() |
1..1 | code | Acción CRUD: C=create, R=read, U=update, D=delete, E=execute Other Changes: documentation | |
![]() ![]() |
0..1 | code | Severidad del evento (informational para flujo normal) | |
![]() ![]() |
1..1 | instant | Fecha y hora del evento Other Changes: documentation | |
![]() ![]() |
1..1 | BackboneElement | Resultado del evento: éxito o fallo Other Changes: documentation | |
![]() ![]() |
2..* | BackboneElement | Actor que realizó o solicitó la acción Slice: Sin orden, Abierto by value:requestor Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
1..1 | BackboneElement | El cliente, el servidor y, si la hace una persona, el usuario | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Rol del agente solicitante (Client, Source, etc.) | |
![]() ![]() ![]() ![]() |
1..1 | Reference(Sistema de información | PractitionerRole - Resultados de Laboratorio | Practitioner - Resultados de Laboratorio | Patient - Resultados de Laboratorio) | Sistema registrado o persona que inició la acción | |
![]() ![]() ![]() ![]() |
1..1 | boolean | true: este agente inició la solicitud Patrón requerido: true (extensions allowed) | |
![]() ![]() ![]() |
1..1 | BackboneElement | El cliente, el servidor y, si la hace una persona, el usuario | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Rol del agente receptor (Repository, Registry, etc.) | |
![]() ![]() ![]() ![]() |
1..1 | Reference(Sistema de información) | Sistema que recibió y procesó la solicitud | |
![]() ![]() ![]() ![]() |
1..1 | boolean | false: este agente recibió/procesó la solicitud Patrón requerido: false (extensions allowed) | |
![]() ![]() |
1..1 | BackboneElement | Quién registró el evento | |
![]() ![]() ![]() |
1..1 | Reference(Sistema de información) | Sistema que genera y reporta este AuditEvent Other Changes: documentation | |
![]() ![]() |
1..* | BackboneElement | Recurso FHIR sobre el que se realizó la acción Other Changes: documentation | |
![]() ![]() ![]() |
1..1 | Reference(Resource) | Referencia al recurso afectado (DiagnosticReport, Patient, Consent, etc.) | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Rol del recurso en el evento (object, query, etc.) | |
Documentación de este formato | ||||
| Ruta | Estado | Uso | Conjunto de valores | Versión | Fuente |
| AuditEvent.code | Base | extensible | Audit Event Sub-Type | 📦5.0.0 | Estándar FHIR |
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | CRAuditEvent | Evento de auditoría: quién accedió a qué y con qué resultado Constraints: cr-auditoria-rest, cr-auditoria-accion, cr-auditoria-detalle, cr-auditoria-proposito, cr-auditoria-agentes, cr-auditoria-red, cr-auditoria-solicitante, cr-auditoria-paciente, cr-auditoria-paciente-coherente, cr-auditoria-entidades, cr-auditoria-fechas | ||||||
![]() ![]() |
0..1 | id | Identificador lógico del recurso | |||||||
![]() ![]() |
0..1 | Meta | Metadatos del recurso | |||||||
![]() ![]() |
0..1 | uri | Reglas que rigen la interpretación del contenido del recurso | |||||||
![]() ![]() |
0..1 | code | Idioma del contenido del recurso Vinculación: AllLanguages (required): Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.
| |||||||
![]() ![]() |
0..1 | Narrative | Resumen narrativo del recurso para su interpretación humana Este perfil no restringe el contenido de la narrativa, su idioma ni su correspondencia con los elementos de datos | |||||||
![]() ![]() |
0..* | Resource | Recursos contenidos en línea | |||||||
![]() ![]() |
0..* | Extension | Contenido adicional definido por las implementaciones | |||||||
![]() ![]() |
0..* | Extension | Extensiones modificadoras que no deben ignorarse, aunque no se reconozcan | |||||||
![]() ![]() |
1..1 | CodeableConcept | Categoría del evento (REST, DICOM, etc.) Vinculación: Categoría del evento de auditoría (required) | |||||||
![]() ![]() |
1..1 | CodeableConcept | Tipo específico de acción (read, create, query, etc.) Vinculación: AuditEventSubType (extensible) | |||||||
![]() ![]() |
1..1 | code | Acción CRUD: C=create, R=read, U=update, D=delete, E=execute Vinculación: AuditEventAction (required): DICOM Audit Event Action | |||||||
![]() ![]() |
0..1 | code | Severidad del evento (informational para flujo normal) Vinculación: AuditEventSeverity (required): This is in the SysLog header, PRI. http://tools.ietf.org/html/rfc5424#appendix-A.3 | |||||||
![]() ![]() |
C | 0..1 | dateTime | Cuándo ocurrió el evento (no posterior al registro) Constraints: cr-documento-fecha-hora | ||||||
![]() ![]() |
1..1 | instant | Fecha y hora del evento | |||||||
![]() ![]() |
1..1 | BackboneElement | Resultado del evento: éxito o fallo | |||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() |
1..1 | Coding | success | warning | error | fatal Vinculación: AuditEventOutcome (required) | |||||||
![]() ![]() ![]() |
0..* | CodeableConcept | Detalle (código HTTP y texto), sin datos clínicos Vinculación: AuditEventOutcomeDetail (example): A code that provides details as the exact issue. | |||||||
![]() ![]() |
0..1 | CodeableConcept | Propósito de uso: TREAT | ETREAT | COC | PATRQT | PUBHLTH | HRESCH | HOPERAT | HSYSADMIN | HLEGAL Vinculación: Propósito de uso (required) | |||||||
![]() ![]() |
0..* | Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest | Task) | Workflow authorization within which this event occurred | |||||||
![]() ![]() |
0..1 | Reference(Paciente) | Paciente de los datos (un evento por paciente) | |||||||
![]() ![]() |
0..1 | Reference(Encounter) | Encounter within which this event occurred or which the event is tightly associated | |||||||
![]() ![]() |
2..* | BackboneElement | Actor que realizó o solicitó la acción Slice: Sin orden, Abierto by value:requestor Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||||
![]() ![]() ![]() |
Contenido y reglas para todos los slices | |||||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | 110152 (destino) | 110153 (origen) | IRCP (usuario) Vinculación: Tipo de agente de auditoría (required) | |||||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | Agent role in the event Vinculación: SecurityRoleType (example): What security role enabled the agent to participate in the event. | |||||||
![]() ![]() ![]() ![]() |
1..1 | Reference(Sistema de información | Rol del profesional | Profesional de salud | Paciente) | El sistema registrado en el HIE, o la persona usuaria | |||||||
![]() ![]() ![]() ![]() |
0..1 | boolean | true para el usuario o, si no hay usuario, para el cliente | |||||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Location) | The agent location when the event occurred | |||||||
![]() ![]() ![]() ![]() |
0..1 | uri | Identificador del token (jti) del usuario | |||||||
![]() ![]() ![]() ![]() |
0..1 | Red: la IP o el subsistema X-Road del cliente, la URL del servidor | ||||||||
![]() ![]() ![]() ![]() ![]() |
Reference(Endpoint) | |||||||||
![]() ![]() ![]() ![]() ![]() |
uri | |||||||||
![]() ![]() ![]() ![]() ![]() |
string | |||||||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | Allowable authorization for this agent Vinculación: PurposeOfUse (example): The reason the activity took place. | |||||||
![]() ![]() ![]() |
1..1 | BackboneElement | El cliente, el servidor y, si la hace una persona, el usuario | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Rol del agente solicitante (Client, Source, etc.) Vinculación: Tipo de agente de auditoría (required) | |||||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | Agent role in the event Vinculación: SecurityRoleType (example): What security role enabled the agent to participate in the event. | |||||||
![]() ![]() ![]() ![]() |
1..1 | Reference(Sistema de información | PractitionerRole - Resultados de Laboratorio | Practitioner - Resultados de Laboratorio | Patient - Resultados de Laboratorio) | Sistema registrado o persona que inició la acción | |||||||
![]() ![]() ![]() ![]() |
1..1 | boolean | true: este agente inició la solicitud Patrón requerido: true (extensions allowed) | |||||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Location) | The agent location when the event occurred | |||||||
![]() ![]() ![]() ![]() |
0..1 | uri | Identificador del token (jti) del usuario | |||||||
![]() ![]() ![]() ![]() |
0..1 | Red: la IP o el subsistema X-Road del cliente, la URL del servidor | ||||||||
![]() ![]() ![]() ![]() ![]() |
Reference(Endpoint) | |||||||||
![]() ![]() ![]() ![]() ![]() |
uri | |||||||||
![]() ![]() ![]() ![]() ![]() |
string | |||||||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | Allowable authorization for this agent Vinculación: PurposeOfUse (example): The reason the activity took place. | |||||||
![]() ![]() ![]() |
1..1 | BackboneElement | El cliente, el servidor y, si la hace una persona, el usuario | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Rol del agente receptor (Repository, Registry, etc.) Vinculación: Tipo de agente de auditoría (required) | |||||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | Agent role in the event Vinculación: SecurityRoleType (example): What security role enabled the agent to participate in the event. | |||||||
![]() ![]() ![]() ![]() |
1..1 | Reference(Sistema de información) | Sistema que recibió y procesó la solicitud | |||||||
![]() ![]() ![]() ![]() |
1..1 | boolean | false: este agente recibió/procesó la solicitud Patrón requerido: false (extensions allowed) | |||||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Location) | The agent location when the event occurred | |||||||
![]() ![]() ![]() ![]() |
0..1 | uri | Identificador del token (jti) del usuario | |||||||
![]() ![]() ![]() ![]() |
0..1 | Red: la IP o el subsistema X-Road del cliente, la URL del servidor | ||||||||
![]() ![]() ![]() ![]() ![]() |
Reference(Endpoint) | |||||||||
![]() ![]() ![]() ![]() ![]() |
uri | |||||||||
![]() ![]() ![]() ![]() ![]() |
string | |||||||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | Allowable authorization for this agent Vinculación: PurposeOfUse (example): The reason the activity took place. | |||||||
![]() ![]() |
1..1 | BackboneElement | Quién registró el evento | |||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() |
0..1 | Reference(Location) | Logical source location within the enterprise | |||||||
![]() ![]() ![]() |
1..1 | Reference(Sistema de información) | Sistema que genera y reporta este AuditEvent | |||||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Tipo de la fuente (4: servidor de aplicaciones) Vinculación: AuditEventSourceType (required) | |||||||
![]() ![]() |
1..* | BackboneElement | Recurso FHIR sobre el que se realizó la acción | |||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() |
1..1 | Reference(Resource) | Referencia al recurso afectado (DiagnosticReport, Patient, Consent, etc.) | |||||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Rol del recurso en el evento (object, query, etc.) Vinculación: AuditEventEntityRole (required) | |||||||
![]() ![]() ![]() |
0..* | CodeableConcept | Las etiquetas de seguridad del recurso Vinculación: SecurityLabelExamples (example): Example Security Labels from the Healthcare Privacy and Security Classification System. | |||||||
![]() ![]() ![]() |
0..1 | base64Binary | La consulta, en base64 (solo en la entidad consulta) | |||||||
![]() ![]() ![]() |
0..* | BackboneElement | Additional Information about the entity | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Name of the property Vinculación: AuditEventID (example): Additional detail about an entity used in an event. | |||||||
![]() ![]() ![]() ![]() |
1..1 | Property value | ||||||||
![]() ![]() ![]() ![]() ![]() |
Quantity | |||||||||
![]() ![]() ![]() ![]() ![]() |
CodeableConcept | |||||||||
![]() ![]() ![]() ![]() ![]() |
string | |||||||||
![]() ![]() ![]() ![]() ![]() |
boolean | |||||||||
![]() ![]() ![]() ![]() ![]() |
integer | |||||||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||||
![]() ![]() ![]() ![]() ![]() |
Ratio | |||||||||
![]() ![]() ![]() ![]() ![]() |
time | |||||||||
![]() ![]() ![]() ![]() ![]() |
dateTime | |||||||||
![]() ![]() ![]() ![]() ![]() |
Period | |||||||||
![]() ![]() ![]() ![]() ![]() |
base64Binary | |||||||||
![]() ![]() ![]() |
0..* | Vea agent (AuditEvent) | Entity is attributed to this agent | |||||||
Documentación de este formato | ||||||||||
| Ruta | Estado | Uso | Conjunto de valores | Versión | Fuente | Documentación |
| AuditEvent.language | Base | required | All Languages | 📍5.0.0 | Estándar FHIR |
Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47. |
| Additional / all | Inicial | Common Languages | 📍5.0.0 | Estándar FHIR | ||
| Additional / all | Inicial | Common Languages | 📦5.0.0 | Estándar FHIR | ||
| AuditEvent.category | Base | required | Categoría del evento de auditoría | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| AuditEvent.code | Base | extensible | Audit Event Sub-Type | 📦5.0.0 | Estándar FHIR | |
| AuditEvent.action | Base | required | Audit Event Action | 📍5.0.0 | Estándar FHIR |
DICOM Audit Event Action |
| AuditEvent.severity | Base | required | Audit Event Severity | 📍5.0.0 | Estándar FHIR |
This is in the SysLog header, PRI. http://tools.ietf.org/html/rfc5424#appendix-A.3 |
| AuditEvent.outcome.code | Base | required | Audit Event Outcome | 📦5.0.0 | Estándar FHIR | |
| AuditEvent.outcome.detail | Base | example | Audit Event Outcome Detail | 📍5.0.0 | Estándar FHIR |
A code that provides details as the exact issue. |
| AuditEvent.authorization | Base | required | Propósito de uso | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| AuditEvent.agent.type | Base | required | Tipo de agente de auditoría | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| AuditEvent.agent.role | Base | example | Security Role Type | 📍5.0.0 | Estándar FHIR |
What security role enabled the agent to participate in the event. |
| AuditEvent.agent.authorization | Base | example | PurposeOfUse | 📦3.1.0 | THO v7.5 |
The reason the activity took place. |
| AuditEvent.agent:solicitante.type | Base | required | Tipo de agente de auditoría | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| AuditEvent.agent:solicitante.role | Base | example | Security Role Type | 📍5.0.0 | Estándar FHIR |
What security role enabled the agent to participate in the event. |
| AuditEvent.agent:solicitante.authorization | Base | example | PurposeOfUse | 📦3.1.0 | THO v7.5 |
The reason the activity took place. |
| AuditEvent.agent:receptor.type | Base | required | Tipo de agente de auditoría | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| AuditEvent.agent:receptor.role | Base | example | Security Role Type | 📍5.0.0 | Estándar FHIR |
What security role enabled the agent to participate in the event. |
| AuditEvent.agent:receptor.authorization | Base | example | PurposeOfUse | 📦3.1.0 | THO v7.5 |
The reason the activity took place. |
| AuditEvent.source.type | Base | required | Audit Event Source Type | 📦5.0.0 | Estándar FHIR | |
| AuditEvent.entity.role | Base | required | Audit Event Entity Role | 📦5.0.0 | Estándar FHIR | |
| AuditEvent.entity.securityLabel | Base | example | Example set of Security Labels | 📍5.0.0 | Estándar FHIR |
Example Security Labels from the Healthcare Privacy and Security Classification System. |
| AuditEvent.entity.detail.type | Base | example | Audit Event ID | 📍5.0.0 | Estándar FHIR |
Additional detail about an entity used in an event. |
| Id | Nivel | Ruta(s) | Descripción | Expresión |
| cr-auditoria-accion | error | AuditEvent | La acción es coherente con la interacción: las lecturas, búsquedas e historias son R; create es C; update y patch son U; delete es D; las demás son E. |
code.coding.where(system = 'http://hl7.org/fhir/restful-interaction').all(iif(code in ('read' | 'vread' | 'search' | 'search-type' | 'search-system' | 'history' | 'history-instance' | 'history-type' | 'history-system'), %resource.action = 'R', iif(code = 'create', %resource.action = 'C', iif(code in ('update' | 'patch'), %resource.action = 'U', iif(code = 'delete', %resource.action = 'D', %resource.action = 'E')))))
|
| cr-auditoria-agentes | error | AuditEvent | El evento lleva un agente cliente y un agente servidor (DICOM 110152 y 110153). |
agent.where(type.coding.where(system = 'http://dicom.nema.org/resources/ontology/DCM' and code = '110152').exists()).exists() and agent.where(type.coding.where(system = 'http://dicom.nema.org/resources/ontology/DCM' and code = '110153').exists()).exists()
|
| cr-auditoria-detalle | error | AuditEvent | Un resultado que no es success lleva su detalle. |
outcome.code.code != 'success' implies outcome.detail.exists()
|
| cr-auditoria-entidades | error | AuditEvent | Cada entidad indica el recurso (what), salvo la consulta (role 24), que indica la consulta (query). |
entity.all(iif(role.coding.where(code = '24').exists(), query.exists(), what.exists()))
|
| cr-auditoria-fechas | error | AuditEvent | La fecha del evento no es posterior a la fecha de registro. |
occurred.ofType(dateTime).empty() or occurred.ofType(dateTime) <= recorded
|
| cr-auditoria-paciente | error | AuditEvent | El paciente del evento va también como entidad con role 1 (Patient), como en IHE BALP. |
patient.exists() implies entity.where(role.coding.where(system = 'http://terminology.hl7.org/CodeSystem/object-role' and code = '1').exists()).exists()
|
| cr-auditoria-paciente-coherente | error | AuditEvent | Cuando patient y la entidad Patient usan referencias literales, apuntan al mismo paciente. |
patient.reference.exists() implies entity.where(role.coding.where(system = 'http://terminology.hl7.org/CodeSystem/object-role' and code = '1').exists() and what.reference = %resource.patient.reference).exists()
|
| cr-auditoria-proposito | error | AuditEvent | Un evento con datos de un paciente indica el propósito de uso. |
patient.exists() implies authorization.exists()
|
| cr-auditoria-red | error | AuditEvent | El cliente y el servidor indican su red (dirección IP, subsistema X-Road o URL). |
agent.where(type.coding.where(code = '110153' or code = '110152').exists()).all(network.exists())
|
| cr-auditoria-rest | error | AuditEvent | Un evento rest lleva el código de la interacción REST. |
category.coding.where(code = 'rest').exists() implies code.coding.where(system = 'http://hl7.org/fhir/restful-interaction').exists()
|
| cr-auditoria-solicitante | error | AuditEvent | Hay un solo solicitante (requestor = true): el usuario o, si no hay usuario, el cliente. |
agent.where(requestor = true).count() = 1
|
| cr-documento-fecha-hora | error | AuditEvent.occurred[x] | La fecha lleva fecha y hora, no solo la fecha. |
toString().contains('T')
|
| dom-2 | error | AuditEvent | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | AuditEvent | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | AuditEvent | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | AuditEvent | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | buena práctica | AuditEvent | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **TODOS** los elementos | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **TODAS** las extensiones | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Esta estructura se deriva de CRAuditEvent .
Resumen
Obligatorios: 6 elementos
Debe dar soporte a: 4 elementos
Estructuras
Esta estructura hace referencia a estas otras estructuras:
Slices
Esta estructura define los siguientes slices:
Vista de elementos clave
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | CRAuditEvent | Evento de auditoría: quién accedió a qué y con qué resultado Constraints: cr-auditoria-rest, cr-auditoria-accion, cr-auditoria-detalle, cr-auditoria-proposito, cr-auditoria-agentes, cr-auditoria-red, cr-auditoria-solicitante, cr-auditoria-paciente, cr-auditoria-paciente-coherente, cr-auditoria-entidades, cr-auditoria-fechas |
![]() ![]() |
0..1 | uri | Reglas que rigen la interpretación del contenido del recurso | |
![]() ![]() |
0..1 | Narrative | Resumen narrativo del recurso para su interpretación humana Este perfil no restringe el contenido de la narrativa, su idioma ni su correspondencia con los elementos de datos | |
![]() ![]() |
0..* | Resource | Recursos contenidos en línea | |
![]() ![]() |
0..* | Extension | Extensiones modificadoras que no deben ignorarse, aunque no se reconozcan | |
![]() ![]() |
1..1 | CodeableConcept | Categoría del evento (REST, DICOM, etc.) Vinculación: Categoría del evento de auditoría (required) | |
![]() ![]() |
1..1 | CodeableConcept | Tipo específico de acción (read, create, query, etc.) Vinculación: AuditEventSubType (extensible) | |
![]() ![]() |
1..1 | code | Acción CRUD: C=create, R=read, U=update, D=delete, E=execute Vinculación: AuditEventAction (required): DICOM Audit Event Action | |
![]() ![]() |
0..1 | code | Severidad del evento (informational para flujo normal) Vinculación: AuditEventSeverity (required): This is in the SysLog header, PRI. http://tools.ietf.org/html/rfc5424#appendix-A.3 | |
![]() ![]() |
C | 0..1 | dateTime | Cuándo ocurrió el evento (no posterior al registro) Constraints: cr-documento-fecha-hora |
![]() ![]() |
1..1 | instant | Fecha y hora del evento | |
![]() ![]() |
1..1 | BackboneElement | Resultado del evento: éxito o fallo | |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
1..1 | Coding | success | warning | error | fatal Vinculación: AuditEventOutcome (required) | |
![]() ![]() ![]() |
0..* | CodeableConcept | Detalle (código HTTP y texto), sin datos clínicos Vinculación: AuditEventOutcomeDetail (example): A code that provides details as the exact issue. | |
![]() ![]() |
0..1 | CodeableConcept | Propósito de uso: TREAT | ETREAT | COC | PATRQT | PUBHLTH | HRESCH | HOPERAT | HSYSADMIN | HLEGAL Vinculación: Propósito de uso (required) | |
![]() ![]() |
0..1 | Reference(Paciente) | Paciente de los datos (un evento por paciente) | |
![]() ![]() |
2..* | BackboneElement | Actor que realizó o solicitó la acción Slice: Sin orden, Abierto by value:requestor Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
Contenido y reglas para todos los slices | |||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | 110152 (destino) | 110153 (origen) | IRCP (usuario) Vinculación: Tipo de agente de auditoría (required) | |
![]() ![]() ![]() ![]() |
1..1 | Reference(Sistema de información | Rol del profesional | Profesional de salud | Paciente) | El sistema registrado en el HIE, o la persona usuaria | |
![]() ![]() ![]() ![]() |
0..1 | boolean | true para el usuario o, si no hay usuario, para el cliente | |
![]() ![]() ![]() ![]() |
0..1 | uri | Identificador del token (jti) del usuario | |
![]() ![]() ![]() ![]() |
0..1 | Red: la IP o el subsistema X-Road del cliente, la URL del servidor | ||
![]() ![]() ![]() ![]() ![]() |
Reference(Endpoint) | |||
![]() ![]() ![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() |
1..1 | BackboneElement | El cliente, el servidor y, si la hace una persona, el usuario | |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Rol del agente solicitante (Client, Source, etc.) Vinculación: Tipo de agente de auditoría (required) | |
![]() ![]() ![]() ![]() |
1..1 | Reference(Sistema de información | PractitionerRole - Resultados de Laboratorio | Practitioner - Resultados de Laboratorio | Patient - Resultados de Laboratorio) | Sistema registrado o persona que inició la acción | |
![]() ![]() ![]() ![]() |
1..1 | boolean | true: este agente inició la solicitud Patrón requerido: true (extensions allowed) | |
![]() ![]() ![]() ![]() |
0..1 | uri | Identificador del token (jti) del usuario | |
![]() ![]() ![]() ![]() |
0..1 | Red: la IP o el subsistema X-Road del cliente, la URL del servidor | ||
![]() ![]() ![]() ![]() ![]() |
Reference(Endpoint) | |||
![]() ![]() ![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() |
1..1 | BackboneElement | El cliente, el servidor y, si la hace una persona, el usuario | |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Rol del agente receptor (Repository, Registry, etc.) Vinculación: Tipo de agente de auditoría (required) | |
![]() ![]() ![]() ![]() |
1..1 | Reference(Sistema de información) | Sistema que recibió y procesó la solicitud | |
![]() ![]() ![]() ![]() |
1..1 | boolean | false: este agente recibió/procesó la solicitud Patrón requerido: false (extensions allowed) | |
![]() ![]() ![]() ![]() |
0..1 | uri | Identificador del token (jti) del usuario | |
![]() ![]() ![]() ![]() |
0..1 | Red: la IP o el subsistema X-Road del cliente, la URL del servidor | ||
![]() ![]() ![]() ![]() ![]() |
Reference(Endpoint) | |||
![]() ![]() ![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() ![]() ![]() |
string | |||
![]() ![]() |
1..1 | BackboneElement | Quién registró el evento | |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
1..1 | Reference(Sistema de información) | Sistema que genera y reporta este AuditEvent | |
![]() ![]() ![]() |
1..1 | CodeableConcept | Tipo de la fuente (4: servidor de aplicaciones) Vinculación: AuditEventSourceType (required) | |
![]() ![]() |
1..* | BackboneElement | Recurso FHIR sobre el que se realizó la acción | |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
1..1 | Reference(Resource) | Referencia al recurso afectado (DiagnosticReport, Patient, Consent, etc.) | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Rol del recurso en el evento (object, query, etc.) Vinculación: AuditEventEntityRole (required) | |
![]() ![]() ![]() |
0..* | CodeableConcept | Las etiquetas de seguridad del recurso Vinculación: SecurityLabelExamples (example): Example Security Labels from the Healthcare Privacy and Security Classification System. | |
![]() ![]() ![]() |
0..1 | base64Binary | La consulta, en base64 (solo en la entidad consulta) | |
Documentación de este formato | ||||
| Ruta | Estado | Uso | Conjunto de valores | Versión | Fuente | Documentación |
| AuditEvent.category | Base | required | Categoría del evento de auditoría | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| AuditEvent.code | Base | extensible | Audit Event Sub-Type | 📦5.0.0 | Estándar FHIR | |
| AuditEvent.action | Base | required | Audit Event Action | 📍5.0.0 | Estándar FHIR |
DICOM Audit Event Action |
| AuditEvent.severity | Base | required | Audit Event Severity | 📍5.0.0 | Estándar FHIR |
This is in the SysLog header, PRI. http://tools.ietf.org/html/rfc5424#appendix-A.3 |
| AuditEvent.outcome.code | Base | required | Audit Event Outcome | 📦5.0.0 | Estándar FHIR | |
| AuditEvent.outcome.detail | Base | example | Audit Event Outcome Detail | 📍5.0.0 | Estándar FHIR |
A code that provides details as the exact issue. |
| AuditEvent.authorization | Base | required | Propósito de uso | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| AuditEvent.agent.type | Base | required | Tipo de agente de auditoría | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| AuditEvent.agent:solicitante.type | Base | required | Tipo de agente de auditoría | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| AuditEvent.agent:receptor.type | Base | required | Tipo de agente de auditoría | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| AuditEvent.source.type | Base | required | Audit Event Source Type | 📦5.0.0 | Estándar FHIR | |
| AuditEvent.entity.role | Base | required | Audit Event Entity Role | 📦5.0.0 | Estándar FHIR | |
| AuditEvent.entity.securityLabel | Base | example | Example set of Security Labels | 📍5.0.0 | Estándar FHIR |
Example Security Labels from the Healthcare Privacy and Security Classification System. |
| Id | Nivel | Ruta(s) | Descripción | Expresión |
| cr-auditoria-accion | error | AuditEvent | La acción es coherente con la interacción: las lecturas, búsquedas e historias son R; create es C; update y patch son U; delete es D; las demás son E. |
code.coding.where(system = 'http://hl7.org/fhir/restful-interaction').all(iif(code in ('read' | 'vread' | 'search' | 'search-type' | 'search-system' | 'history' | 'history-instance' | 'history-type' | 'history-system'), %resource.action = 'R', iif(code = 'create', %resource.action = 'C', iif(code in ('update' | 'patch'), %resource.action = 'U', iif(code = 'delete', %resource.action = 'D', %resource.action = 'E')))))
|
| cr-auditoria-agentes | error | AuditEvent | El evento lleva un agente cliente y un agente servidor (DICOM 110152 y 110153). |
agent.where(type.coding.where(system = 'http://dicom.nema.org/resources/ontology/DCM' and code = '110152').exists()).exists() and agent.where(type.coding.where(system = 'http://dicom.nema.org/resources/ontology/DCM' and code = '110153').exists()).exists()
|
| cr-auditoria-detalle | error | AuditEvent | Un resultado que no es success lleva su detalle. |
outcome.code.code != 'success' implies outcome.detail.exists()
|
| cr-auditoria-entidades | error | AuditEvent | Cada entidad indica el recurso (what), salvo la consulta (role 24), que indica la consulta (query). |
entity.all(iif(role.coding.where(code = '24').exists(), query.exists(), what.exists()))
|
| cr-auditoria-fechas | error | AuditEvent | La fecha del evento no es posterior a la fecha de registro. |
occurred.ofType(dateTime).empty() or occurred.ofType(dateTime) <= recorded
|
| cr-auditoria-paciente | error | AuditEvent | El paciente del evento va también como entidad con role 1 (Patient), como en IHE BALP. |
patient.exists() implies entity.where(role.coding.where(system = 'http://terminology.hl7.org/CodeSystem/object-role' and code = '1').exists()).exists()
|
| cr-auditoria-paciente-coherente | error | AuditEvent | Cuando patient y la entidad Patient usan referencias literales, apuntan al mismo paciente. |
patient.reference.exists() implies entity.where(role.coding.where(system = 'http://terminology.hl7.org/CodeSystem/object-role' and code = '1').exists() and what.reference = %resource.patient.reference).exists()
|
| cr-auditoria-proposito | error | AuditEvent | Un evento con datos de un paciente indica el propósito de uso. |
patient.exists() implies authorization.exists()
|
| cr-auditoria-red | error | AuditEvent | El cliente y el servidor indican su red (dirección IP, subsistema X-Road o URL). |
agent.where(type.coding.where(code = '110153' or code = '110152').exists()).all(network.exists())
|
| cr-auditoria-rest | error | AuditEvent | Un evento rest lleva el código de la interacción REST. |
category.coding.where(code = 'rest').exists() implies code.coding.where(system = 'http://hl7.org/fhir/restful-interaction').exists()
|
| cr-auditoria-solicitante | error | AuditEvent | Hay un solo solicitante (requestor = true): el usuario o, si no hay usuario, el cliente. |
agent.where(requestor = true).count() = 1
|
| cr-documento-fecha-hora | error | AuditEvent.occurred[x] | La fecha lleva fecha y hora, no solo la fecha. |
toString().contains('T')
|
| dom-2 | error | AuditEvent | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | AuditEvent | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | AuditEvent | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | AuditEvent | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | buena práctica | AuditEvent | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **TODOS** los elementos | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **TODAS** las extensiones | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Vista diferencial
Esta estructura se deriva de CRAuditEvent .
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | CRAuditEvent | Evento de auditoría: quién accedió a qué y con qué resultado | |
![]() ![]() |
1..1 | CodeableConcept | Categoría del evento (REST, DICOM, etc.) Other Changes: documentation | |
![]() ![]() |
1..1 | CodeableConcept | Tipo específico de acción (read, create, query, etc.) Vinculación: AuditEventSubType (extensible) Other Changes: documentation | |
![]() ![]() |
1..1 | code | Acción CRUD: C=create, R=read, U=update, D=delete, E=execute Other Changes: documentation | |
![]() ![]() |
0..1 | code | Severidad del evento (informational para flujo normal) | |
![]() ![]() |
1..1 | instant | Fecha y hora del evento Other Changes: documentation | |
![]() ![]() |
1..1 | BackboneElement | Resultado del evento: éxito o fallo Other Changes: documentation | |
![]() ![]() |
2..* | BackboneElement | Actor que realizó o solicitó la acción Slice: Sin orden, Abierto by value:requestor Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
1..1 | BackboneElement | El cliente, el servidor y, si la hace una persona, el usuario | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Rol del agente solicitante (Client, Source, etc.) | |
![]() ![]() ![]() ![]() |
1..1 | Reference(Sistema de información | PractitionerRole - Resultados de Laboratorio | Practitioner - Resultados de Laboratorio | Patient - Resultados de Laboratorio) | Sistema registrado o persona que inició la acción | |
![]() ![]() ![]() ![]() |
1..1 | boolean | true: este agente inició la solicitud Patrón requerido: true (extensions allowed) | |
![]() ![]() ![]() |
1..1 | BackboneElement | El cliente, el servidor y, si la hace una persona, el usuario | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Rol del agente receptor (Repository, Registry, etc.) | |
![]() ![]() ![]() ![]() |
1..1 | Reference(Sistema de información) | Sistema que recibió y procesó la solicitud | |
![]() ![]() ![]() ![]() |
1..1 | boolean | false: este agente recibió/procesó la solicitud Patrón requerido: false (extensions allowed) | |
![]() ![]() |
1..1 | BackboneElement | Quién registró el evento | |
![]() ![]() ![]() |
1..1 | Reference(Sistema de información) | Sistema que genera y reporta este AuditEvent Other Changes: documentation | |
![]() ![]() |
1..* | BackboneElement | Recurso FHIR sobre el que se realizó la acción Other Changes: documentation | |
![]() ![]() ![]() |
1..1 | Reference(Resource) | Referencia al recurso afectado (DiagnosticReport, Patient, Consent, etc.) | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Rol del recurso en el evento (object, query, etc.) | |
Documentación de este formato | ||||
| Ruta | Estado | Uso | Conjunto de valores | Versión | Fuente |
| AuditEvent.code | Base | extensible | Audit Event Sub-Type | 📦5.0.0 | Estándar FHIR |
Vista instantáneaView
| Nombre | Marcas | Card. | Tipo | Descripción y restricciones Filter: ![]() | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | CRAuditEvent | Evento de auditoría: quién accedió a qué y con qué resultado Constraints: cr-auditoria-rest, cr-auditoria-accion, cr-auditoria-detalle, cr-auditoria-proposito, cr-auditoria-agentes, cr-auditoria-red, cr-auditoria-solicitante, cr-auditoria-paciente, cr-auditoria-paciente-coherente, cr-auditoria-entidades, cr-auditoria-fechas | ||||||
![]() ![]() |
0..1 | id | Identificador lógico del recurso | |||||||
![]() ![]() |
0..1 | Meta | Metadatos del recurso | |||||||
![]() ![]() |
0..1 | uri | Reglas que rigen la interpretación del contenido del recurso | |||||||
![]() ![]() |
0..1 | code | Idioma del contenido del recurso Vinculación: AllLanguages (required): Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.
| |||||||
![]() ![]() |
0..1 | Narrative | Resumen narrativo del recurso para su interpretación humana Este perfil no restringe el contenido de la narrativa, su idioma ni su correspondencia con los elementos de datos | |||||||
![]() ![]() |
0..* | Resource | Recursos contenidos en línea | |||||||
![]() ![]() |
0..* | Extension | Contenido adicional definido por las implementaciones | |||||||
![]() ![]() |
0..* | Extension | Extensiones modificadoras que no deben ignorarse, aunque no se reconozcan | |||||||
![]() ![]() |
1..1 | CodeableConcept | Categoría del evento (REST, DICOM, etc.) Vinculación: Categoría del evento de auditoría (required) | |||||||
![]() ![]() |
1..1 | CodeableConcept | Tipo específico de acción (read, create, query, etc.) Vinculación: AuditEventSubType (extensible) | |||||||
![]() ![]() |
1..1 | code | Acción CRUD: C=create, R=read, U=update, D=delete, E=execute Vinculación: AuditEventAction (required): DICOM Audit Event Action | |||||||
![]() ![]() |
0..1 | code | Severidad del evento (informational para flujo normal) Vinculación: AuditEventSeverity (required): This is in the SysLog header, PRI. http://tools.ietf.org/html/rfc5424#appendix-A.3 | |||||||
![]() ![]() |
C | 0..1 | dateTime | Cuándo ocurrió el evento (no posterior al registro) Constraints: cr-documento-fecha-hora | ||||||
![]() ![]() |
1..1 | instant | Fecha y hora del evento | |||||||
![]() ![]() |
1..1 | BackboneElement | Resultado del evento: éxito o fallo | |||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() |
1..1 | Coding | success | warning | error | fatal Vinculación: AuditEventOutcome (required) | |||||||
![]() ![]() ![]() |
0..* | CodeableConcept | Detalle (código HTTP y texto), sin datos clínicos Vinculación: AuditEventOutcomeDetail (example): A code that provides details as the exact issue. | |||||||
![]() ![]() |
0..1 | CodeableConcept | Propósito de uso: TREAT | ETREAT | COC | PATRQT | PUBHLTH | HRESCH | HOPERAT | HSYSADMIN | HLEGAL Vinculación: Propósito de uso (required) | |||||||
![]() ![]() |
0..* | Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest | Task) | Workflow authorization within which this event occurred | |||||||
![]() ![]() |
0..1 | Reference(Paciente) | Paciente de los datos (un evento por paciente) | |||||||
![]() ![]() |
0..1 | Reference(Encounter) | Encounter within which this event occurred or which the event is tightly associated | |||||||
![]() ![]() |
2..* | BackboneElement | Actor que realizó o solicitó la acción Slice: Sin orden, Abierto by value:requestor Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||||
![]() ![]() ![]() |
Contenido y reglas para todos los slices | |||||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | 110152 (destino) | 110153 (origen) | IRCP (usuario) Vinculación: Tipo de agente de auditoría (required) | |||||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | Agent role in the event Vinculación: SecurityRoleType (example): What security role enabled the agent to participate in the event. | |||||||
![]() ![]() ![]() ![]() |
1..1 | Reference(Sistema de información | Rol del profesional | Profesional de salud | Paciente) | El sistema registrado en el HIE, o la persona usuaria | |||||||
![]() ![]() ![]() ![]() |
0..1 | boolean | true para el usuario o, si no hay usuario, para el cliente | |||||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Location) | The agent location when the event occurred | |||||||
![]() ![]() ![]() ![]() |
0..1 | uri | Identificador del token (jti) del usuario | |||||||
![]() ![]() ![]() ![]() |
0..1 | Red: la IP o el subsistema X-Road del cliente, la URL del servidor | ||||||||
![]() ![]() ![]() ![]() ![]() |
Reference(Endpoint) | |||||||||
![]() ![]() ![]() ![]() ![]() |
uri | |||||||||
![]() ![]() ![]() ![]() ![]() |
string | |||||||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | Allowable authorization for this agent Vinculación: PurposeOfUse (example): The reason the activity took place. | |||||||
![]() ![]() ![]() |
1..1 | BackboneElement | El cliente, el servidor y, si la hace una persona, el usuario | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Rol del agente solicitante (Client, Source, etc.) Vinculación: Tipo de agente de auditoría (required) | |||||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | Agent role in the event Vinculación: SecurityRoleType (example): What security role enabled the agent to participate in the event. | |||||||
![]() ![]() ![]() ![]() |
1..1 | Reference(Sistema de información | PractitionerRole - Resultados de Laboratorio | Practitioner - Resultados de Laboratorio | Patient - Resultados de Laboratorio) | Sistema registrado o persona que inició la acción | |||||||
![]() ![]() ![]() ![]() |
1..1 | boolean | true: este agente inició la solicitud Patrón requerido: true (extensions allowed) | |||||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Location) | The agent location when the event occurred | |||||||
![]() ![]() ![]() ![]() |
0..1 | uri | Identificador del token (jti) del usuario | |||||||
![]() ![]() ![]() ![]() |
0..1 | Red: la IP o el subsistema X-Road del cliente, la URL del servidor | ||||||||
![]() ![]() ![]() ![]() ![]() |
Reference(Endpoint) | |||||||||
![]() ![]() ![]() ![]() ![]() |
uri | |||||||||
![]() ![]() ![]() ![]() ![]() |
string | |||||||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | Allowable authorization for this agent Vinculación: PurposeOfUse (example): The reason the activity took place. | |||||||
![]() ![]() ![]() |
1..1 | BackboneElement | El cliente, el servidor y, si la hace una persona, el usuario | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Rol del agente receptor (Repository, Registry, etc.) Vinculación: Tipo de agente de auditoría (required) | |||||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | Agent role in the event Vinculación: SecurityRoleType (example): What security role enabled the agent to participate in the event. | |||||||
![]() ![]() ![]() ![]() |
1..1 | Reference(Sistema de información) | Sistema que recibió y procesó la solicitud | |||||||
![]() ![]() ![]() ![]() |
1..1 | boolean | false: este agente recibió/procesó la solicitud Patrón requerido: false (extensions allowed) | |||||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Location) | The agent location when the event occurred | |||||||
![]() ![]() ![]() ![]() |
0..1 | uri | Identificador del token (jti) del usuario | |||||||
![]() ![]() ![]() ![]() |
0..1 | Red: la IP o el subsistema X-Road del cliente, la URL del servidor | ||||||||
![]() ![]() ![]() ![]() ![]() |
Reference(Endpoint) | |||||||||
![]() ![]() ![]() ![]() ![]() |
uri | |||||||||
![]() ![]() ![]() ![]() ![]() |
string | |||||||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | Allowable authorization for this agent Vinculación: PurposeOfUse (example): The reason the activity took place. | |||||||
![]() ![]() |
1..1 | BackboneElement | Quién registró el evento | |||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() |
0..1 | Reference(Location) | Logical source location within the enterprise | |||||||
![]() ![]() ![]() |
1..1 | Reference(Sistema de información) | Sistema que genera y reporta este AuditEvent | |||||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Tipo de la fuente (4: servidor de aplicaciones) Vinculación: AuditEventSourceType (required) | |||||||
![]() ![]() |
1..* | BackboneElement | Recurso FHIR sobre el que se realizó la acción | |||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() |
1..1 | Reference(Resource) | Referencia al recurso afectado (DiagnosticReport, Patient, Consent, etc.) | |||||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Rol del recurso en el evento (object, query, etc.) Vinculación: AuditEventEntityRole (required) | |||||||
![]() ![]() ![]() |
0..* | CodeableConcept | Las etiquetas de seguridad del recurso Vinculación: SecurityLabelExamples (example): Example Security Labels from the Healthcare Privacy and Security Classification System. | |||||||
![]() ![]() ![]() |
0..1 | base64Binary | La consulta, en base64 (solo en la entidad consulta) | |||||||
![]() ![]() ![]() |
0..* | BackboneElement | Additional Information about the entity | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Name of the property Vinculación: AuditEventID (example): Additional detail about an entity used in an event. | |||||||
![]() ![]() ![]() ![]() |
1..1 | Property value | ||||||||
![]() ![]() ![]() ![]() ![]() |
Quantity | |||||||||
![]() ![]() ![]() ![]() ![]() |
CodeableConcept | |||||||||
![]() ![]() ![]() ![]() ![]() |
string | |||||||||
![]() ![]() ![]() ![]() ![]() |
boolean | |||||||||
![]() ![]() ![]() ![]() ![]() |
integer | |||||||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||||
![]() ![]() ![]() ![]() ![]() |
Ratio | |||||||||
![]() ![]() ![]() ![]() ![]() |
time | |||||||||
![]() ![]() ![]() ![]() ![]() |
dateTime | |||||||||
![]() ![]() ![]() ![]() ![]() |
Period | |||||||||
![]() ![]() ![]() ![]() ![]() |
base64Binary | |||||||||
![]() ![]() ![]() |
0..* | Vea agent (AuditEvent) | Entity is attributed to this agent | |||||||
Documentación de este formato | ||||||||||
| Ruta | Estado | Uso | Conjunto de valores | Versión | Fuente | Documentación |
| AuditEvent.language | Base | required | All Languages | 📍5.0.0 | Estándar FHIR |
Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47. |
| Additional / all | Inicial | Common Languages | 📍5.0.0 | Estándar FHIR | ||
| Additional / all | Inicial | Common Languages | 📦5.0.0 | Estándar FHIR | ||
| AuditEvent.category | Base | required | Categoría del evento de auditoría | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| AuditEvent.code | Base | extensible | Audit Event Sub-Type | 📦5.0.0 | Estándar FHIR | |
| AuditEvent.action | Base | required | Audit Event Action | 📍5.0.0 | Estándar FHIR |
DICOM Audit Event Action |
| AuditEvent.severity | Base | required | Audit Event Severity | 📍5.0.0 | Estándar FHIR |
This is in the SysLog header, PRI. http://tools.ietf.org/html/rfc5424#appendix-A.3 |
| AuditEvent.outcome.code | Base | required | Audit Event Outcome | 📦5.0.0 | Estándar FHIR | |
| AuditEvent.outcome.detail | Base | example | Audit Event Outcome Detail | 📍5.0.0 | Estándar FHIR |
A code that provides details as the exact issue. |
| AuditEvent.authorization | Base | required | Propósito de uso | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| AuditEvent.agent.type | Base | required | Tipo de agente de auditoría | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| AuditEvent.agent.role | Base | example | Security Role Type | 📍5.0.0 | Estándar FHIR |
What security role enabled the agent to participate in the event. |
| AuditEvent.agent.authorization | Base | example | PurposeOfUse | 📦3.1.0 | THO v7.5 |
The reason the activity took place. |
| AuditEvent.agent:solicitante.type | Base | required | Tipo de agente de auditoría | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| AuditEvent.agent:solicitante.role | Base | example | Security Role Type | 📍5.0.0 | Estándar FHIR |
What security role enabled the agent to participate in the event. |
| AuditEvent.agent:solicitante.authorization | Base | example | PurposeOfUse | 📦3.1.0 | THO v7.5 |
The reason the activity took place. |
| AuditEvent.agent:receptor.type | Base | required | Tipo de agente de auditoría | 📦0.1.0 | Guía de Implementación de Terminología de Costa Rica vnull | |
| AuditEvent.agent:receptor.role | Base | example | Security Role Type | 📍5.0.0 | Estándar FHIR |
What security role enabled the agent to participate in the event. |
| AuditEvent.agent:receptor.authorization | Base | example | PurposeOfUse | 📦3.1.0 | THO v7.5 |
The reason the activity took place. |
| AuditEvent.source.type | Base | required | Audit Event Source Type | 📦5.0.0 | Estándar FHIR | |
| AuditEvent.entity.role | Base | required | Audit Event Entity Role | 📦5.0.0 | Estándar FHIR | |
| AuditEvent.entity.securityLabel | Base | example | Example set of Security Labels | 📍5.0.0 | Estándar FHIR |
Example Security Labels from the Healthcare Privacy and Security Classification System. |
| AuditEvent.entity.detail.type | Base | example | Audit Event ID | 📍5.0.0 | Estándar FHIR |
Additional detail about an entity used in an event. |
| Id | Nivel | Ruta(s) | Descripción | Expresión |
| cr-auditoria-accion | error | AuditEvent | La acción es coherente con la interacción: las lecturas, búsquedas e historias son R; create es C; update y patch son U; delete es D; las demás son E. |
code.coding.where(system = 'http://hl7.org/fhir/restful-interaction').all(iif(code in ('read' | 'vread' | 'search' | 'search-type' | 'search-system' | 'history' | 'history-instance' | 'history-type' | 'history-system'), %resource.action = 'R', iif(code = 'create', %resource.action = 'C', iif(code in ('update' | 'patch'), %resource.action = 'U', iif(code = 'delete', %resource.action = 'D', %resource.action = 'E')))))
|
| cr-auditoria-agentes | error | AuditEvent | El evento lleva un agente cliente y un agente servidor (DICOM 110152 y 110153). |
agent.where(type.coding.where(system = 'http://dicom.nema.org/resources/ontology/DCM' and code = '110152').exists()).exists() and agent.where(type.coding.where(system = 'http://dicom.nema.org/resources/ontology/DCM' and code = '110153').exists()).exists()
|
| cr-auditoria-detalle | error | AuditEvent | Un resultado que no es success lleva su detalle. |
outcome.code.code != 'success' implies outcome.detail.exists()
|
| cr-auditoria-entidades | error | AuditEvent | Cada entidad indica el recurso (what), salvo la consulta (role 24), que indica la consulta (query). |
entity.all(iif(role.coding.where(code = '24').exists(), query.exists(), what.exists()))
|
| cr-auditoria-fechas | error | AuditEvent | La fecha del evento no es posterior a la fecha de registro. |
occurred.ofType(dateTime).empty() or occurred.ofType(dateTime) <= recorded
|
| cr-auditoria-paciente | error | AuditEvent | El paciente del evento va también como entidad con role 1 (Patient), como en IHE BALP. |
patient.exists() implies entity.where(role.coding.where(system = 'http://terminology.hl7.org/CodeSystem/object-role' and code = '1').exists()).exists()
|
| cr-auditoria-paciente-coherente | error | AuditEvent | Cuando patient y la entidad Patient usan referencias literales, apuntan al mismo paciente. |
patient.reference.exists() implies entity.where(role.coding.where(system = 'http://terminology.hl7.org/CodeSystem/object-role' and code = '1').exists() and what.reference = %resource.patient.reference).exists()
|
| cr-auditoria-proposito | error | AuditEvent | Un evento con datos de un paciente indica el propósito de uso. |
patient.exists() implies authorization.exists()
|
| cr-auditoria-red | error | AuditEvent | El cliente y el servidor indican su red (dirección IP, subsistema X-Road o URL). |
agent.where(type.coding.where(code = '110153' or code = '110152').exists()).all(network.exists())
|
| cr-auditoria-rest | error | AuditEvent | Un evento rest lleva el código de la interacción REST. |
category.coding.where(code = 'rest').exists() implies code.coding.where(system = 'http://hl7.org/fhir/restful-interaction').exists()
|
| cr-auditoria-solicitante | error | AuditEvent | Hay un solo solicitante (requestor = true): el usuario o, si no hay usuario, el cliente. |
agent.where(requestor = true).count() = 1
|
| cr-documento-fecha-hora | error | AuditEvent.occurred[x] | La fecha lleva fecha y hora, no solo la fecha. |
toString().contains('T')
|
| dom-2 | error | AuditEvent | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | AuditEvent | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | AuditEvent | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | AuditEvent | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | buena práctica | AuditEvent | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **TODOS** los elementos | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **TODAS** las extensiones | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Esta estructura se deriva de CRAuditEvent .
Resumen
Obligatorios: 6 elementos
Debe dar soporte a: 4 elementos
Estructuras
Esta estructura hace referencia a estas otras estructuras:
Slices
Esta estructura define los siguientes slices:
Otras representaciones de perfil: CSV, Excel, Schematron