PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver@r5.r4-0.0.1-snapshot-2
    http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceDefinition.version
description: This cross-version extension represents DeviceDefinition.version from http://hl7.org/fhir/StructureDefinition/DeviceDefinition|5.0.0 for use in FHIR R4.
package_name: hl7.fhir.uv.xver
derivation: constraint
name: Ext_R5_DeviceDefinition_version
type: Extension
elements:
  extension:
    base: {max: '*', min: 0, path: Extension.extension}
    array: true
    min: 1
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        type:
          match: {url: type}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: The type of the device version, e.g. manufacturer, approved, internal
            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: The type of the device version, e.g. manufacturer, approved, internal
                choices: [valueCodeableConcept]
                index: 4
              valueCodeableConcept:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: CodeableConcept
                short: The type of the device version, e.g. manufacturer, approved, internal
                choiceOf: value
                index: 5
            required: [url]
        component:
          match: {url: component}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: The hardware or software module of the device to which the version applies
            index: 6
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: component}
                index: 7
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: The hardware or software module of the device to which the version applies
                choices: [valueIdentifier]
                index: 9
              valueIdentifier:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Identifier
                short: The hardware or software module of the device to which the version applies
                choiceOf: value
                index: 10
            required: [url]
        value:
          match: {url: value}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: The version text
            _required: true
            index: 11
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: value}
                index: 12
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: The version text
                choices: [valueString]
                index: 14
              valueString:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: string
                short: The version text
                choiceOf: value
                index: 15
            required: [url]
  url:
    base: {max: '1', min: 1, path: Extension.url}
    pattern: {type: Uri, value: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceDefinition.version'}
    index: 16
package_version: r5.r4-0.0.1-snapshot-2
extensions:
  type:
    url: type
    base: {max: '*', min: 0, path: Extension.extension}
    short: The type of the device version, e.g. manufacturer, approved, internal
    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: The type of the device version, e.g. manufacturer, approved, internal
        choices: [valueCodeableConcept]
        index: 4
      valueCodeableConcept:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: CodeableConcept
        short: The type of the device version, e.g. manufacturer, approved, internal
        choiceOf: value
        index: 5
    required: [url]
  component:
    url: component
    base: {max: '*', min: 0, path: Extension.extension}
    short: The hardware or software module of the device to which the version applies
    index: 6
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: component}
        index: 7
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: The hardware or software module of the device to which the version applies
        choices: [valueIdentifier]
        index: 9
      valueIdentifier:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Identifier
        short: The hardware or software module of the device to which the version applies
        choiceOf: value
        index: 10
    required: [url]
  value:
    url: value
    base: {max: '*', min: 0, path: Extension.extension}
    short: The version text
    _required: true
    index: 11
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: value}
        index: 12
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: The version text
        choices: [valueString]
        index: 14
      valueString:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: string
        short: The version text
        choiceOf: value
        index: 15
    required: [url]
class: extension
kind: complex-type
url: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceDefinition.version
base: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1
version: 0.0.1-snapshot-2
required: [url, extension]