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

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

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

Defining URL:http://hl7.org.cn/fhir/StructureDefinition/profile-core-auditevent
Version:V20230304
Name:CoreAuditEvent
Title:核心审计事件结构定义
Status:Active as of 2023-03-04T16:13:14+08:00
Definition:

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

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

本定义的正式URL为:

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

定义内容的视图

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

这种结构源自 AuditEvent

Summary

Mandatory: 4 elements

 

本定义的其它表示法: Schematron

Terminology Bindings

PathConformanceValueSet
AuditEvent.languagepreferredCommonLanguages
Max Binding: AllLanguages
AuditEvent.typerequiredAuditEventID
AuditEvent.subtyperequiredAuditEventSub-Type
AuditEvent.actionrequiredAuditEventAction
AuditEvent.outcomerequiredAuditEventOutcome
AuditEvent.purposeOfEventextensiblePurposeOfUse
AuditEvent.agent.typeextensibleParticipationRoleType
AuditEvent.agent.roleexampleSecurityRoleType
AuditEvent.agent.mediaextensibleMediaTypeCode
AuditEvent.agent.network.typerequiredAuditEventAgentNetworkType
AuditEvent.agent.purposeOfUseextensiblePurposeOfUse
AuditEvent.source.typeextensibleAuditEventSourceType
AuditEvent.entity.typeextensibleAuditEventEntityType
AuditEvent.entity.roleextensibleAuditEventEntityRole
AuditEvent.entity.lifecycleextensibleObjectLifecycleEvents
AuditEvent.entity.securityLabelextensibleAll Security Labels

Constraints

IdPathDetailsRequirements
dom-2AuditEventIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3AuditEventIf 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4AuditEventIf 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-5AuditEventIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6AuditEventA resource should have narrative for robust management
: text.`div`.exists()
ele-1AuditEvent.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1AuditEvent.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1AuditEvent.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1AuditEvent.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1AuditEvent.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.subtypeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.actionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.recordedAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.outcomeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.outcomeDescAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.purposeOfEventAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.agentAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.agent.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1AuditEvent.agent.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1AuditEvent.agent.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1AuditEvent.agent.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1AuditEvent.agent.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.agent.roleAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.agent.whoAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.agent.altIdAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.agent.nameAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.agent.requestorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.agent.locationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.agent.policyAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.agent.mediaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.agent.networkAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.agent.network.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1AuditEvent.agent.network.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1AuditEvent.agent.network.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1AuditEvent.agent.network.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1AuditEvent.agent.network.addressAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.agent.network.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.agent.purposeOfUseAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.sourceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.source.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1AuditEvent.source.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1AuditEvent.source.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1AuditEvent.source.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1AuditEvent.source.siteAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.source.observerAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.source.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.entityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
sev-1AuditEvent.entityEither a name or a query (NOT both)
: name.empty() or query.empty()
ele-1AuditEvent.entity.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1AuditEvent.entity.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1AuditEvent.entity.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1AuditEvent.entity.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1AuditEvent.entity.whatAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.entity.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.entity.roleAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.entity.lifecycleAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.entity.securityLabelAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.entity.nameAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.entity.descriptionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.entity.queryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.entity.detailAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.entity.detail.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1AuditEvent.entity.detail.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1AuditEvent.entity.detail.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1AuditEvent.entity.detail.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1AuditEvent.entity.detail.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1AuditEvent.entity.detail.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())