HL7 Czech Health information exchange Implementation Guide
0.0.1 - ci-build Czechia flag

HL7 Czech Health information exchange Implementation Guide, published by HL7 Czech Republic. This guide is not an authorized publication; it is the continuous build for version 0.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7-cz/HIE/ and changes regularly. See the Directory of published versions

Resource Profile: CZ Audit Event

Official URL: https://hl7.cz/fhir/hie/StructureDefinition/cz-auditEvent Version: 0.0.1
Draft as of 2026-10-15 Computable Name: CZ_AuditEvent

CZ FHIR profile on AuditEvent.

Usages:

  • This Profile is not used by any profiles in this Specification

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description Differentials, Snapshots, and other representations.

NameFlagsCard.TypeDescription & Constraints    Filter: doco
AuditEvent 0..* AuditEvent Event record kept for security purposes
AuditEvent.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
AuditEvent.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
AuditEvent.type This element is included in summaries. 1..1 Coding Type/identifier of event
Binding: AuditEventID (extensible): Type of event.
AuditEvent.recorded This element is included in summaries. 1..1 instant Time when the event was recorded
AuditEvent.agent 1..* BackboneElement Actor involved in the event
AuditEvent.agent.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AuditEvent.agent.requestor This element is included in summaries. 1..1 boolean Whether user is initiator
AuditEvent.source 1..1 BackboneElement Audit Event Reporter
AuditEvent.source.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AuditEvent.source.observer This element is included in summaries. 1..1 Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson) The identity of source detecting the event
AuditEvent.Slices for entity C 0..* BackboneElement Data or objects used
Slice: Unordered, Open by value:role.code
Constraints: sev-1

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
AuditEvent.Slices for entity.entity:All Slices Content/Rules for all slices
AuditEvent.Slices for entity.entity:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AuditEvent.Slices for entity.entity:patient C 0..1 BackboneElement Data or objects used
Constraints: sev-1
AuditEvent.Slices for entity.entity:patient.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AuditEvent.Slices for entity.entity:patient.what This element is included in summaries. 0..1 Reference(Patient (CZ core)) Specific instance of resource
AuditEvent.Slices for entity.entity:patient.what.identifier This element is included in summaries. 1..1 Identifier Identifikátor pacienta (RID nebo DRID)
AuditEvent.Slices for entity.entity:patient.what.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
AuditEvent.Slices for entity.entity:patient.what.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: https://ncez.mzcr.cz/fhir/sid/rid

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
AuditEvent.type Base extensible Audit Event ID 📍4.0.1 FHIR Std.
AuditEvent.entity:patient.​what.identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
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().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 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 best practice AuditEvent A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
sev-1 error AuditEvent.entity, AuditEvent.entity:patient Either a name or a query (NOT both) name.empty() or query.empty()

This structure is derived from AuditEvent

