PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver-r5.r4b@0.0.1-snapshot-2
    http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceDefinition.link
description: This cross-version extension represents DeviceDefinition.link from http://hl7.org/fhir/StructureDefinition/DeviceDefinition|5.0.0 for use in FHIR R4B.
package_name: hl7.fhir.uv.xver-r5.r4b
derivation: constraint
name: Ext_R5_DeviceDefinition_link
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:
        relation:
          match: {url: relation}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: The type indicates the relationship of the related device to the device instance
            _required: true
            index: 1
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: relation}
                index: 2
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: The type indicates the relationship of the related device to the device instance
                choices: [valueCoding]
                index: 4
              valueCoding:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Coding
                short: The type indicates the relationship of the related device to the device instance
                choiceOf: value
                index: 5
            required: [url]
        relatedDevice:
          match: {url: relatedDevice}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: A reference to the linked device
            _required: true
            index: 6
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: relatedDevice}
                index: 7
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: A reference to the linked device
                choices: [valueCodeableReference]
                index: 9
              valueCodeableReference:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: CodeableReference
                short: A reference to the linked device
                choiceOf: value
                index: 10
            required: [url]
  url:
    base: {max: '1', min: 1, path: Extension.url}
    pattern: {type: Uri, value: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceDefinition.link'}
    index: 11
package_version: 0.0.1-snapshot-2
extensions:
  relation:
    url: relation
    base: {max: '*', min: 0, path: Extension.extension}
    short: The type indicates the relationship of the related device to the device instance
    _required: true
    index: 1
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: relation}
        index: 2
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: The type indicates the relationship of the related device to the device instance
        choices: [valueCoding]
        index: 4
      valueCoding:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Coding
        short: The type indicates the relationship of the related device to the device instance
        choiceOf: value
        index: 5
    required: [url]
  relatedDevice:
    url: relatedDevice
    base: {max: '*', min: 0, path: Extension.extension}
    short: A reference to the linked device
    _required: true
    index: 6
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: relatedDevice}
        index: 7
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: A reference to the linked device
        choices: [valueCodeableReference]
        index: 9
      valueCodeableReference:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: CodeableReference
        short: A reference to the linked device
        choiceOf: value
        index: 10
    required: [url]
class: extension
kind: complex-type
url: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceDefinition.link
base: http://hl7.org/fhir/StructureDefinition/Extension|4.3.0
version: 0.0.1-snapshot-2
required: [url]