## Profile Comparison between http://fhir.hl7.nl/zorgviewer/StructureDefinition/AuditEvent vs http://fhir.hl7.nl/zorgviewer/StructureDefinition/AuditEvent

Left: | AuditEvent (http://fhir.hl7.nl/zorgviewer/StructureDefinition/AuditEvent)
Right: | AuditEvent (http://fhir.hl7.nl/zorgviewer/StructureDefinition/AuditEvent)

### Messages

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/AuditEvent |
copyright |  |
description | AuditEvent |
experimental |  |
fhirVersion | 3.0.2 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#NL |
kind | resource |
name | AuditEvent |
publisher | RIVO-NN HL7NL |
purpose |  |
status | draft |
title | AuditEvent |
type | AuditEvent |
url | http://fhir.hl7.nl/zorgviewer/StructureDefinition/AuditEvent |

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
AuditEvent |  | 0..* | AuditEvent | Event record kept for security purposes |  | 0..* | AuditEvent | Event record kept for security purposes |
id | Σ | 0..1 | id | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language |  | 0..1 | code | Language of the resource content Binding: ?? (extensible): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (extensible): A human language.
Additional Bindings | Purpose
?? | Max Binding
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 |  | 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 |
contained |  | 0..* | Resource | Contained, inline Resources |  | 0..* | Resource | Contained, inline Resources |
extension |  | 0..* | Extension | Additional Content defined by implementations |  | 0..* | Extension | Additional Content defined by implementations |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
type | S Σ | 1..1 | Coding | Type/identifier of event Binding: ?? (extensible): Type of event. | S Σ | 1..1 | Coding | Type/identifier of event Binding: ?? (extensible): Type of event. |
subtype | Σ | 0..* | Coding | More specific type/id for the event Binding: ?? (extensible): Sub-type of event. | Σ | 0..* | Coding | More specific type/id for the event Binding: ?? (extensible): Sub-type of event. |
action | S Σ | 0..1 | code | Type of action performed during the event Binding: ?? (required): Indicator for type of action performed during the event that generated the event | S Σ | 0..1 | code | Type of action performed during the event Binding: ?? (required): Indicator for type of action performed during the event that generated the event |
recorded | S Σ | 1..1 | instant | Time when the event occurred on source | S Σ | 1..1 | instant | Time when the event occurred on source |
outcome | Σ | 0..1 | code | Whether the event succeeded or failed Binding: ?? (required): Indicates whether the event succeeded or failed | Σ | 0..1 | code | Whether the event succeeded or failed Binding: ?? (required): Indicates whether the event succeeded or failed |
outcomeDesc | Σ | 0..1 | string | Description of the event outcome | Σ | 0..1 | string | Description of the event outcome |
purposeOfEvent | Σ | 0..* | CodeableConcept | The purposeOfUse of the event Binding: ?? (extensible): The reason the activity took place. | Σ | 0..* | CodeableConcept | The purposeOfUse of the event Binding: ?? (extensible): The reason the activity took place. |
agent | S | 1..* | BackboneElement | Actor involved in the event | S | 1..* | BackboneElement | Actor involved in the event |
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
extension |  | 0..* | Extension | Additional Content defined by implementations |  | 0..* | Extension | Additional Content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
role | S | 0..* | CodeableConcept | Agent role in the event Binding: ?? (extensible): What security role enabled the agent to participate in the event | S | 0..* | CodeableConcept | Agent role in the event Binding: ?? (extensible): What security role enabled the agent to participate in the event |
reference | Σ | 0..1 | Reference(Practitioner | Organization | Device | Patient | RelatedPerson) | Direct reference to resource | Σ | 0..1 | Reference(Practitioner | Organization | Device | Patient | RelatedPerson) | Direct reference to resource |
userId | S Σ | 0..1 | Identifier | Unique identifier for the user | S Σ | 0..1 | Identifier | Unique identifier for the user |
altId |  | 0..1 | string | Alternative User id e.g. authentication |  | 0..1 | string | Alternative User id e.g. authentication |
name | S | 0..1 | string | Human-meaningful name for the agent | S | 0..1 | string | Human-meaningful name for the agent |
requestor |  | 1..1 | boolean | Whether user is initiator |  | 1..1 | boolean | Whether user is initiator |
location |  | 0..1 | Reference(Location) | Where |  | 0..1 | Reference(Location) | Where |
policy | S | 0..* | uri | Policy that authorized event Fixed Value: https://rivo-noord.nl/zorgviewer/toestemming | S | 0..* | uri | Policy that authorized event Fixed Value: https://rivo-noord.nl/zorgviewer/toestemming |
media |  | 0..1 | Coding | Type of media Binding: ?? (extensible): Used when the event is about exporting/importing onto media. |  | 0..1 | Coding | Type of media Binding: ?? (extensible): Used when the event is about exporting/importing onto media. |
network |  | 0..1 | BackboneElement | Logical network location for application activity |  | 0..1 | BackboneElement | Logical network location for application activity |
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
extension |  | 0..* | Extension | Additional Content defined by implementations |  | 0..* | Extension | Additional Content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
address |  | 0..1 | string | Identifier for the network access point of the user device |  | 0..1 | string | Identifier for the network access point of the user device |
type |  | 0..1 | code | The type of network access point Binding: ?? (required): The type of network access point of this agent in the audit event |  | 0..1 | code | The type of network access point Binding: ?? (required): The type of network access point of this agent in the audit event |
purposeOfUse |  | 0..* | CodeableConcept | Reason given for this user Binding: ?? (extensible): The reason the activity took place. |  | 0..* | CodeableConcept | Reason given for this user Binding: ?? (extensible): The reason the activity took place. |
source |  | 1..1 | BackboneElement | Audit Event Reporter |  | 1..1 | BackboneElement | Audit Event Reporter |
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
extension |  | 0..* | Extension | Additional Content defined by implementations |  | 0..* | Extension | Additional Content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
site |  | 0..1 | string | Logical source location within the enterprise |  | 0..1 | string | Logical source location within the enterprise |
identifier | S Σ | 1..1 | Identifier | The identity of source detecting the event | S Σ | 1..1 | Identifier | The identity of source detecting the event |
type |  | 0..* | Coding | The type of source where event originated Binding: ?? (extensible): Code specifying the type of system that detected and recorded the event. |  | 0..* | Coding | The type of source where event originated Binding: ?? (extensible): Code specifying the type of system that detected and recorded the event. |
entity | S C | 0..* | BackboneElement | Data or objects used | S C | 0..* | BackboneElement | Data or objects used |
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
extension |  | 0..* | Extension | Additional Content defined by implementations |  | 0..* | Extension | Additional Content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
identifier | S Σ | 0..1 | Identifier | Specific instance of object | S Σ | 0..1 | Identifier | Specific instance of object |
reference | Σ | 0..1 | Reference(Resource) | Specific instance of resource | Σ | 0..1 | Reference(Resource) | Specific instance of resource |
type | S | 0..1 | Coding | Type of entity involved Binding: ?? (extensible): Code for the entity type involved in the audit event | S | 0..1 | Coding | Type of entity involved Binding: ?? (extensible): Code for the entity type involved in the audit event |
role |  | 0..1 | Coding | What role the entity played Binding: ?? (extensible): Code representing the role the entity played in the audit event |  | 0..1 | Coding | What role the entity played Binding: ?? (extensible): Code representing the role the entity played in the audit event |
lifecycle |  | 0..1 | Coding | Life-cycle stage for the entity Binding: ?? (extensible): Identifier for the data life-cycle stage for the entity |  | 0..1 | Coding | Life-cycle stage for the entity Binding: ?? (extensible): Identifier for the data life-cycle stage for the entity |
securityLabel |  | 0..* | Coding | Security labels on the entity Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System. |  | 0..* | Coding | Security labels on the entity Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System. |
name | Σ C | 0..1 | string | Descriptor for entity | Σ C | 0..1 | string | Descriptor for entity |
description |  | 0..1 | string | Descriptive text |  | 0..1 | string | Descriptive text |
query | Σ C | 0..1 | base64Binary | Query parameters | Σ C | 0..1 | base64Binary | Query parameters |
detail | S C | 0..* | BackboneElement | Additional Information about the entity Constraints: zv-ae-1 | S C | 0..* | BackboneElement | Additional Information about the entity Constraints: zv-ae-1 |
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
extension |  | 0..* | Extension | Additional Content defined by implementations |  | 0..* | Extension | Additional Content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
type |  | 1..1 | string | Name of the property |  | 1..1 | string | Name of the property |
value |  | 1..1 | base64Binary | Property value |  | 1..1 | base64Binary | Property value |
Documentation for this format