http://hl7.org/fhir/StructureDefinition/AuditEvent|4.0.1

A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage.
description: A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage.
derivation: specialization
name: AuditEvent
type: AuditEvent
elements:
  outcomeDesc: {short: Description of the event outcome, isSummary: true, index: 6}
  type:
    short: Type/identifier of event
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/audit-event-type'}
    isSummary: true
    index: 0
  outcome:
    short: Whether the event succeeded or failed
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/audit-event-outcome|4.0.1'}
    isSummary: true
    index: 5
  source:
    short: Audit Event Reporter
    index: 22
    elements:
      site: {short: Logical source location within the enterprise, index: 23}
      observer: {short: The identity of source detecting the event, isSummary: true, index: 24}
      type:
        short: The type of source where event originated
        array: true
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/audit-source-type'}
        index: 25
    required: [observer]
  recorded: {short: Time when the event was recorded, isSummary: true, index: 4}
  agent:
    min: 1
    short: Actor involved in the event
    array: true
    index: 8
    elements:
      role:
        short: Agent role in the event
        array: true
        binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/security-role-type'}
        index: 10
      requestor: {short: Whether user is initiator, isSummary: true, index: 14}
      who: {short: Identifier of who, isSummary: true, index: 11}
      altId: {short: Alternative User identity, index: 12}
      name: {short: Human friendly name for the agent, index: 13}
      type:
        short: How agent participated
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/participation-role-type'}
        index: 9
      policy: {short: Policy that authorized event, array: true, index: 16}
      purposeOfUse:
        short: Reason given for this user
        array: true
        binding: {strength: extensible, valueSet: 'http://terminology.hl7.org/ValueSet/v3-PurposeOfUse'}
        index: 21
      network:
        short: Logical network location for application activity
        index: 18
        elements:
          address: {short: Identifier for the network access point of the user device, index: 19}
          type:
            short: The type of network access point
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/network-type|4.0.1'}
            index: 20
      location: {short: Where, index: 15}
      media:
        short: Type of media
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/dicm-405-mediatype'}
        index: 17
    required: [requestor]
  purposeOfEvent:
    short: The purposeOfUse of the event
    array: true
    binding: {strength: extensible, valueSet: 'http://terminology.hl7.org/ValueSet/v3-PurposeOfUse'}
    isSummary: true
    index: 7
  action:
    short: Type of action performed during the event
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/audit-event-action|4.0.1'}
    isSummary: true
    index: 2
  period: {short: When the activity occurred, index: 3}
  entity:
    constraint:
      sev-1: {human: Either a name or a query (NOT both), severity: error, expression: name.empty() or query.empty()}
    short: Data or objects used
    array: true
    index: 26
    elements:
      role:
        short: What role the entity played
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/object-role'}
        index: 29
      description: {short: Descriptive text, index: 33}
      name: {short: Descriptor for entity, isSummary: true, index: 32}
      type:
        short: Type of entity involved
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/audit-entity-type'}
        index: 28
      lifecycle:
        short: Life-cycle stage for the entity
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/object-lifecycle-events'}
        index: 30
      query: {short: Query parameters, isSummary: true, index: 34}
      securityLabel:
        short: Security labels on the entity
        array: true
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/security-labels'}
        index: 31
      what: {short: Specific instance of resource, isSummary: true, index: 27}
      detail:
        short: Additional Information about the entity
        array: true
        index: 35
        elements:
          type: {short: Name of the property, index: 36}
          value:
            short: Property value
            choices: []
            index: 38
        required: [value, type]
  subtype:
    short: More specific type/id for the event
    array: true
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/audit-event-sub-type'}
    isSummary: true
    index: 1
class: resource
kind: resource
url: http://hl7.org/fhir/StructureDefinition/AuditEvent
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: 4.0.1
required: [agent, recorded, source, type]