NameFlagsCard.TypeDescription & Constraints    Filter: doco
AuditEvent 0..* AuditEvent Event record kept for security purposes
AuditEvent.Slices for entity 0..* BackboneElement Data or objects used
Slice: Unordered, Open by value:role.code
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
AuditEvent.Slices for entity.entity:patient 0..1 BackboneElement Data or objects used
AuditEvent.Slices for entity.entity:patient.what 0..1 Reference(Patient (CZ core)) Specific instance of resource
AuditEvent.Slices for entity.entity:patient.what.identifier 1..1 Identifier Identifikátor pacienta (RID nebo DRID)
AuditEvent.Slices for entity.entity:patient.what.identifier.system 1..1 uri The namespace for the identifier value
Required Pattern: https://ncez.mzcr.cz/fhir/sid/rid

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: doco
AuditEvent 0..* AuditEvent Event record kept for security purposes
AuditEvent.id This element is included in summaries. 0..1 id Logical id of this artifact
AuditEvent.meta This element is included in summaries. 0..1 Meta Metadata about the resource
AuditEvent.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
AuditEvent.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
AuditEvent.text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
AuditEvent.contained 0..* Resource Contained, inline Resources
AuditEvent.extension 0..* Extension Additional content defined by implementations
AuditEvent.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
AuditEvent.type This element is included in summaries. 1..1 Coding Type/identifier of event
Binding: AuditEventID (extensible): Type of event.
AuditEvent.subtype This element is included in summaries. 0..* Coding More specific type/id for the event
Binding: AuditEventSub-Type (extensible): Sub-type of event.
AuditEvent.action This element is included in summaries. 0..1 code Type of action performed during the event
Binding: AuditEventAction (required): Indicator for type of action performed during the event that generated the event.
AuditEvent.period 0..1 Period When the activity occurred
AuditEvent.recorded This element is included in summaries. 1..1 instant Time when the event was recorded
AuditEvent.outcome This element is included in summaries. 0..1 code Whether the event succeeded or failed
Binding: AuditEventOutcome (required): Indicates whether the event succeeded or failed.
AuditEvent.outcomeDesc This element is included in summaries. 0..1 string Description of the event outcome
AuditEvent.purposeOfEvent This element is included in summaries. 0..* CodeableConcept The purposeOfUse of the event
Binding: PurposeOfUse (3.1.0) (extensible): The reason the activity took place.
AuditEvent.agent 1..* BackboneElement Actor involved in the event
AuditEvent.agent.id 0..1 string Unique id for inter-element referencing
AuditEvent.agent.extension 0..* Extension Additional content defined by implementations
AuditEvent.agent.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AuditEvent.agent.type 0..1 CodeableConcept How agent participated
Binding: ParticipationRoleType (extensible): The Participation type of the agent to the event.
AuditEvent.agent.role 0..* CodeableConcept Agent role in the event
Binding: SecurityRoleType (example): What security role enabled the agent to participate in the event.
AuditEvent.agent.who This element is included in summaries. 0..1 Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson) Identifier of who
AuditEvent.agent.altId 0..1 string Alternative User identity
AuditEvent.agent.name 0..1 string Human friendly name for the agent
AuditEvent.agent.requestor This element is included in summaries. 1..1 boolean Whether user is initiator
AuditEvent.agent.location 0..1 Reference(Location) Where
AuditEvent.agent.policy 0..* uri Policy that authorized event
AuditEvent.agent.media 0..1 Coding Type of media
Binding: MediaTypeCode (extensible): Used when the event is about exporting/importing onto media.
AuditEvent.agent.network 0..1 BackboneElement Logical network location for application activity
AuditEvent.agent.network.id 0..1 string Unique id for inter-element referencing
AuditEvent.agent.network.extension 0..* Extension Additional content defined by implementations
AuditEvent.agent.network.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AuditEvent.agent.network.address 0..1 string Identifier for the network access point of the user device
AuditEvent.agent.network.type 0..1 code The type of network access point
Binding: AuditEventAgentNetworkType (required): The type of network access point of this agent in the audit event.
AuditEvent.agent.purposeOfUse 0..* CodeableConcept Reason given for this user
Binding: PurposeOfUse (3.1.0) (extensible): The reason the activity took place.
AuditEvent.source 1..1 BackboneElement Audit Event Reporter
AuditEvent.source.id 0..1 string Unique id for inter-element referencing
AuditEvent.source.extension 0..* Extension Additional content defined by implementations
AuditEvent.source.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AuditEvent.source.site 0..1 string Logical source location within the enterprise
AuditEvent.source.observer This element is included in summaries. 1..1 Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson) The identity of source detecting the event
AuditEvent.source.type 0..* Coding The type of source where event originated
Binding: AuditEventSourceType (extensible): Code specifying the type of system that detected and recorded the event.
AuditEvent.Slices for entity C 0..* BackboneElement Data or objects used
Slice: Unordered, Open by value:role.code
Constraints: sev-1

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
AuditEvent.Slices for entity.entity:All Slices Content/Rules for all slices
AuditEvent.Slices for entity.entity:All Slices.id 0..1 string Unique id for inter-element referencing
AuditEvent.Slices for entity.entity:All Slices.extension 0..* Extension Additional content defined by implementations
AuditEvent.Slices for entity.entity:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AuditEvent.Slices for entity.entity:All Slices.what This element is included in summaries. 0..1 Reference(Resource) Specific instance of resource
AuditEvent.Slices for entity.entity:All Slices.type 0..1 Coding Type of entity involved
Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event.
AuditEvent.Slices for entity.entity:All Slices.role 0..1 Coding What role the entity played
Binding: AuditEventEntityRole (extensible): Code representing the role the entity played in the audit event.
AuditEvent.Slices for entity.entity:All Slices.lifecycle 0..1 Coding Life-cycle stage for the entity
Binding: ObjectLifecycleEvents (extensible): Identifier for the data life-cycle stage for the entity.
AuditEvent.Slices for entity.entity:All Slices.securityLabel 0..* Coding Security labels on the entity
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
AuditEvent.Slices for entity.entity:All Slices.name This element is included in summaries. C 0..1 string Descriptor for entity
AuditEvent.Slices for entity.entity:All Slices.description 0..1 string Descriptive text
AuditEvent.Slices for entity.entity:All Slices.query This element is included in summaries. C 0..1 base64Binary Query parameters
AuditEvent.Slices for entity.entity:All Slices.detail 0..* BackboneElement Additional Information about the entity
AuditEvent.Slices for entity.entity:All Slices.detail.id 0..1 string Unique id for inter-element referencing
AuditEvent.Slices for entity.entity:All Slices.detail.extension 0..* Extension Additional content defined by implementations
AuditEvent.Slices for entity.entity:All Slices.detail.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AuditEvent.Slices for entity.entity:All Slices.detail.type 1..1 string Name of the property
AuditEvent.Slices for entity.entity:All Slices.detail.value[x] 1..1 Property value
AuditEvent.Slices for entity.entity:All Slices.detail.value[x].valueString string
AuditEvent.Slices for entity.entity:All Slices.detail.value[x].valueBase64Binary base64Binary
AuditEvent.Slices for entity.entity:patient C 0..1 BackboneElement Data or objects used
Constraints: sev-1
AuditEvent.Slices for entity.entity:patient.id 0..1 string Unique id for inter-element referencing
AuditEvent.Slices for entity.entity:patient.extension 0..* Extension Additional content defined by implementations
AuditEvent.Slices for entity.entity:patient.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AuditEvent.Slices for entity.entity:patient.what This element is included in summaries. 0..1 Reference(Patient (CZ core)) Specific instance of resource
AuditEvent.Slices for entity.entity:patient.what.id 0..1 string Unique id for inter-element referencing
AuditEvent.Slices for entity.entity:patient.what.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
AuditEvent.Slices for entity.entity:patient.what.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
AuditEvent.Slices for entity.entity:patient.what.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
AuditEvent.Slices for entity.entity:patient.what.identifier This element is included in summaries. 1..1 Identifier Identifikátor pacienta (RID nebo DRID)
AuditEvent.Slices for entity.entity:patient.what.identifier.id 0..1 string Unique id for inter-element referencing
AuditEvent.Slices for entity.entity:patient.what.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
AuditEvent.Slices for entity.entity:patient.what.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
AuditEvent.Slices for entity.entity:patient.what.identifier.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
AuditEvent.Slices for entity.entity:patient.what.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: https://ncez.mzcr.cz/fhir/sid/rid
AuditEvent.Slices for entity.entity:patient.what.identifier.value This element is included in summaries. 0..1 string The value that is unique
Example General: 123456
AuditEvent.Slices for entity.entity:patient.what.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
AuditEvent.Slices for entity.entity:patient.what.identifier.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
AuditEvent.Slices for entity.entity:patient.what.display This element is included in summaries. 0..1 string Text alternative for the resource
AuditEvent.Slices for entity.entity:patient.type 0..1 Coding Type of entity involved
Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event.
AuditEvent.Slices for entity.entity:patient.role 0..1 Coding What role the entity played
Binding: AuditEventEntityRole (extensible): Code representing the role the entity played in the audit event.
AuditEvent.Slices for entity.entity:patient.lifecycle 0..1 Coding Life-cycle stage for the entity
Binding: ObjectLifecycleEvents (extensible): Identifier for the data life-cycle stage for the entity.
AuditEvent.Slices for entity.entity:patient.securityLabel 0..* Coding Security labels on the entity
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
AuditEvent.Slices for entity.entity:patient.name This element is included in summaries. C 0..1 string Descriptor for entity
AuditEvent.Slices for entity.entity:patient.description 0..1 string Descriptive text
AuditEvent.Slices for entity.entity:patient.query This element is included in summaries. C 0..1 base64Binary Query parameters
AuditEvent.Slices for entity.entity:patient.detail 0..* BackboneElement Additional Information about the entity
AuditEvent.Slices for entity.entity:patient.detail.id 0..1 string Unique id for inter-element referencing
AuditEvent.Slices for entity.entity:patient.detail.extension 0..* Extension Additional content defined by implementations
AuditEvent.Slices for entity.entity:patient.detail.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AuditEvent.Slices for entity.entity:patient.detail.type 1..1 string Name of the property
AuditEvent.Slices for entity.entity:patient.detail.value[x] 1..1 Property value
AuditEvent.Slices for entity.entity:patient.detail.value[x].valueString string
AuditEvent.Slices for entity.entity:patient.detail.value[x].valueBase64Binary base64Binary

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
AuditEvent.language Base preferred Common Languages 📍4.0.1 FHIR Std.
AuditEvent.type Base extensible Audit Event ID 📍4.0.1 FHIR Std.
AuditEvent.subtype Base extensible Audit Event Sub-Type 📍4.0.1 FHIR Std.
AuditEvent.action Base required AuditEventAction 📍4.0.1 FHIR Std.
AuditEvent.outcome Base required AuditEventOutcome 📍4.0.1 FHIR Std.
AuditEvent.purposeOfEvent Base extensible PurposeOfUse 📍3.1.0 THO v7.3
AuditEvent.agent.type Base extensible ParticipationRoleType 📍4.0.1 FHIR Std.
AuditEvent.agent.role Base example SecurityRoleType 📍4.0.1 FHIR Std.
AuditEvent.agent.media Base extensible Media Type Code 📍4.0.1 FHIR Std.
AuditEvent.agent.network.​type Base required AuditEventAgentNetworkType 📍4.0.1 FHIR Std.
AuditEvent.agent.purposeOfUse Base extensible PurposeOfUse 📍3.1.0 THO v7.3
AuditEvent.source.type Base extensible Audit Event Source Type 📍4.0.1 FHIR Std.
AuditEvent.entity.type Base extensible Audit event entity type 📍4.0.1 FHIR Std.
AuditEvent.entity.role Base extensible AuditEventEntityRole 📍4.0.1 FHIR Std.
AuditEvent.entity.lifecycle Base extensible ObjectLifecycleEvents 📍4.0.1 FHIR Std.
AuditEvent.entity.securityLabel Base extensible SecurityLabels 📍4.0.1 FHIR Std.
AuditEvent.entity:patient.​what.type Base extensible ResourceType 📍4.0.1 FHIR Std.
AuditEvent.entity:patient.​what.identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
AuditEvent.entity:patient.​what.identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.
AuditEvent.entity:patient.​type Base extensible Audit event entity type 📍4.0.1 FHIR Std.
AuditEvent.entity:patient.​role Base extensible AuditEventEntityRole 📍4.0.1 FHIR Std.
AuditEvent.entity:patient.​lifecycle Base extensible ObjectLifecycleEvents 📍4.0.1 FHIR Std.
AuditEvent.entity:patient.​securityLabel Base extensible SecurityLabels 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
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().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 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 best practice AuditEvent A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
sev-1 error AuditEvent.entity, AuditEvent.entity:patient Either a name or a query (NOT both) name.empty() or query.empty()

