PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.r5.examples@4.5.0
    http://hl7.org/fhir/StructureDefinition/AuditEvent
description: A record of an event relevant for purposes such as operations, privacy, security, maintenance, and performance analysis.
package_name: hl7.fhir.r5.examples
derivation: specialization
name: AuditEvent
type: AuditEvent
elements:
  type:
    short: Type/identifier of event
    type: Coding
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/audit-event-type'}
    isSummary: true
    index: 0
  outcome:
    short: Whether the event succeeded or failed
    type: CodeableConcept
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/audit-event-outcome'}
    isSummary: true
    index: 6
  source:
    short: Audit Event Reporter
    type: BackboneElement
    index: 22
    elements:
      site: {short: Logical source location within the enterprise, type: string, index: 23}
      observer:
        short: The identity of source detecting the event
        refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
        type: Reference
        isSummary: true
        index: 24
      type:
        short: The type of source where event originated
        type: Coding
        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, type: instant, isSummary: true, index: 5}
  agent:
    min: 1
    short: Actor involved in the event
    type: BackboneElement
    array: true
    index: 8
    elements:
      role:
        short: Agent role in the event
        type: CodeableConcept
        array: true
        binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/security-role-type'}
        index: 10
      requestor: {short: Whether user is initiator, type: boolean, isSummary: true, index: 14}
      who:
        short: Identifier of who
        refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
        type: Reference
        isSummary: true
        index: 11
      altId: {short: Alternative User identity, type: string, index: 12}
      name: {short: Human friendly name for the agent, type: string, index: 13}
      type:
        short: How agent participated
        type: CodeableConcept
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/participation-role-type'}
        index: 9
      policy: {short: Policy that authorized event, type: uri, array: true, index: 16}
      purposeOfUse:
        short: Reason given for this user
        type: CodeableConcept
        array: true
        binding: {strength: extensible, valueSet: 'http://terminology.hl7.org/ValueSet/v3-PurposeOfUse'}
        index: 21
      network:
        type: BackboneElement
        short: Logical network location for application activity
        index: 18
        elements:
          address: {short: Identifier for the network access point of the user device, type: string, index: 19}
          type:
            short: The type of network access point
            type: code
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/network-type|4.5.0'}
            index: 20
      location:
        short: Where
        refers: ['http://hl7.org/fhir/StructureDefinition/Location']
        type: Reference
        index: 15
      media:
        short: Type of media
        type: Coding
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/audit-media-type'}
        index: 17
    required: [requestor]
  severity:
    short: emergency | alert | critical | error | warning | notice | informational | debug
    type: code
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/audit-event-severity|4.5.0'}
    isSummary: true
    index: 3
  purposeOfEvent:
    short: The purposeOfUse of the event
    type: CodeableConcept
    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
    type: code
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/audit-event-action|4.5.0'}
    isSummary: true
    index: 2
  period: {short: When the activity occurred, type: Period, index: 4}
  entity:
    constraint:
      sev-1: {human: Either a name or a query (NOT both), source: 'http://hl7.org/fhir/StructureDefinition/AuditEvent', severity: error, expression: name.empty() or query.empty()}
    short: Data or objects used
    type: BackboneElement
    array: true
    index: 26
    elements:
      what:
        short: Specific instance of resource
        refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
        type: Reference
        isSummary: true
        index: 27
      type:
        short: Type of entity involved
        type: Coding
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/audit-entity-type'}
        index: 28
      role:
        short: What role the entity played
        type: Coding
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/object-role'}
        index: 29
      lifecycle:
        short: Life-cycle stage for the entity
        type: Coding
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/object-lifecycle-events'}
        index: 30
      securityLabel:
        short: Security labels on the entity
        type: Coding
        array: true
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/security-labels'}
        index: 31
      name: {short: Descriptor for entity, type: string, isSummary: true, index: 32}
      query: {short: Query parameters, type: base64Binary, isSummary: true, index: 33}
      detail:
        short: Additional Information about the entity
        type: BackboneElement
        array: true
        index: 34
        elements:
          type: {type: string, short: Name of the property, index: 35}
          value:
            short: Property value
            choices: [valueString, valueBase64Binary]
            index: 37
          valueString: {short: Property value, type: string, choiceOf: value, index: 38}
          valueBase64Binary: {short: Property value, type: base64Binary, choiceOf: value, index: 39}
        required: [valueBase64Binary, valueString, value, type]
  subtype:
    short: More specific type/id for the event
    type: Coding
    array: true
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/audit-event-sub-type'}
    isSummary: true
    index: 1
package_version: 4.5.0
class: resource
kind: resource
url: http://hl7.org/fhir/StructureDefinition/AuditEvent
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: 4.5.0
required: [agent, recorded, source, type]