HL7中国FHIR Connectathon测试实施指南
2024.4.23 - release

本指南适用于HL7中国的FHIR Connectathon测试。

Resource Profile: 核心审计事件结构定义

Defining URL:http://hl7.org.cn/fhir/StructureDefinition/profile-core-auditevent
Version:2024.4.23
Name:CoreAuditEvent
Title:核心审计事件结构定义
Status:Active as of 2024-04-23 21:03:23+0800
Definition:

核心审计事件资源本地化定义。

Publisher:HL7中国. HL7中国,
Source Resource:XML / JSON / Turtle

本定义的正式URL为:

http://hl7.org.cn/fhir/StructureDefinition/profile-core-auditevent

定义内容的视图

关于定义、差异、快照以及如何解读这些表示法

这种结构源自 AuditEvent

Summary

Mandatory: 6 elements

Slices

This structure defines the following Slices:

  • The element AuditEvent.occurred[x] is sliced based on the value of type:$this

 

本定义的其它表示法: Schematron

Terminology Bindings

PathConformanceValueSetURI
AuditEvent.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
from the FHIR Standard
AuditEvent.categoryrequiredAuditEventID
http://hl7.org/fhir/ValueSet/audit-event-type
from the FHIR Standard
AuditEvent.coderequiredAuditEventSubType
http://hl7.org/fhir/ValueSet/audit-event-sub-type
from the FHIR Standard
AuditEvent.actionrequiredAuditEventAction
http://hl7.org/fhir/ValueSet/audit-event-action|5.0.0
from the FHIR Standard
AuditEvent.severityrequiredAuditEventSeverity
http://hl7.org/fhir/ValueSet/audit-event-severity|5.0.0
from the FHIR Standard
AuditEvent.outcome.codepreferredAuditEventOutcome
http://hl7.org/fhir/ValueSet/audit-event-outcome
from the FHIR Standard
AuditEvent.outcome.detailexampleAuditEventOutcomeDetail
http://hl7.org/fhir/ValueSet/audit-event-outcome-detail
from the FHIR Standard
AuditEvent.authorizationexamplePurposeOfUse
http://terminology.hl7.org/ValueSet/v3-PurposeOfUse
AuditEvent.agent.typepreferredParticipationRoleType
http://hl7.org/fhir/ValueSet/participation-role-type
from the FHIR Standard
AuditEvent.agent.roleexampleSecurityRoleType
http://hl7.org/fhir/ValueSet/security-role-type
from the FHIR Standard
AuditEvent.agent.authorizationexamplePurposeOfUse
http://terminology.hl7.org/ValueSet/v3-PurposeOfUse
AuditEvent.source.typepreferredAuditEventSourceType
http://hl7.org/fhir/ValueSet/security-source-type
from the FHIR Standard
AuditEvent.entity.roleexampleAuditEventEntityRole
http://hl7.org/fhir/ValueSet/object-role
from the FHIR Standard
AuditEvent.entity.securityLabelexampleSecurityLabelExamples
http://hl7.org/fhir/ValueSet/security-label-examples
from the FHIR Standard
AuditEvent.entity.detail.typeexampleAuditEventID
http://hl7.org/fhir/ValueSet/audit-event-type
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorAuditEventIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorAuditEventIf 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-4errorAuditEventIf 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-5errorAuditEventIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceAuditEventA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()