Inera Core Implementation Guide
0.2.0 - ci-build
Sweden
Inera Core Implementation Guide - Local Development build (v0.2.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://inera.se/fhir/core/StructureDefinition/auditevent-base-inera | Version: 0.2.0 | |||
| Draft as of 2025-11-24 | Computable Name: AuditEventBaseInera | |||
Svensk profil för åtkomstloggar baserad på TKB GetAccessLogsForPatient v2.0.
Används för PDL-krävd åtkomstloggning:
PDL-krav: Obligatorisk åtkomstloggning enligt Patientdatalagen (SFS 2008:355)
Källa: TKB GetAccessLogsForPatient v2.0 (ehr:log)
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | AuditEvent | Event record kept for security purposes | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
SΣ | 1..1 | Coding | Händelsetyp Binding: AuditEventID (extensible) |
![]() ![]() |
SΣ | 0..* | Coding | Operation Binding: AuditEventSub-Type (extensible) |
![]() ![]() |
SΣ | 0..1 | code | Åtgärd Binding: AuditEventAction (required) |
![]() ![]() |
S | 0..1 | Period | Period |
![]() ![]() |
SΣ | 1..1 | instant | Loggtidpunkt |
![]() ![]() |
SΣ | 0..1 | code | Utfall Binding: AuditEventOutcome (required) |
![]() ![]() |
SΣ | 0..1 | string | Utfallsbeskrivning |
![]() ![]() |
SΣ | 0..* | CodeableConcept | Syfte med händelsen Binding: PurposeOfUse (extensible) |
![]() ![]() |
S | 1..* | BackboneElement | Aktör |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Aktörstyp Binding: ParticipationRoleType (extensible): The Participation type of the agent to the event. |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Aktörsroll Binding: SecurityRoleType (example): What security role enabled the agent to participate in the event. |
![]() ![]() ![]() |
SΣ | 0..1 | Reference(PractitionerRole Base Inera | Organization Base Inera | Device | Patient Base Inera | RelatedPerson) | Aktör (vem) |
![]() ![]() ![]() |
S | 0..1 | string | Alternativt ID |
![]() ![]() ![]() |
S | 0..1 | string | Aktörsnamn |
![]() ![]() ![]() |
SΣ | 1..1 | boolean | Begärare |
![]() ![]() ![]() |
S | 0..1 | Reference(Location) | Plats |
![]() ![]() ![]() |
S | 0..* | uri | Policy-URI |
![]() ![]() ![]() |
S | 0..1 | Coding | Media Binding: MediaTypeCode (extensible): Used when the event is about exporting/importing onto media. |
![]() ![]() ![]() |
S | 0..1 | BackboneElement | Nätverk |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
S | 0..1 | string | Nätverksadress |
![]() ![]() ![]() ![]() |
S | 0..1 | code | Nätverkstyp Binding: AuditEventAgentNetworkType (required): The type of network access point of this agent in the audit event. |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Vårdrelation Binding: PurposeOfUse (extensible): The reason the activity took place. |
![]() ![]() |
S | 1..1 | BackboneElement | Källa |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 0..1 | string | Plats |
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Device | Organization Base Inera | PractitionerRole Base Inera | Patient Base Inera) | Observatör |
![]() ![]() ![]() |
S | 0..* | Coding | Källtyp Binding: AuditEventSourceType (extensible): Code specifying the type of system that detected and recorded the event. |
![]() ![]() |
SC | 0..* | BackboneElement | Entitet Constraints: sev-1 |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
SΣ | 0..1 | Reference(Patient Base Inera | Resource) | Vad |
![]() ![]() ![]() |
S | 0..1 | Coding | Entitetstyp Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event. |
![]() ![]() ![]() |
S | 0..1 | Coding | Entitetsroll Binding: AuditEventEntityRole (extensible): Code representing the role the entity played in the audit event. |
![]() ![]() ![]() |
S | 0..1 | Coding | Livscykel Binding: ObjectLifecycleEvents (extensible): Identifier for the data life-cycle stage for the entity. |
![]() ![]() ![]() |
S | 0..* | Coding | Säkerhetsmärkning Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. |
![]() ![]() ![]() |
SΣC | 0..1 | string | Entitetsnamn |
![]() ![]() ![]() |
S | 0..1 | string | Beskrivning |
![]() ![]() ![]() |
SΣC | 0..1 | base64Binary | Fråga |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Detaljer |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
S | 1..1 | string | Detaljtyp |
![]() ![]() ![]() ![]() |
S | 1..1 | Detaljvärde | |
![]() ![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() ![]() |
base64Binary | |||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| 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 | http://hl7.org/fhir/ValueSet/v3-PurposeOfUse | Not State | Unknown |
| 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.0 |
| 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. |
| 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 | Either a name or a query (NOT both) |
name.empty() or query.empty()
|
This structure is derived from AuditEvent
| Path | Status | Usage | ValueSet | Version | Source |
| 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 | http://hl7.org/fhir/ValueSet/v3-PurposeOfUse | Not State | Unknown |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | AuditEvent | Event record kept for security purposes | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
SΣ | 1..1 | Coding | Händelsetyp Binding: AuditEventID (extensible) | ||||
![]() ![]() |
SΣ | 0..* | Coding | Operation Binding: AuditEventSub-Type (extensible) | ||||
![]() ![]() |
SΣ | 0..1 | code | Åtgärd Binding: AuditEventAction (required) | ||||
![]() ![]() |
S | 0..1 | Period | Period | ||||
![]() ![]() |
SΣ | 1..1 | instant | Loggtidpunkt | ||||
![]() ![]() |
SΣ | 0..1 | code | Utfall Binding: AuditEventOutcome (required) | ||||
![]() ![]() |
SΣ | 0..1 | string | Utfallsbeskrivning | ||||
![]() ![]() |
SΣ | 0..* | CodeableConcept | Syfte med händelsen Binding: PurposeOfUse (extensible) | ||||
![]() ![]() |
S | 1..* | BackboneElement | Aktör | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Aktörstyp Binding: ParticipationRoleType (extensible): The Participation type of the agent to the event. | ||||
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Aktörsroll Binding: SecurityRoleType (example): What security role enabled the agent to participate in the event. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(PractitionerRole Base Inera | Organization Base Inera | Device | Patient Base Inera | RelatedPerson) | Aktör (vem) | ||||
![]() ![]() ![]() |
S | 0..1 | string | Alternativt ID | ||||
![]() ![]() ![]() |
S | 0..1 | string | Aktörsnamn | ||||
![]() ![]() ![]() |
SΣ | 1..1 | boolean | Begärare | ||||
![]() ![]() ![]() |
S | 0..1 | Reference(Location) | Plats | ||||
![]() ![]() ![]() |
S | 0..* | uri | Policy-URI | ||||
![]() ![]() ![]() |
S | 0..1 | Coding | Media Binding: MediaTypeCode (extensible): Used when the event is about exporting/importing onto media. | ||||
![]() ![]() ![]() |
S | 0..1 | BackboneElement | Nätverk | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | Nätverksadress | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | code | Nätverkstyp Binding: AuditEventAgentNetworkType (required): The type of network access point of this agent in the audit event. | ||||
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Vårdrelation Binding: PurposeOfUse (extensible): The reason the activity took place. | ||||
![]() ![]() |
S | 1..1 | BackboneElement | Källa | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
S | 0..1 | string | Plats | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Device | Organization Base Inera | PractitionerRole Base Inera | Patient Base Inera) | Observatör | ||||
![]() ![]() ![]() |
S | 0..* | Coding | Källtyp Binding: AuditEventSourceType (extensible): Code specifying the type of system that detected and recorded the event. | ||||
![]() ![]() |
SC | 0..* | BackboneElement | Entitet Constraints: sev-1 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(Patient Base Inera | Resource) | Vad | ||||
![]() ![]() ![]() |
S | 0..1 | Coding | Entitetstyp Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event. | ||||
![]() ![]() ![]() |
S | 0..1 | Coding | Entitetsroll Binding: AuditEventEntityRole (extensible): Code representing the role the entity played in the audit event. | ||||
![]() ![]() ![]() |
S | 0..1 | Coding | Livscykel Binding: ObjectLifecycleEvents (extensible): Identifier for the data life-cycle stage for the entity. | ||||
![]() ![]() ![]() |
S | 0..* | Coding | Säkerhetsmärkning Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
SΣC | 0..1 | string | Entitetsnamn | ||||
![]() ![]() ![]() |
S | 0..1 | string | Beskrivning | ||||
![]() ![]() ![]() |
SΣC | 0..1 | base64Binary | Fråga | ||||
![]() ![]() ![]() |
S | 0..* | BackboneElement | Detaljer | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | string | Detaljtyp | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | Detaljvärde | |||||
![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() |
base64Binary | |||||||
Documentation for this format | ||||||||
| 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 | http://hl7.org/fhir/ValueSet/v3-PurposeOfUse | Not State | Unknown |
| 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.0 |
| 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. |
| 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 | Either a name or a query (NOT both) |
name.empty() or query.empty()
|
This structure is derived from AuditEvent
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | AuditEvent | Event record kept for security purposes | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
SΣ | 1..1 | Coding | Händelsetyp Binding: AuditEventID (extensible) |
![]() ![]() |
SΣ | 0..* | Coding | Operation Binding: AuditEventSub-Type (extensible) |
![]() ![]() |
SΣ | 0..1 | code | Åtgärd Binding: AuditEventAction (required) |
![]() ![]() |
S | 0..1 | Period | Period |
![]() ![]() |
SΣ | 1..1 | instant | Loggtidpunkt |
![]() ![]() |
SΣ | 0..1 | code | Utfall Binding: AuditEventOutcome (required) |
![]() ![]() |
SΣ | 0..1 | string | Utfallsbeskrivning |
![]() ![]() |
SΣ | 0..* | CodeableConcept | Syfte med händelsen Binding: PurposeOfUse (extensible) |
![]() ![]() |
S | 1..* | BackboneElement | Aktör |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Aktörstyp Binding: ParticipationRoleType (extensible): The Participation type of the agent to the event. |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Aktörsroll Binding: SecurityRoleType (example): What security role enabled the agent to participate in the event. |
![]() ![]() ![]() |
SΣ | 0..1 | Reference(PractitionerRole Base Inera | Organization Base Inera | Device | Patient Base Inera | RelatedPerson) | Aktör (vem) |
![]() ![]() ![]() |
S | 0..1 | string | Alternativt ID |
![]() ![]() ![]() |
S | 0..1 | string | Aktörsnamn |
![]() ![]() ![]() |
SΣ | 1..1 | boolean | Begärare |
![]() ![]() ![]() |
S | 0..1 | Reference(Location) | Plats |
![]() ![]() ![]() |
S | 0..* | uri | Policy-URI |
![]() ![]() ![]() |
S | 0..1 | Coding | Media Binding: MediaTypeCode (extensible): Used when the event is about exporting/importing onto media. |
![]() ![]() ![]() |
S | 0..1 | BackboneElement | Nätverk |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
S | 0..1 | string | Nätverksadress |
![]() ![]() ![]() ![]() |
S | 0..1 | code | Nätverkstyp Binding: AuditEventAgentNetworkType (required): The type of network access point of this agent in the audit event. |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Vårdrelation Binding: PurposeOfUse (extensible): The reason the activity took place. |
![]() ![]() |
S | 1..1 | BackboneElement | Källa |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 0..1 | string | Plats |
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Device | Organization Base Inera | PractitionerRole Base Inera | Patient Base Inera) | Observatör |
![]() ![]() ![]() |
S | 0..* | Coding | Källtyp Binding: AuditEventSourceType (extensible): Code specifying the type of system that detected and recorded the event. |
![]() ![]() |
SC | 0..* | BackboneElement | Entitet Constraints: sev-1 |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
SΣ | 0..1 | Reference(Patient Base Inera | Resource) | Vad |
![]() ![]() ![]() |
S | 0..1 | Coding | Entitetstyp Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event. |
![]() ![]() ![]() |
S | 0..1 | Coding | Entitetsroll Binding: AuditEventEntityRole (extensible): Code representing the role the entity played in the audit event. |
![]() ![]() ![]() |
S | 0..1 | Coding | Livscykel Binding: ObjectLifecycleEvents (extensible): Identifier for the data life-cycle stage for the entity. |
![]() ![]() ![]() |
S | 0..* | Coding | Säkerhetsmärkning Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. |
![]() ![]() ![]() |
SΣC | 0..1 | string | Entitetsnamn |
![]() ![]() ![]() |
S | 0..1 | string | Beskrivning |
![]() ![]() ![]() |
SΣC | 0..1 | base64Binary | Fråga |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Detaljer |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
S | 1..1 | string | Detaljtyp |
![]() ![]() ![]() ![]() |
S | 1..1 | Detaljvärde | |
![]() ![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() ![]() |
base64Binary | |||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| 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 | http://hl7.org/fhir/ValueSet/v3-PurposeOfUse | Not State | Unknown |
| 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.0 |
| 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. |
| 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 | Either a name or a query (NOT both) |
name.empty() or query.empty()
|
Differential View
This structure is derived from AuditEvent
| Path | Status | Usage | ValueSet | Version | Source |
| 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 | http://hl7.org/fhir/ValueSet/v3-PurposeOfUse | Not State | Unknown |
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | AuditEvent | Event record kept for security purposes | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
SΣ | 1..1 | Coding | Händelsetyp Binding: AuditEventID (extensible) | ||||
![]() ![]() |
SΣ | 0..* | Coding | Operation Binding: AuditEventSub-Type (extensible) | ||||
![]() ![]() |
SΣ | 0..1 | code | Åtgärd Binding: AuditEventAction (required) | ||||
![]() ![]() |
S | 0..1 | Period | Period | ||||
![]() ![]() |
SΣ | 1..1 | instant | Loggtidpunkt | ||||
![]() ![]() |
SΣ | 0..1 | code | Utfall Binding: AuditEventOutcome (required) | ||||
![]() ![]() |
SΣ | 0..1 | string | Utfallsbeskrivning | ||||
![]() ![]() |
SΣ | 0..* | CodeableConcept | Syfte med händelsen Binding: PurposeOfUse (extensible) | ||||
![]() ![]() |
S | 1..* | BackboneElement | Aktör | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Aktörstyp Binding: ParticipationRoleType (extensible): The Participation type of the agent to the event. | ||||
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Aktörsroll Binding: SecurityRoleType (example): What security role enabled the agent to participate in the event. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(PractitionerRole Base Inera | Organization Base Inera | Device | Patient Base Inera | RelatedPerson) | Aktör (vem) | ||||
![]() ![]() ![]() |
S | 0..1 | string | Alternativt ID | ||||
![]() ![]() ![]() |
S | 0..1 | string | Aktörsnamn | ||||
![]() ![]() ![]() |
SΣ | 1..1 | boolean | Begärare | ||||
![]() ![]() ![]() |
S | 0..1 | Reference(Location) | Plats | ||||
![]() ![]() ![]() |
S | 0..* | uri | Policy-URI | ||||
![]() ![]() ![]() |
S | 0..1 | Coding | Media Binding: MediaTypeCode (extensible): Used when the event is about exporting/importing onto media. | ||||
![]() ![]() ![]() |
S | 0..1 | BackboneElement | Nätverk | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | Nätverksadress | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | code | Nätverkstyp Binding: AuditEventAgentNetworkType (required): The type of network access point of this agent in the audit event. | ||||
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Vårdrelation Binding: PurposeOfUse (extensible): The reason the activity took place. | ||||
![]() ![]() |
S | 1..1 | BackboneElement | Källa | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
S | 0..1 | string | Plats | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Device | Organization Base Inera | PractitionerRole Base Inera | Patient Base Inera) | Observatör | ||||
![]() ![]() ![]() |
S | 0..* | Coding | Källtyp Binding: AuditEventSourceType (extensible): Code specifying the type of system that detected and recorded the event. | ||||
![]() ![]() |
SC | 0..* | BackboneElement | Entitet Constraints: sev-1 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(Patient Base Inera | Resource) | Vad | ||||
![]() ![]() ![]() |
S | 0..1 | Coding | Entitetstyp Binding: AuditEventEntityType (extensible): Code for the entity type involved in the audit event. | ||||
![]() ![]() ![]() |
S | 0..1 | Coding | Entitetsroll Binding: AuditEventEntityRole (extensible): Code representing the role the entity played in the audit event. | ||||
![]() ![]() ![]() |
S | 0..1 | Coding | Livscykel Binding: ObjectLifecycleEvents (extensible): Identifier for the data life-cycle stage for the entity. | ||||
![]() ![]() ![]() |
S | 0..* | Coding | Säkerhetsmärkning Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
SΣC | 0..1 | string | Entitetsnamn | ||||
![]() ![]() ![]() |
S | 0..1 | string | Beskrivning | ||||
![]() ![]() ![]() |
SΣC | 0..1 | base64Binary | Fråga | ||||
![]() ![]() ![]() |
S | 0..* | BackboneElement | Detaljer | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | string | Detaljtyp | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | Detaljvärde | |||||
![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() |
base64Binary | |||||||
Documentation for this format | ||||||||
| 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 | http://hl7.org/fhir/ValueSet/v3-PurposeOfUse | Not State | Unknown |
| 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.0 |
| 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. |
| 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 | Either a name or a query (NOT both) |
name.empty() or query.empty()
|
This structure is derived from AuditEvent
Other representations of profile: CSV, Excel, Schematron