This structure is derived from AuditEvent

Summary

Mandatory: 0 element(2 nested mandatory elements)

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of AuditEvent.entity

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
AuditEvent 0..* AuditEvent Event record kept for security purposes
AuditEvent.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
AuditEvent.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
AuditEvent.type This element is included in summaries. 1..1 Coding Type/identifier of event
Binding: AuditEventID (extensible): Type of event.
AuditEvent.recorded This element is included in summaries. 1..1 instant Time when the event was recorded
AuditEvent.agent 1..* BackboneElement Actor involved in the event
AuditEvent.agent.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AuditEvent.agent.requestor This element is included in summaries. 1..1 boolean Whether user is initiator
AuditEvent.source 1..1 BackboneElement Audit Event Reporter
AuditEvent.source.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AuditEvent.source.observer This element is included in summaries. 1..1 Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson) The identity of source detecting the event
AuditEvent.Slices for entity C 0..* BackboneElement Data or objects used
Slice: Unordered, Open by value:role.code
Constraints: sev-1

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
AuditEvent.Slices for entity.entity:All Slices Content/Rules for all slices
AuditEvent.Slices for entity.entity:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AuditEvent.Slices for entity.entity:patient C 0..1 BackboneElement Data or objects used
Constraints: sev-1
AuditEvent.Slices for entity.entity:patient.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AuditEvent.Slices for entity.entity:patient.what This element is included in summaries. 0..1 Reference(Patient (CZ core)) Specific instance of resource
AuditEvent.Slices for entity.entity:patient.what.identifier This element is included in summaries. 1..1 Identifier Identifikátor pacienta (RID nebo DRID)
AuditEvent.Slices for entity.entity:patient.what.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
AuditEvent.Slices for entity.entity:patient.what.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: https://ncez.mzcr.cz/fhir/sid/rid

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
AuditEvent.type Base extensible Audit Event ID 📍4.0.1 FHIR Std.
AuditEvent.entity:patient.​what.identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
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().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 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 best practice AuditEvent A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
sev-1 error AuditEvent.entity, AuditEvent.entity:patient Either a name or a query (NOT both) name.empty() or query.empty()

