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

HL7中国FHIR Connectathon测试实施指南 - Local Development build (v2025.3.12) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

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

官方URL: http://hl7.org.cn/fhir/connectathon/StructureDefinition/profile-core-auditevent 版本: 2025.3.12
Draft as of 2025-03-11 机读名称: CoreAuditEvent

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

Usage:

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraintsdoco
.. AuditEvent 0..* AuditEvent Record of an event
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: 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
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... contained 0..* Resource Contained, inline Resources
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... code Σ 1..1 CodeableConcept 审计事件类型(细粒度)
Binding: AuditEventSubType (required)
ele-1: All FHIR elements must have a @value or children
... action Σ 1..1 code 活动类型:创建、读取、更新、删除、执行
Binding: AuditEventAction (required): DICOM Audit Event Action


ele-1: All FHIR elements must have a @value or children
... occurred[x] 1..1 dateTime 活动发生时间
ele-1: All FHIR elements must have a @value or children
... recorded Σ 1..1 instant 审计记录时间
ele-1: All FHIR elements must have a @value or children
... outcome Σ 1..1 BackboneElement 执行结果:成功、一般错误、严重错误、重大错误
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... code Σ 1..1 Coding Whether the event succeeded or failed
Binding: AuditEventOutcome (preferred): DICOM Audit Event Outcome


ele-1: All FHIR elements must have a @value or children
... agent Σ 1..* BackboneElement 事件参与者
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... type 0..1 CodeableConcept 事件参与者类型
Binding: ParticipationRoleType (preferred): The Participation type of the agent to the event.


ele-1: All FHIR elements must have a @value or children
.... who Σ 1..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) 参与者(可以是系统或者人员)
ele-1: All FHIR elements must have a @value or children
.... requestor Σ 0..1 boolean 是否为事件的发起者
ele-1: All FHIR elements must have a @value or children
.... network[x] 1..1 网络信息
ele-1: All FHIR elements must have a @value or children
..... networkReference Reference(Endpoint)
..... networkUri uri
..... networkString string
... source Σ 1..1 BackboneElement 审计源,记录了提交审计事件的系统
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... site 0..1 Reference(Location) 审计源所处位置
ele-1: All FHIR elements must have a @value or children
.... observer Σ 1..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) 审计源系统标识
ele-1: All FHIR elements must have a @value or children
.... type 0..* CodeableConcept 审计源类型
Binding: AuditEventSourceType (preferred): Code specifying the type of system that detected and recorded the event. Use of these codes is not required but is encouraged to maintain translation with DICOM AuditMessage schema.


ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
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.outcome.codepreferredAuditEventOutcome
http://hl7.org/fhir/ValueSet/audit-event-outcome
from the FHIR Standard
AuditEvent.agent.typepreferredParticipationRoleType
http://hl7.org/fhir/ValueSet/participation-role-type
from the FHIR Standard
AuditEvent.source.typepreferredAuditEventSourceType
http://hl7.org/fhir/ValueSet/security-source-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()

该结构继承自 AuditEvent

NameFlagsCard.TypeDescription & Constraintsdoco
.. AuditEvent 0..* AuditEvent Record of an event
... category 1..1 CodeableConcept 审计事件分类(粗粒度)
Binding: AuditEventID (required)
... code 1..1 CodeableConcept 审计事件类型(细粒度)
Binding: AuditEventSubType (required)
... action 1..1 code 活动类型:创建、读取、更新、删除、执行
... recorded 1..1 instant 审计记录时间
... outcome 1..1 BackboneElement 执行结果:成功、一般错误、严重错误、重大错误
... agent 1..* BackboneElement 事件参与者
.... type 0..1 CodeableConcept 事件参与者类型
.... who 1..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) 参与者(可以是系统或者人员)
.... requestor 0..1 boolean 是否为事件的发起者
.... network[x] 1..1 Reference(Endpoint), uri, string 网络信息
... source 1..1 BackboneElement 审计源,记录了提交审计事件的系统
.... site 0..1 Reference(Location) 审计源所处位置
.... observer 1..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) 审计源系统标识
.... type 0..* CodeableConcept 审计源类型

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
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
NameFlagsCard.TypeDescription & Constraintsdoco
.. AuditEvent 0..* AuditEvent Record of an event
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... category Σ 1..1 CodeableConcept 审计事件分类(粗粒度)
Binding: AuditEventID (required)
... code Σ 1..1 CodeableConcept 审计事件类型(细粒度)
Binding: AuditEventSubType (required)
... action Σ 1..1 code 活动类型:创建、读取、更新、删除、执行
Binding: AuditEventAction (required): DICOM Audit Event Action

