PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver-r2.r5@0.0.1-snapshot-2
    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 R5.
package_name: hl7.fhir.uv.xver-r2.r5
derivation: constraint
name: Ext_R2_AuditEvent_event
type: Extension
elements:
  extension:
    base: {max: '*', min: 0, path: Extension.extension}
    array: true
    min: 2
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 2
      slices:
        type:
          match: {url: type}
          schema:
            short: Type/identifier of event
            _required: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 1
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: type}
                index: 2
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Type/identifier of event
                choices: [valueCoding]
                index: 4
              valueCoding:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Coding
                short: Type/identifier of event
                choiceOf: value
                index: 5
            required: [url]
        subtype:
          match: {url: subtype}
          schema:
            short: More specific type/id for the event
            array: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 6
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: subtype}
                index: 7
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: More specific type/id for the event
                choices: [valueCoding]
                index: 9
              valueCoding:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Coding
                short: More specific type/id for the event
                choiceOf: value
                index: 10
            required: [url]
        action:
          match: {url: action}
          schema:
            short: Type of action performed during the event
            base: {max: '*', min: 0, path: Extension.extension}
            index: 11
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: action}
                index: 12
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Type of action performed during the event
                choices: [valueCode]
                index: 14
              valueCode:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: code
                short: Type of action performed during the event
                choiceOf: value
                index: 15
            required: [url]
        dateTime:
          match: {url: dateTime}
          schema:
            short: Time when the event occurred on source
            _required: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 16
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: dateTime}
                index: 17
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Time when the event occurred on source
                choices: [valueInstant]
                index: 19
              valueInstant:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: instant
                short: Time when the event occurred on source
                choiceOf: value
                index: 20
            required: [url]
        outcome:
          match: {url: outcome}
          schema:
            short: Whether the event succeeded or failed
            base: {max: '*', min: 0, path: Extension.extension}
            index: 21
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: outcome}
                index: 22
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Whether the event succeeded or failed
                choices: [valueCode]
                index: 24
              valueCode:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: code
                short: Whether the event succeeded or failed
                choiceOf: value
                index: 25
            required: [url]
        outcomeDesc:
          match: {url: outcomeDesc}
          schema:
            short: Description of the event outcome
            base: {max: '*', min: 0, path: Extension.extension}
            index: 26
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: outcomeDesc}
                index: 27
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Description of the event outcome
                choices: [valueString]
                index: 29
              valueString:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: string
                short: Description of the event outcome
                choiceOf: value
                index: 30
            required: [url]
        purposeOfEvent:
          match: {url: purposeOfEvent}
          schema:
            short: The purposeOfUse of the event
            array: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 31
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: purposeOfEvent}
                index: 32
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: The purposeOfUse of the event
                choices: [valueCoding]
                index: 34
              valueCoding:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Coding
                short: The purposeOfUse of the event
                choiceOf: value
                index: 35
            required: [url]
  url:
    base: {max: '1', min: 1, path: Extension.url}
    pattern: {type: Uri, value: 'http://hl7.org/fhir/1.0/StructureDefinition/extension-AuditEvent.event'}
    index: 36
package_version: 0.0.1-snapshot-2
extensions:
  type:
    url: type
    short: Type/identifier of event
    _required: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 1
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: type}
        index: 2
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Type/identifier of event
        choices: [valueCoding]
        index: 4
      valueCoding:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Coding
        short: Type/identifier of event
        choiceOf: value
        index: 5
    required: [url]
  subtype:
    url: subtype
    short: More specific type/id for the event
    array: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 6
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: subtype}
        index: 7
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: More specific type/id for the event
        choices: [valueCoding]
        index: 9
      valueCoding:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Coding
        short: More specific type/id for the event
        choiceOf: value
        index: 10
    required: [url]
  action:
    url: action
    short: Type of action performed during the event
    base: {max: '*', min: 0, path: Extension.extension}
    index: 11
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: action}
        index: 12
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Type of action performed during the event
        choices: [valueCode]
        index: 14
      valueCode:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: code
        short: Type of action performed during the event
        choiceOf: value
        index: 15
    required: [url]
  dateTime:
    url: dateTime
    short: Time when the event occurred on source
    _required: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 16
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: dateTime}
        index: 17
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Time when the event occurred on source
        choices: [valueInstant]
        index: 19
      valueInstant:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: instant
        short: Time when the event occurred on source
        choiceOf: value
        index: 20
    required: [url]
  outcome:
    url: outcome
    short: Whether the event succeeded or failed
    base: {max: '*', min: 0, path: Extension.extension}
    index: 21
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: outcome}
        index: 22
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Whether the event succeeded or failed
        choices: [valueCode]
        index: 24
      valueCode:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: code
        short: Whether the event succeeded or failed
        choiceOf: value
        index: 25
    required: [url]
  outcomeDesc:
    url: outcomeDesc
    short: Description of the event outcome
    base: {max: '*', min: 0, path: Extension.extension}
    index: 26
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: outcomeDesc}
        index: 27
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Description of the event outcome
        choices: [valueString]
        index: 29
      valueString:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: string
        short: Description of the event outcome
        choiceOf: value
        index: 30
    required: [url]
  purposeOfEvent:
    url: purposeOfEvent
    short: The purposeOfUse of the event
    array: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 31
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: purposeOfEvent}
        index: 32
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: The purposeOfUse of the event
        choices: [valueCoding]
        index: 34
      valueCoding:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Coding
        short: The purposeOfUse of the event
        choiceOf: value
        index: 35
    required: [url]
class: extension
kind: complex-type
url: http://hl7.org/fhir/1.0/StructureDefinition/extension-AuditEvent.event
base: http://hl7.org/fhir/StructureDefinition/Extension|5.0.0
version: 0.0.1-snapshot-2
required: [url]