Differential View

This structure is derived from AuditEvent

NameFlagsCard.TypeDescription & Constraints    Filter: doco
AuditEvent 0..* AuditEvent Event record kept for security purposes
AuditEvent.Slices for entity 0..* BackboneElement Data or objects used
Slice: Unordered, Open by value:role.code
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
AuditEvent.Slices for entity.entity:patient 0..1 BackboneElement Data or objects used
AuditEvent.Slices for entity.entity:patient.what 0..1 Reference(Patient (CZ core)) Specific instance of resource
AuditEvent.Slices for entity.entity:patient.what.identifier 1..1 Identifier Identifikátor pacienta (RID nebo DRID)
AuditEvent.Slices for entity.entity:patient.what.identifier.system 1..1 uri The namespace for the identifier value
Required Pattern: https://ncez.mzcr.cz/fhir/sid/rid

doco Documentation for this format

Snapshot ViewView

NameFlagsCard.TypeDescription & Constraints    Filter: doco
AuditEvent 0..* AuditEvent Event record kept for security purposes
AuditEvent.id This element is included in summaries. 0..1 id Logical id of this artifact
AuditEvent.meta This element is included in summaries. 0..1 Meta Metadata about the resource
AuditEvent.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
AuditEvent.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
AuditEvent.text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
AuditEvent.contained 0..* Resource Contained, inline Resources
AuditEvent.extension 0..* Extension Additional content defined by implementations
AuditEvent.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
AuditEvent.type This element is included in summaries. 1..1 Coding Type/identifier of event
Binding: AuditEventID (extensible): Type of event.
AuditEvent.subtype This element is included in summaries. 0..* Coding More specific type/id for the event
Binding: AuditEventSub-Type (extensible): Sub-type of event.
AuditEvent.action This element is included in summaries. 0..1 code Type of action performed during the event
Binding: AuditEventAction (required): Indicator for type of action performed during the event that generated the event.
AuditEvent.period 0..1 Period When the activity occurred
AuditEvent.recorded This element is included in summaries. 1..1 instant Time when the event was recorded
AuditEvent.outcome This element is included in summaries. 0..1 code Whether the event succeeded or failed
Binding: AuditEventOutcome (required): Indicates whether the event succeeded or failed.
AuditEvent.outcomeDesc This element is included in summaries. 0..1 string Description of the event outcome
AuditEvent.purposeOfEvent This element is included in summaries. 0..* CodeableConcept The purposeOfUse of the event
Binding: PurposeOfUse (3.1.0) (extensible): The reason the activity took place.
AuditEvent.agent 1..* BackboneElement Actor involved in the event
AuditEvent.agent.id 0..1 string Unique id for inter-element referencing
AuditEvent.agent.extension 0..* Extension Additional content defined by implementations
AuditEvent.agent.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AuditEvent.agent.type 0..1 CodeableConcept How agent participated
Binding: ParticipationRoleType (extensible): The Participation type of the agent to the event.
AuditEvent.agent.role 0..* CodeableConcept Agent role in the event
Binding: SecurityRoleType (example): What security role enabled the agent to participate in the event.
AuditEvent.agent.who This element is included in summaries. 0..1 Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson) Identifier of who
AuditEvent.agent.altId 0..1 string Alternative User identity
AuditEvent.agent.name 0..1 string Human friendly name for the agent
AuditEvent.agent.requestor This element is included in summaries. 1..1 boolean Whether user is initiator
AuditEvent.agent.location 0..1 Reference(Location) Where
AuditEvent.agent.policy 0..* uri Policy that authorized event
AuditEvent.agent.media 0..1 Coding Type of media
Binding: MediaTypeCode (extensible): Used when the event is about exporting/importing onto media.
AuditEvent.agent.network 0..1 BackboneElement Logical network location for application activity
AuditEvent.agent.network.id 0..1 string Unique id for inter-element referencing
AuditEvent.agent.network.extension 0..* Extension Additional content defined by implementations
AuditEvent.agent.network.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AuditEvent.agent.network.address 0..1 string Identifier for the network access point of the user device
AuditEvent.agent.network.type 0..1 code The type of network access point
Binding: AuditEventAgentNetworkType (required): The type of network access point of this agent in the audit event.
AuditEvent.agent.purposeOfUse 0..* CodeableConcept Reason given for this user
Binding: PurposeOfUse (3.1.0) (extensible): The reason the activity took place.
AuditEvent.source 1..1 BackboneElement Audit Event Reporter
AuditEvent.source.id 0..1 string Unique id for inter-element referencing
AuditEvent.source.extension 0..* Extension Additional content defined by implementations
AuditEvent.source.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AuditEvent.source.site 0..1 string Logical source location within the enterprise
AuditEvent.source.observer This element is included in summaries. 1..1 Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson) The identity of source detecting the event
AuditEvent.source.type 0..* Coding The type of source where event originated
Binding: AuditEventSourceType (extensible): Code specifying the type of system that detected and recorded the event.
AuditEvent.Slices for entity C 0..* BackboneElement Data or objects used
Slice: Unordered, Open by value:role.code
Constraints: sev-1

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
AuditEvent.Slices for entity.entity:All Slices Content/Rules for all slices
AuditEvent.Slices for entity.entity:All Slices.id 0..1 string Unique id for inter-element referencing
AuditEvent.Slices for entity.entity:All Slices.extension 0..* Extension Additional content defined by implementations
AuditEvent.Slices for entity.entity:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AuditEvent.Slices for entity.entity:All Slices.what This element is included in summaries. 0..1 Reference(Resource) Specific instance of resource
AuditEvent.Slices for entity.entity:All Slices.type 0..1 Coding Type of entity involved
Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event.
AuditEvent.Slices for entity.entity:All Slices.role 0..1 Coding What role the entity played
Binding: AuditEventEntityRole (extensible): Code representing the role the entity played in the audit event.
AuditEvent.Slices for entity.entity:All Slices.lifecycle 0..1 Coding Life-cycle stage for the entity
Binding: ObjectLifecycleEvents (extensible): Identifier for the data life-cycle stage for the entity.
AuditEvent.Slices for entity.entity:All Slices.securityLabel 0..* Coding Security labels on the entity
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
AuditEvent.Slices for entity.entity:All Slices.name This element is included in summaries. C 0..1 string Descriptor for entity
AuditEvent.Slices for entity.entity:All Slices.description 0..1 string Descriptive text
AuditEvent.Slices for entity.entity:All Slices.query This element is included in summaries. C 0..1 base64Binary Query parameters
AuditEvent.Slices for entity.entity:All Slices.detail 0..* BackboneElement Additional Information about the entity
AuditEvent.Slices for entity.entity:All Slices.detail.id 0..1 string Unique id for inter-element referencing
AuditEvent.Slices for entity.entity:All Slices.detail.extension 0..* Extension Additional content defined by implementations
AuditEvent.Slices for entity.entity:All Slices.detail.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AuditEvent.Slices for entity.entity:All Slices.detail.type 1..1 string Name of the property
AuditEvent.Slices for entity.entity:All Slices.detail.value[x] 1..1 Property value
AuditEvent.Slices for entity.entity:All Slices.detail.value[x].valueString string
AuditEvent.Slices for entity.entity:All Slices.detail.value[x].valueBase64Binary base64Binary
AuditEvent.Slices for entity.entity:patient C 0..1 BackboneElement Data or objects used
Constraints: sev-1
AuditEvent.Slices for entity.entity:patient.id 0..1 string Unique id for inter-element referencing
AuditEvent.Slices for entity.entity:patient.extension 0..* Extension Additional content defined by implementations
AuditEvent.Slices for entity.entity:patient.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AuditEvent.Slices for entity.entity:patient.what This element is included in summaries. 0..1 Reference(Patient (CZ core)) Specific instance of resource
AuditEvent.Slices for entity.entity:patient.what.id 0..1 string Unique id for inter-element referencing
AuditEvent.Slices for entity.entity:patient.what.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
AuditEvent.Slices for entity.entity:patient.what.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
AuditEvent.Slices for entity.entity:patient.what.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
AuditEvent.Slices for entity.entity:patient.what.identifier This element is included in summaries. 1..1 Identifier Identifikátor pacienta (RID nebo DRID)
AuditEvent.Slices for entity.entity:patient.what.identifier.id 0..1 string Unique id for inter-element referencing
AuditEvent.Slices for entity.entity:patient.what.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
AuditEvent.Slices for entity.entity:patient.what.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
AuditEvent.Slices for entity.entity:patient.what.identifier.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
AuditEvent.Slices for entity.entity:patient.what.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: https://ncez.mzcr.cz/fhir/sid/rid
AuditEvent.Slices for entity.entity:patient.what.identifier.value This element is included in summaries. 0..1 string The value that is unique
Example General: 123456
AuditEvent.Slices for entity.entity:patient.what.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
AuditEvent.Slices for entity.entity:patient.what.identifier.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
AuditEvent.Slices for entity.entity:patient.what.display This element is included in summaries. 0..1 string Text alternative for the resource
AuditEvent.Slices for entity.entity:patient.type 0..1 Coding Type of entity involved
Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event.
AuditEvent.Slices for entity.entity:patient.role 0..1 Coding What role the entity played
Binding: AuditEventEntityRole (extensible): Code representing the role the entity played in the audit event.
AuditEvent.Slices for entity.entity:patient.lifecycle 0..1 Coding Life-cycle stage for the entity
Binding: ObjectLifecycleEvents (extensible): Identifier for the data life-cycle stage for the entity.
AuditEvent.Slices for entity.entity:patient.securityLabel 0..* Coding Security labels on the entity
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
AuditEvent.Slices for entity.entity:patient.name This element is included in summaries. C 0..1 string Descriptor for entity
AuditEvent.Slices for entity.entity:patient.description 0..1 string Descriptive text
AuditEvent.Slices for entity.entity:patient.query This element is included in summaries. C 0..1 base64Binary Query parameters
AuditEvent.Slices for entity.entity:patient.detail 0..* BackboneElement Additional Information about the entity
AuditEvent.Slices for entity.entity:patient.detail.id 0..1 string Unique id for inter-element referencing
AuditEvent.Slices for entity.entity:patient.detail.extension 0..* Extension Additional content defined by implementations
AuditEvent.Slices for entity.entity:patient.detail.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
AuditEvent.Slices for entity.entity:patient.detail.type 1..1 string Name of the property
AuditEvent.Slices for entity.entity:patient.detail.value[x] 1..1 Property value
AuditEvent.Slices for entity.entity:patient.detail.value[x].valueString string
AuditEvent.Slices for entity.entity:patient.detail.value[x].valueBase64Binary base64Binary

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
AuditEvent.language Base preferred Common Languages 📍4.0.1 FHIR Std.
AuditEvent.type Base extensible Audit Event ID 📍4.0.1 FHIR Std.
AuditEvent.subtype Base extensible Audit Event Sub-Type 📍4.0.1 FHIR Std.
AuditEvent.action Base required AuditEventAction 📍4.0.1 FHIR Std.
AuditEvent.outcome Base required AuditEventOutcome 📍4.0.1 FHIR Std.
AuditEvent.purposeOfEvent Base extensible PurposeOfUse 📍3.1.0 THO v7.3
AuditEvent.agent.type Base extensible ParticipationRoleType 📍4.0.1 FHIR Std.
AuditEvent.agent.role Base example SecurityRoleType 📍4.0.1 FHIR Std.
AuditEvent.agent.media Base extensible Media Type Code 📍4.0.1 FHIR Std.
AuditEvent.agent.network.​type Base required AuditEventAgentNetworkType 📍4.0.1 FHIR Std.
AuditEvent.agent.purposeOfUse Base extensible PurposeOfUse 📍3.1.0 THO v7.3
AuditEvent.source.type Base extensible Audit Event Source Type 📍4.0.1 FHIR Std.
AuditEvent.entity.type Base extensible Audit event entity type 📍4.0.1 FHIR Std.
AuditEvent.entity.role Base extensible AuditEventEntityRole 📍4.0.1 FHIR Std.
AuditEvent.entity.lifecycle Base extensible ObjectLifecycleEvents 📍4.0.1 FHIR Std.
AuditEvent.entity.securityLabel Base extensible SecurityLabels 📍4.0.1 FHIR Std.
AuditEvent.entity:patient.​what.type Base extensible ResourceType 📍4.0.1 FHIR Std.
AuditEvent.entity:patient.​what.identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
AuditEvent.entity:patient.​what.identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.
AuditEvent.entity:patient.​type Base extensible Audit event entity type 📍4.0.1 FHIR Std.
AuditEvent.entity:patient.​role Base extensible AuditEventEntityRole 📍4.0.1 FHIR Std.
AuditEvent.entity:patient.​lifecycle Base extensible ObjectLifecycleEvents 📍4.0.1 FHIR Std.
AuditEvent.entity:patient.​securityLabel Base extensible SecurityLabels 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
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().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 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 best practice AuditEvent A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
sev-1 error AuditEvent.entity, AuditEvent.entity:patient Either a name or a query (NOT both) name.empty() or query.empty()

This structure is derived from AuditEvent

Summary

Mandatory: 0 element(2 nested mandatory elements)

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of AuditEvent.entity

 

Other representations of profile: CSV, Excel, Schematron