... severity Σ 0..1 code emergency | alert | critical | error | warning | notice | informational | debug
Binding: AuditEventSeverity (required): This is in the SysLog header, PRI. http://tools.ietf.org/html/rfc5424#appendix-A.3

... occurred[x] 1..1 dateTime 活动发生时间
... recorded Σ 1..1 instant 审计记录时间
... outcome Σ 1..1 BackboneElement 执行结果:成功、一般错误、严重错误、重大错误
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... code Σ 1..1 Coding Whether the event succeeded or failed
Binding: AuditEventOutcome (preferred): DICOM Audit Event Outcome

.... detail Σ 0..* CodeableConcept Additional outcome detail
Binding: AuditEventOutcomeDetail (example): A code that provides details as the exact issue.


... authorization Σ 0..* CodeableConcept Authorization related to the event
Binding: PurposeOfUse (example): The authorized purposeOfUse for the activity.


... basedOn 0..* Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest | Task) Workflow authorization within which this event occurred
... patient 0..1 Reference(Patient) The patient is the subject of the data used/created/updated/deleted during the activity
... encounter 0..1 Reference(Encounter) Encounter within which this event occurred or which the event is tightly associated
... agent Σ 1..* BackboneElement 事件参与者
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type 0..1 CodeableConcept 事件参与者类型
Binding: ParticipationRoleType (preferred): The Participation type of the agent to the event.

.... role 0..* CodeableConcept Agent role in the event
Binding: SecurityRoleType (example): What security role enabled the agent to participate in the event.


.... who Σ 1..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) 参与者(可以是系统或者人员)
.... requestor Σ 0..1 boolean 是否为事件的发起者
.... location 0..1 Reference(Location) The agent location when the event occurred
.... policy 0..* uri Policy that authorized the agent participation in the event
.... network[x] 1..1 网络信息
..... networkReference Reference(Endpoint)
..... networkUri uri
..... networkString string
.... authorization 0..* CodeableConcept Allowable authorization for this agent
Binding: PurposeOfUse (example): The reason the activity took place.


... source Σ 1..1 BackboneElement 审计源,记录了提交审计事件的系统
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... site 0..1 Reference(Location) 审计源所处位置
.... observer Σ 1..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) 审计源系统标识
.... type 0..* CodeableConcept 审计源类型
Binding: AuditEventSourceType (preferred): Code specifying the type of system that detected and recorded the event. Use of these codes is not required but is encouraged to maintain translation with DICOM AuditMessage schema.


... entity Σ 0..* BackboneElement Data or objects used
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... what Σ 0..1 Reference(Resource) Specific instance of resource
.... role 0..1 CodeableConcept What role the entity played
Binding: AuditEventEntityRole (example): DICOM Audit Event Entity Role

.... securityLabel 0..* CodeableConcept Security labels on the entity
Binding: SecurityLabelExamples (example): Example Security Labels from the Healthcare Privacy and Security Classification System.


.... query Σ 0..1 base64Binary Query parameters
.... detail 0..* BackboneElement Additional Information about the entity
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type 1..1 CodeableConcept Name of the property
Binding: AuditEventID (example): Additional detail about an entity used in an event.

..... value[x] 1..1 Property value
...... valueQuantity Quantity
...... valueCodeableConcept CodeableConcept
...... valueString string
...... valueBoolean boolean
...... valueInteger integer
...... valueRange Range
...... valueRatio Ratio
...... valueTime time
...... valueDateTime dateTime
...... valuePeriod Period
...... valueBase64Binary base64Binary
.... agent 0..* See agent (AuditEvent) Entity is attributed to this agent

doco Documentation for this format

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()

