HL7中国FHIR Connectathon测试实施指南
V20230304 - release
本指南适用于HL7中国的FHIR Connectathon测试。
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
本定义的其它表示法: Schematron
Path | Conformance | ValueSet |
AuditEvent.language | preferred | CommonLanguages Max Binding: AllLanguages |
AuditEvent.type | required | AuditEventID |
AuditEvent.subtype | required | AuditEventSub-Type |
AuditEvent.action | required | AuditEventAction |
AuditEvent.outcome | required | AuditEventOutcome |
AuditEvent.purposeOfEvent | extensible | PurposeOfUse |
AuditEvent.agent.type | extensible | ParticipationRoleType |
AuditEvent.agent.role | example | SecurityRoleType |
AuditEvent.agent.media | extensible | MediaTypeCode |
AuditEvent.agent.network.type | required | AuditEventAgentNetworkType |
AuditEvent.agent.purposeOfUse | extensible | PurposeOfUse |
AuditEvent.source.type | extensible | AuditEventSourceType |
AuditEvent.entity.type | extensible | AuditEventEntityType |
AuditEvent.entity.role | extensible | AuditEventEntityRole |
AuditEvent.entity.lifecycle | extensible | ObjectLifecycleEvents |
AuditEvent.entity.securityLabel | extensible | All Security Labels |
Id | Path | Details | Requirements |
dom-2 | AuditEvent | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | 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().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-4 | 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 | AuditEvent | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | AuditEvent | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | AuditEvent.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | AuditEvent.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | AuditEvent.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | AuditEvent.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | AuditEvent.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.subtype | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.action | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.period | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.recorded | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.outcome | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.outcomeDesc | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.purposeOfEvent | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.agent | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.agent.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | AuditEvent.agent.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | AuditEvent.agent.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | AuditEvent.agent.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | AuditEvent.agent.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.agent.role | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.agent.who | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.agent.altId | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.agent.name | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.agent.requestor | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.agent.location | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.agent.policy | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.agent.media | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.agent.network | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.agent.network.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | AuditEvent.agent.network.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | AuditEvent.agent.network.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | AuditEvent.agent.network.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | AuditEvent.agent.network.address | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.agent.network.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.agent.purposeOfUse | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.source | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.source.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | AuditEvent.source.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | AuditEvent.source.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | AuditEvent.source.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | AuditEvent.source.site | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.source.observer | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.source.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.entity | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
sev-1 | AuditEvent.entity | Either a name or a query (NOT both) : name.empty() or query.empty() | |
ele-1 | AuditEvent.entity.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | AuditEvent.entity.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | AuditEvent.entity.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | AuditEvent.entity.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | AuditEvent.entity.what | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.entity.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.entity.role | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.entity.lifecycle | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.entity.securityLabel | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.entity.name | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.entity.description | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.entity.query | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.entity.detail | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.entity.detail.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | AuditEvent.entity.detail.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | AuditEvent.entity.detail.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | AuditEvent.entity.detail.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | AuditEvent.entity.detail.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | AuditEvent.entity.detail.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |