PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.r4.id.core@0.1.0
    https://fhir.kemkes.go.id/r4/StructureDefinition/AuditEvent
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.
package_name: hl7.fhir.r4.id.core
derivation: specialization
name: AuditEvent
type: AuditEvent
elements:
  outcomeDesc: {type: string, short: Description of the event outcome, isSummary: true, index: 6}
  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: code
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/audit-event-outcome|4.0.1'}
    isSummary: true
    index: 5
  source:
    short: Audit Event Reporter
    type: BackboneElement
    index: 22
    elements:
      site: {type: string, short: Logical source location within the enterprise, 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:
        type: Coding
        short: The type of source where event originated
        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: 4}
  agent:
    short: Actor involved in the event
    type: BackboneElement
    index: 8
    elements:
      role:
        short: Agent role in the event
        type: CodeableConcept
        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: {type: string, short: Alternative User identity, index: 12}
      name: {type: string, short: Human friendly name for the agent, index: 13}
      type:
        type: CodeableConcept
        short: How agent participated
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/participation-role-type'}
        index: 9
      policy: {type: uri, short: Policy that authorized event, index: 16}
      purposeOfUse:
        type: CodeableConcept
        short: Reason given for this user
        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.0.1'}
            index: 20
      location:
        type: Reference
        short: Where
        refers: ['http://hl7.org/fhir/StructureDefinition/Location']
        index: 15
      media:
        short: Type of media
        type: Coding
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/dicm-405-mediatype'}
        index: 17
    required: [requestor]
  purposeOfEvent:
    short: The purposeOfUse of the event
    type: CodeableConcept
    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.0.1'}
    isSummary: true
    index: 2
  period: {type: Period, short: When the activity occurred, index: 3}
  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
    index: 26
    elements:
      role:
        short: What role the entity played
        type: Coding
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/object-role'}
        index: 29
      description: {type: string, short: Descriptive text, index: 33}
      name: {short: Descriptor for entity, type: string, isSummary: true, index: 32}
      type:
        short: Type of entity involved
        type: Coding
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/audit-entity-type'}
        index: 28
      lifecycle:
        short: Life-cycle stage for the entity
        type: Coding
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/object-lifecycle-events'}
        index: 30
      query: {short: Query parameters, type: base64Binary, isSummary: true, index: 34}
      securityLabel:
        short: Security labels on the entity
        type: Coding
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/security-labels'}
        index: 31
      what:
        short: Specific instance of resource
        refers: ['http://hl7.org/fhir/StructureDefinition/Resource']
        type: Reference
        isSummary: true
        index: 27
      detail:
        type: BackboneElement
        short: Additional Information about the entity
        index: 35
        elements:
          type: {type: string, short: Name of the property, index: 36}
          value:
            short: Property value
            choices: [valueString, valueBase64Binary]
            index: 38
          valueString: {short: Property value, type: string, choiceOf: value, index: 39}
          valueBase64Binary: {short: Property value, type: base64Binary, choiceOf: value, index: 40}
        required: [valueBase64Binary, valueString, value, type]
  subtype:
    short: More specific type/id for the event
    type: Coding
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/audit-event-sub-type'}
    isSummary: true
    index: 1
package_version: 0.1.0
class: resource
kind: resource
url: https://fhir.kemkes.go.id/r4/StructureDefinition/AuditEvent
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: 4.0.1
required: [agent, recorded, source, type]