该结构继承自 AuditEvent

Summary

Mandatory: 5 elements

关键元素视图

NameFlagsCard.TypeDescription & Constraintsdoco
.. AuditEvent 0..* AuditEvent Record of an event
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: 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
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... contained 0..* Resource Contained, inline Resources
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... code Σ 1..1 CodeableConcept 审计事件类型(细粒度)
Binding: AuditEventSubType (required)
ele-1: All FHIR elements must have a @value or children
... action Σ 1..1 code 活动类型:创建、读取、更新、删除、执行
Binding: AuditEventAction (required): DICOM Audit Event Action


ele-1: All FHIR elements must have a @value or children
... occurred[x] 1..1 dateTime 活动发生时间
ele-1: All FHIR elements must have a @value or children
... recorded Σ 1..1 instant 审计记录时间
ele-1: All FHIR elements must have a @value or children
... outcome Σ 1..1 BackboneElement 执行结果:成功、一般错误、严重错误、重大错误
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... code Σ 1..1 Coding Whether the event succeeded or failed
Binding: AuditEventOutcome (preferred): DICOM Audit Event Outcome


ele-1: All FHIR elements must have a @value or children
... agent Σ 1..* BackboneElement 事件参与者
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... type 0..1 CodeableConcept 事件参与者类型
Binding: ParticipationRoleType (preferred): The Participation type of the agent to the event.


ele-1: All FHIR elements must have a @value or children
.... who Σ 1..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) 参与者(可以是系统或者人员)
ele-1: All FHIR elements must have a @value or children
.... requestor Σ 0..1 boolean 是否为事件的发起者
ele-1: All FHIR elements must have a @value or children
.... network[x] 1..1 网络信息
ele-1: All FHIR elements must have a @value or children
..... networkReference Reference(Endpoint)
..... networkUri uri
..... networkString string
... source Σ 1..1 BackboneElement 审计源,记录了提交审计事件的系统
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... site 0..1 Reference(Location) 审计源所处位置
ele-1: All FHIR elements must have a @value or children
.... observer Σ 1..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) 审计源系统标识
ele-1: All FHIR elements must have a @value or children
.... type 0..* CodeableConcept 审计源类型
Binding: AuditEventSourceType (preferred): Code specifying the type of system that detected and recorded the event. Use of these codes is not required but is encouraged to maintain translation with DICOM AuditMessage schema.


ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
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.outcome.codepreferredAuditEventOutcome
http://hl7.org/fhir/ValueSet/audit-event-outcome
from the FHIR Standard
AuditEvent.agent.typepreferredParticipationRoleType
http://hl7.org/fhir/ValueSet/participation-role-type
from the FHIR Standard
AuditEvent.source.typepreferredAuditEventSourceType
http://hl7.org/fhir/ValueSet/security-source-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()

差异视图

该结构继承自 AuditEvent

NameFlagsCard.TypeDescription & Constraintsdoco
.. AuditEvent 0..* AuditEvent Record of an event
... category 1..1 CodeableConcept 审计事件分类(粗粒度)
Binding: AuditEventID (required)
... code 1..1 CodeableConcept 审计事件类型(细粒度)
Binding: AuditEventSubType (required)
... action 1..1 code 活动类型:创建、读取、更新、删除、执行
... recorded 1..1 instant 审计记录时间
... outcome 1..1 BackboneElement 执行结果:成功、一般错误、严重错误、重大错误
... agent 1..* BackboneElement 事件参与者
.... type 0..1 CodeableConcept 事件参与者类型
.... who 1..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) 参与者(可以是系统或者人员)
.... requestor 0..1 boolean 是否为事件的发起者
.... network[x] 1..1 Reference(Endpoint), uri, string 网络信息
... source 1..1 BackboneElement 审计源,记录了提交审计事件的系统
.... site 0..1 Reference(Location) 审计源所处位置
.... observer 1..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) 审计源系统标识
.... type 0..* CodeableConcept 审计源类型

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
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

快照视图

