PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver-r2.r4b@0.0.1-snapshot-1
    http://hl7.org/fhir/1.0/StructureDefinition/extension-AuditEvent.event
description: This cross-version extension represents AuditEvent.event from http://hl7.org/fhir/StructureDefinition/AuditEvent|1.0.2 for use in FHIR R4B.
package_name: hl7.fhir.uv.xver-r2.r4b
derivation: constraint
name: ext_R2_AuditEvent_event
type: Extension
elements:
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 2
      slices:
        type:
          match: {url: null}
          schema:
            isModifier: false
            short: Type/identifier of event
            _required: true
            index: 1
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Type/identifier of event
                choices: [valueCoding]
                index: 3
              valueCoding:
                base: {path: 'Extension.value[x]'}
                type: Coding
                short: Type/identifier of event
                choiceOf: value
                index: 4
        subtype:
          match: {url: null}
          schema:
            isModifier: false
            short: More specific type/id for the event
            array: true
            index: 5
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: More specific type/id for the event
                choices: [valueCoding]
                index: 7
              valueCoding:
                base: {path: 'Extension.value[x]'}
                type: Coding
                short: More specific type/id for the event
                choiceOf: value
                index: 8
        action:
          match: {url: null}
          schema:
            isModifier: false
            short: Type of action performed during the event
            index: 9
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Type of action performed during the event
                choices: [valueCode]
                index: 11
              valueCode:
                base: {path: 'Extension.value[x]'}
                type: code
                short: Type of action performed during the event
                choiceOf: value
                index: 12
        dateTime:
          match: {url: null}
          schema:
            isModifier: false
            short: Time when the event occurred on source
            _required: true
            index: 13
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Time when the event occurred on source
                choices: [valueInstant]
                index: 15
              valueInstant:
                base: {path: 'Extension.value[x]'}
                type: instant
                short: Time when the event occurred on source
                choiceOf: value
                index: 16
        outcome:
          match: {url: null}
          schema:
            isModifier: false
            short: Whether the event succeeded or failed
            index: 17
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Whether the event succeeded or failed
                choices: [valueCode]
                index: 19
              valueCode:
                base: {path: 'Extension.value[x]'}
                type: code
                short: Whether the event succeeded or failed
                choiceOf: value
                index: 20
        outcomeDesc:
          match: {url: null}
          schema:
            isModifier: false
            short: Description of the event outcome
            index: 21
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Description of the event outcome
                choices: [valueString]
                index: 23
              valueString:
                base: {path: 'Extension.value[x]'}
                type: string
                short: Description of the event outcome
                choiceOf: value
                index: 24
        purposeOfEvent:
          match: {url: null}
          schema:
            isModifier: false
            short: The purposeOfUse of the event
            array: true
            index: 25
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: The purposeOfUse of the event
                choices: [valueCoding]
                index: 27
              valueCoding:
                base: {path: 'Extension.value[x]'}
                type: Coding
                short: The purposeOfUse of the event
                choiceOf: value
                index: 28
  url:
    pattern: {type: uri, value: 'http://hl7.org/fhir/1.0/StructureDefinition/extension-AuditEvent.event'}
    type: uri
    index: 29
package_version: 0.0.1-snapshot-1
extensions:
  type:
    url: null
    isModifier: false
    short: Type/identifier of event
    _required: true
    index: 1
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Type/identifier of event
        choices: [valueCoding]
        index: 3
      valueCoding:
        base: {path: 'Extension.value[x]'}
        type: Coding
        short: Type/identifier of event
        choiceOf: value
        index: 4
  subtype:
    url: null
    isModifier: false
    short: More specific type/id for the event
    array: true
    index: 5
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: More specific type/id for the event
        choices: [valueCoding]
        index: 7
      valueCoding:
        base: {path: 'Extension.value[x]'}
        type: Coding
        short: More specific type/id for the event
        choiceOf: value
        index: 8
  action:
    url: null
    isModifier: false
    short: Type of action performed during the event
    index: 9
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Type of action performed during the event
        choices: [valueCode]
        index: 11
      valueCode:
        base: {path: 'Extension.value[x]'}
        type: code
        short: Type of action performed during the event
        choiceOf: value
        index: 12
  dateTime:
    url: null
    isModifier: false
    short: Time when the event occurred on source
    _required: true
    index: 13
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Time when the event occurred on source
        choices: [valueInstant]
        index: 15
      valueInstant:
        base: {path: 'Extension.value[x]'}
        type: instant
        short: Time when the event occurred on source
        choiceOf: value
        index: 16
  outcome:
    url: null
    isModifier: false
    short: Whether the event succeeded or failed
    index: 17
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Whether the event succeeded or failed
        choices: [valueCode]
        index: 19
      valueCode:
        base: {path: 'Extension.value[x]'}
        type: code
        short: Whether the event succeeded or failed
        choiceOf: value
        index: 20
  outcomeDesc:
    url: null
    isModifier: false
    short: Description of the event outcome
    index: 21
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Description of the event outcome
        choices: [valueString]
        index: 23
      valueString:
        base: {path: 'Extension.value[x]'}
        type: string
        short: Description of the event outcome
        choiceOf: value
        index: 24
  purposeOfEvent:
    url: null
    isModifier: false
    short: The purposeOfUse of the event
    array: true
    index: 25
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: The purposeOfUse of the event
        choices: [valueCoding]
        index: 27
      valueCoding:
        base: {path: 'Extension.value[x]'}
        type: Coding
        short: The purposeOfUse of the event
        choiceOf: value
        index: 28
class: extension
kind: complex-type
url: http://hl7.org/fhir/1.0/StructureDefinition/extension-AuditEvent.event
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.0.1-snapshot-1
required: [url]