PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.r5.core@4.6.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.core
derivation: specialization
name: AuditEvent
type: AuditEvent
elements:
  encounter:
    isModifier: false
    short: Encounter within which this event occurred or which the event is tightly associated
    refers: ['http://hl7.org/fhir/StructureDefinition/Encounter']
    type: Reference
    mustSupport: false
    isSummary: false
    index: 9
  type:
    isModifier: false
    short: Type/identifier of event
    type: Coding
    mustSupport: false
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/audit-event-type'}
    isSummary: true
    index: 0
  outcome:
    isModifier: false
    short: Whether the event succeeded or failed
    type: CodeableConcept
    mustSupport: false
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/audit-event-outcome'}
    isSummary: true
    index: 6
  source:
    isModifier: false
    short: Audit Event Reporter
    index: 24
    type: BackboneElement
    mustSupport: false
    elements:
      site: {isModifier: false, short: Logical source location within the enterprise, type: string, mustSupport: false, isSummary: false, index: 25}
      observer:
        isModifier: false
        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
        mustSupport: false
        isSummary: true
        index: 26
      type:
        isModifier: false
        short: The type of source where event originated
        type: Coding
        mustSupport: false
        array: true
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/security-source-type'}
        isSummary: false
        index: 27
    required: [observer]
    isSummary: false
  recorded: {isModifier: false, short: Time when the event was recorded, type: instant, mustSupport: false, isSummary: true, index: 5}
  agent:
    min: 1
    isModifier: false
    short: Actor involved in the event
    index: 10
    type: BackboneElement
    mustSupport: false
    array: true
    elements:
      role:
        isModifier: false
        short: Agent role in the event
        type: CodeableConcept
        mustSupport: false
        array: true
        binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/security-role-type'}
        isSummary: false
        index: 12
      requestor: {isModifier: false, short: Whether user is initiator, type: boolean, mustSupport: false, isSummary: true, index: 16}
      who:
        isModifier: false
        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
        mustSupport: false
        isSummary: true
        index: 13
      altId: {isModifier: false, short: Alternative User identity, type: string, mustSupport: false, isSummary: false, index: 14}
      name: {isModifier: false, short: Human friendly name for the agent, type: string, mustSupport: false, isSummary: false, index: 15}
      type:
        isModifier: false
        short: How agent participated
        type: CodeableConcept
        mustSupport: false
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/participation-role-type'}
        isSummary: false
        index: 11
      policy: {isModifier: false, short: Policy that authorized event, type: uri, mustSupport: false, array: true, isSummary: false, index: 18}
      purposeOfUse:
        isModifier: false
        short: Reason given for this user
        type: CodeableConcept
        mustSupport: false
        array: true
        binding: {strength: extensible, valueSet: 'http://terminology.hl7.org/ValueSet/v3-PurposeOfUse'}
        isSummary: false
        index: 23
      network:
        isModifier: false
        short: Logical network location for application activity
        type: BackboneElement
        mustSupport: false
        isSummary: false
        index: 20
        elements:
          address: {isModifier: false, short: Identifier for the network access point of the user device, type: string, mustSupport: false, isSummary: false, index: 21}
          type:
            isModifier: false
            short: The type of network access point
            type: code
            mustSupport: false
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/network-type|4.6.0'}
            isSummary: false
            index: 22
      location:
        isModifier: false
        short: Where
        refers: ['http://hl7.org/fhir/StructureDefinition/Location']
        type: Reference
        mustSupport: false
        isSummary: false
        index: 17
      media:
        isModifier: false
        short: Type of media
        type: Coding
        mustSupport: false
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/audit-media-type'}
        isSummary: false
        index: 19
    required: [requestor]
    isSummary: false
  severity:
    isModifier: false
    short: emergency | alert | critical | error | warning | notice | informational | debug
    type: code
    mustSupport: false
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/audit-event-severity|4.6.0'}
    isSummary: true
    index: 3
  purposeOfEvent:
    isModifier: false
    short: The purposeOfUse of the event
    type: CodeableConcept
    mustSupport: false
    array: true
    binding: {strength: extensible, valueSet: 'http://terminology.hl7.org/ValueSet/v3-PurposeOfUse'}
    isSummary: true
    index: 7
  action:
    isModifier: false
    short: Type of action performed during the event
    type: code
    mustSupport: false
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/audit-event-action|4.6.0'}
    isSummary: true
    index: 2
  period: {isModifier: false, short: When the activity occurred, type: Period, mustSupport: false, isSummary: false, index: 4}
  basedOn:
    isModifier: false
    short: Workflow authorization within which this event occurred
    refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan', 'http://hl7.org/fhir/StructureDefinition/DeviceRequest', 'http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation', 'http://hl7.org/fhir/StructureDefinition/MedicationRequest', 'http://hl7.org/fhir/StructureDefinition/NutritionOrder', 'http://hl7.org/fhir/StructureDefinition/ServiceRequest']
    type: Reference
    mustSupport: false
    array: true
    isSummary: false
    index: 8
  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()}
    isModifier: false
    short: Data or objects used
    index: 28
    type: BackboneElement
    mustSupport: false
    array: true
    elements:
      what:
        isModifier: false
        short: Specific instance of resource
        refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
        type: Reference
        mustSupport: false
        isSummary: true
        index: 29
      type:
        isModifier: false
        short: Type of entity involved
        type: Coding
        mustSupport: false
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/audit-entity-type'}
        isSummary: false
        index: 30
      role:
        isModifier: false
        short: What role the entity played
        type: Coding
        mustSupport: false
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/object-role'}
        isSummary: false
        index: 31
      lifecycle:
        isModifier: false
        short: Life-cycle stage for the entity
        type: Coding
        mustSupport: false
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/object-lifecycle-events'}
        isSummary: false
        index: 32
      securityLabel:
        isModifier: false
        short: Security labels on the entity
        type: Coding
        mustSupport: false
        array: true
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/security-labels'}
        isSummary: false
        index: 33
      name: {isModifier: false, short: Descriptor for entity, type: string, mustSupport: false, isSummary: true, index: 34}
      query: {isModifier: false, short: Query parameters, type: base64Binary, mustSupport: false, isSummary: true, index: 35}
      detail:
        isModifier: false
        short: Additional Information about the entity
        index: 36
        type: BackboneElement
        mustSupport: false
        array: true
        elements:
          type: {isModifier: false, short: Name of the property, type: string, mustSupport: false, isSummary: false, index: 37}
          value:
            isModifier: false
            short: Property value
            mustSupport: false
            choices: [valueString, valueBase64Binary]
            isSummary: false
            index: 39
          valueString: {isModifier: false, short: Property value, type: string, mustSupport: false, choiceOf: value, isSummary: false, index: 40}
          valueBase64Binary: {isModifier: false, short: Property value, type: base64Binary, mustSupport: false, choiceOf: value, isSummary: false, index: 41}
        required: [valueBase64Binary, valueString, value, type]
        isSummary: false
    isSummary: false
  subtype:
    isModifier: false
    short: More specific type/id for the event
    type: Coding
    mustSupport: false
    array: true
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/audit-event-sub-type'}
    isSummary: true
    index: 1
package_version: 4.6.0
class: resource
kind: resource
url: http://hl7.org/fhir/StructureDefinition/AuditEvent
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: 4.6.0
required: [agent, recorded, source, type]