NameFlagsCard.TypeDescription & Constraintsdoco
.. AuditEvent 0..* AuditEvent Record of an event
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... category Σ 1..1 CodeableConcept 审计事件分类(粗粒度)
Binding: AuditEventID (required)
... code Σ 1..1 CodeableConcept 审计事件类型(细粒度)
Binding: AuditEventSubType (required)
... action Σ 1..1 code 活动类型:创建、读取、更新、删除、执行
Binding: AuditEventAction (required): DICOM Audit Event Action

... severity Σ 0..1 code emergency | alert | critical | error | warning | notice | informational | debug
Binding: AuditEventSeverity (required): This is in the SysLog header, PRI. http://tools.ietf.org/html/rfc5424#appendix-A.3

... occurred[x] 1..1 dateTime 活动发生时间
... recorded Σ 1..1 instant 审计记录时间
... outcome Σ 1..1 BackboneElement 执行结果:成功、一般错误、严重错误、重大错误
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... code Σ 1..1 Coding Whether the event succeeded or failed
Binding: AuditEventOutcome (preferred): DICOM Audit Event Outcome

.... detail Σ 0..* CodeableConcept Additional outcome detail
Binding: AuditEventOutcomeDetail (example): A code that provides details as the exact issue.


... authorization Σ 0..* CodeableConcept Authorization related to the event
Binding: PurposeOfUse (example): The authorized purposeOfUse for the activity.


... basedOn 0..* Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest | Task) Workflow authorization within which this event occurred
... patient 0..1 Reference(Patient) The patient is the subject of the data used/created/updated/deleted during the activity
... encounter 0..1 Reference(Encounter) Encounter within which this event occurred or which the event is tightly associated
... agent Σ 1..* BackboneElement 事件参与者
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type 0..1 CodeableConcept 事件参与者类型
Binding: ParticipationRoleType (preferred): The Participation type of the agent to the event.

.... role 0..* CodeableConcept Agent role in the event
Binding: SecurityRoleType (example): What security role enabled the agent to participate in the event.


.... who Σ 1..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) 参与者(可以是系统或者人员)
.... requestor Σ 0..1 boolean 是否为事件的发起者
.... location 0..1 Reference(Location) The agent location when the event occurred
.... policy 0..* uri Policy that authorized the agent participation in the event
.... network[x] 1..1 网络信息
..... networkReference Reference(Endpoint)
..... networkUri uri
..... networkString string
.... authorization 0..* CodeableConcept Allowable authorization for this agent
Binding: PurposeOfUse (example): The reason the activity took place.


... source Σ 1..1 BackboneElement 审计源,记录了提交审计事件的系统
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... site 0..1 Reference(Location) 审计源所处位置
.... observer Σ 1..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) 审计源系统标识
.... type 0..* CodeableConcept 审计源类型
Binding: AuditEventSourceType (preferred): Code specifying the type of system that detected and recorded the event. Use of these codes is not required but is encouraged to maintain translation with DICOM AuditMessage schema.


... entity Σ 0..* BackboneElement Data or objects used
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... what Σ 0..1 Reference(Resource) Specific instance of resource
.... role 0..1 CodeableConcept What role the entity played
Binding: AuditEventEntityRole (example): DICOM Audit Event Entity Role

.... securityLabel 0..* CodeableConcept Security labels on the entity
Binding: SecurityLabelExamples (example): Example Security Labels from the Healthcare Privacy and Security Classification System.


.... query Σ 0..1 base64Binary Query parameters
.... detail 0..* BackboneElement Additional Information about the entity
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... type 1..1 CodeableConcept Name of the property
Binding: AuditEventID (example): Additional detail about an entity used in an event.

..... value[x] 1..1 Property value
...... valueQuantity Quantity
...... valueCodeableConcept CodeableConcept
...... valueString string
...... valueBoolean boolean
...... valueInteger integer
...... valueRange Range
...... valueRatio Ratio
...... valueTime time
...... valueDateTime dateTime
...... valuePeriod Period
...... valueBase64Binary base64Binary
.... agent 0..* See agent (AuditEvent) Entity is attributed to this agent

doco Documentation for this format

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()

该结构继承自 AuditEvent

Summary

Mandatory: 5 elements

 

本 Profile 的其它表示法: CSV, Excel, Schematron