PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver-r5.r4@0.0.1-snapshot-1
    http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceDefinition.packaging
description: This cross-version extension represents DeviceDefinition.packaging from http://hl7.org/fhir/StructureDefinition/DeviceDefinition|5.0.0 for use in FHIR R4.
package_name: hl7.fhir.uv.xver-r5.r4
derivation: constraint
name: ext_R5_DeviceDefinition_packaging
type: Extension
elements:
  extension:
    array: true
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        identifier:
          match: {url: null}
          schema:
            short: Business identifier of the packaged medication
            isModifier: false
            index: 1
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Business identifier of the packaged medication
                choices: [valueIdentifier]
                index: 3
              valueIdentifier:
                base: {path: 'Extension.value[x]'}
                type: Identifier
                short: Business identifier of the packaged medication
                choiceOf: value
                index: 4
        type:
          match: {url: null}
          schema:
            short: A code that defines the specific type of packaging
            isModifier: false
            index: 5
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: A code that defines the specific type of packaging
                choices: [valueCodeableConcept]
                index: 7
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: A code that defines the specific type of packaging
                choiceOf: value
                index: 8
        count:
          match: {url: null}
          schema:
            short: The number of items contained in the package (devices or sub-packages)
            isModifier: false
            index: 9
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: The number of items contained in the package (devices or sub-packages)
                choices: [valueInteger]
                index: 11
              valueInteger:
                base: {path: 'Extension.value[x]'}
                type: integer
                short: The number of items contained in the package (devices or sub-packages)
                choiceOf: value
                index: 12
        distributor:
          match: {url: null}
          schema:
            short: An organization that distributes the packaged device
            isModifier: false
            array: true
            index: 13
            extensions:
              name:
                url: null
                short: Distributor's human-readable name
                isModifier: false
                index: 15
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Distributor's human-readable name
                    choices: [valueString]
                    index: 17
                  valueString:
                    base: {path: 'Extension.value[x]'}
                    type: string
                    short: Distributor's human-readable name
                    choiceOf: value
                    index: 18
              organizationReference:
                url: null
                short: Distributor as an Organization resource
                isModifier: false
                array: true
                index: 19
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Distributor as an Organization resource
                    choices: [valueReference]
                    index: 21
                  valueReference:
                    base: {path: 'Extension.value[x]'}
                    type: Reference
                    short: Distributor as an Organization resource
                    choiceOf: value
                    refers: ['http://hl7.org/fhir/StructureDefinition/Organization']
                    index: 22
            elements:
              extension:
                array: true
                index: 14
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    name:
                      match: {url: null}
                      schema:
                        short: Distributor's human-readable name
                        isModifier: false
                        index: 15
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Distributor's human-readable name
                            choices: [valueString]
                            index: 17
                          valueString:
                            base: {path: 'Extension.value[x]'}
                            type: string
                            short: Distributor's human-readable name
                            choiceOf: value
                            index: 18
                    organizationReference:
                      match: {url: null}
                      schema:
                        short: Distributor as an Organization resource
                        isModifier: false
                        array: true
                        index: 19
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Distributor as an Organization resource
                            choices: [valueReference]
                            index: 21
                          valueReference:
                            base: {path: 'Extension.value[x]'}
                            type: Reference
                            short: Distributor as an Organization resource
                            choiceOf: value
                            refers: ['http://hl7.org/fhir/StructureDefinition/Organization']
                            index: 22
        udiDeviceIdentifier:
          match: {url: null}
          schema:
            short: Unique Device Identifier (UDI) Barcode string on the packaging
            isModifier: false
            array: true
            index: 23
            extensions:
              _datatype:
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                type: Extension
                short: Data type name for DeviceDefinition.packaging.udiDeviceIdentifier from FHIR R5
                index: 24
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    pattern: {type: String, value: DeviceDefinition.udiDeviceIdentifier}
                    choices: [valueString]
                    index: 26
                  valueString:
                    type: string
                    pattern: {type: String, value: DeviceDefinition.udiDeviceIdentifier}
                    base: {path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 27
                required: [valueString, value]
            elements:
              extension:
                type: Extension
                short: Data type name for DeviceDefinition.packaging.udiDeviceIdentifier from FHIR R5
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                index: 24
                slicing:
                  slices:
                    _datatype:
                      match: {}
                      schema:
                        type: Extension
                        short: Data type name for DeviceDefinition.packaging.udiDeviceIdentifier from FHIR R5
                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                        index: 24
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            pattern: {type: String, value: DeviceDefinition.udiDeviceIdentifier}
                            choices: [valueString]
                            index: 26
                          valueString:
                            type: string
                            pattern: {type: String, value: DeviceDefinition.udiDeviceIdentifier}
                            base: {path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 27
                        required: [valueString, value]
        packaging:
          match: {url: null}
          schema:
            short: Allows packages within packages
            isModifier: false
            array: true
            index: 28
            extensions:
              _datatype:
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                type: Extension
                short: Data type name for DeviceDefinition.packaging.packaging from FHIR R5
                index: 29
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    pattern: {type: String, value: DeviceDefinition.packaging}
                    choices: [valueString]
                    index: 31
                  valueString:
                    type: string
                    pattern: {type: String, value: DeviceDefinition.packaging}
                    base: {path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 32
                required: [valueString, value]
            elements:
              extension:
                type: Extension
                short: Data type name for DeviceDefinition.packaging.packaging from FHIR R5
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                index: 29
                slicing:
                  slices:
                    _datatype:
                      match: {}
                      schema:
                        type: Extension
                        short: Data type name for DeviceDefinition.packaging.packaging from FHIR R5
                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                        index: 29
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            pattern: {type: String, value: DeviceDefinition.packaging}
                            choices: [valueString]
                            index: 31
                          valueString:
                            type: string
                            pattern: {type: String, value: DeviceDefinition.packaging}
                            base: {path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 32
                        required: [valueString, value]
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceDefinition.packaging'}
    index: 33
package_version: 0.0.1-snapshot-1
extensions:
  identifier:
    url: null
    short: Business identifier of the packaged medication
    isModifier: false
    index: 1
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Business identifier of the packaged medication
        choices: [valueIdentifier]
        index: 3
      valueIdentifier:
        base: {path: 'Extension.value[x]'}
        type: Identifier
        short: Business identifier of the packaged medication
        choiceOf: value
        index: 4
  type:
    url: null
    short: A code that defines the specific type of packaging
    isModifier: false
    index: 5
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: A code that defines the specific type of packaging
        choices: [valueCodeableConcept]
        index: 7
      valueCodeableConcept:
        base: {path: 'Extension.value[x]'}
        type: CodeableConcept
        short: A code that defines the specific type of packaging
        choiceOf: value
        index: 8
  count:
    url: null
    short: The number of items contained in the package (devices or sub-packages)
    isModifier: false
    index: 9
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: The number of items contained in the package (devices or sub-packages)
        choices: [valueInteger]
        index: 11
      valueInteger:
        base: {path: 'Extension.value[x]'}
        type: integer
        short: The number of items contained in the package (devices or sub-packages)
        choiceOf: value
        index: 12
  distributor:
    url: null
    short: An organization that distributes the packaged device
    isModifier: false
    array: true
    index: 13
    extensions:
      name:
        url: null
        short: Distributor's human-readable name
        isModifier: false
        index: 15
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Distributor's human-readable name
            choices: [valueString]
            index: 17
          valueString:
            base: {path: 'Extension.value[x]'}
            type: string
            short: Distributor's human-readable name
            choiceOf: value
            index: 18
      organizationReference:
        url: null
        short: Distributor as an Organization resource
        isModifier: false
        array: true
        index: 19
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Distributor as an Organization resource
            choices: [valueReference]
            index: 21
          valueReference:
            base: {path: 'Extension.value[x]'}
            type: Reference
            short: Distributor as an Organization resource
            choiceOf: value
            refers: ['http://hl7.org/fhir/StructureDefinition/Organization']
            index: 22
    elements:
      extension:
        array: true
        index: 14
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            name:
              match: {url: null}
              schema:
                short: Distributor's human-readable name
                isModifier: false
                index: 15
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Distributor's human-readable name
                    choices: [valueString]
                    index: 17
                  valueString:
                    base: {path: 'Extension.value[x]'}
                    type: string
                    short: Distributor's human-readable name
                    choiceOf: value
                    index: 18
            organizationReference:
              match: {url: null}
              schema:
                short: Distributor as an Organization resource
                isModifier: false
                array: true
                index: 19
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Distributor as an Organization resource
                    choices: [valueReference]
                    index: 21
                  valueReference:
                    base: {path: 'Extension.value[x]'}
                    type: Reference
                    short: Distributor as an Organization resource
                    choiceOf: value
                    refers: ['http://hl7.org/fhir/StructureDefinition/Organization']
                    index: 22
  udiDeviceIdentifier:
    url: null
    short: Unique Device Identifier (UDI) Barcode string on the packaging
    isModifier: false
    array: true
    index: 23
    extensions:
      _datatype:
        url: http://hl7.org/fhir/StructureDefinition/_datatype
        type: Extension
        short: Data type name for DeviceDefinition.packaging.udiDeviceIdentifier from FHIR R5
        index: 24
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            pattern: {type: String, value: DeviceDefinition.udiDeviceIdentifier}
            choices: [valueString]
            index: 26
          valueString:
            type: string
            pattern: {type: String, value: DeviceDefinition.udiDeviceIdentifier}
            base: {path: 'Extension.value[x]'}
            choiceOf: value
            index: 27
        required: [valueString, value]
    elements:
      extension:
        type: Extension
        short: Data type name for DeviceDefinition.packaging.udiDeviceIdentifier from FHIR R5
        url: http://hl7.org/fhir/StructureDefinition/_datatype
        index: 24
        slicing:
          slices:
            _datatype:
              match: {}
              schema:
                type: Extension
                short: Data type name for DeviceDefinition.packaging.udiDeviceIdentifier from FHIR R5
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                index: 24
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    pattern: {type: String, value: DeviceDefinition.udiDeviceIdentifier}
                    choices: [valueString]
                    index: 26
                  valueString:
                    type: string
                    pattern: {type: String, value: DeviceDefinition.udiDeviceIdentifier}
                    base: {path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 27
                required: [valueString, value]
  packaging:
    url: null
    short: Allows packages within packages
    isModifier: false
    array: true
    index: 28
    extensions:
      _datatype:
        url: http://hl7.org/fhir/StructureDefinition/_datatype
        type: Extension
        short: Data type name for DeviceDefinition.packaging.packaging from FHIR R5
        index: 29
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            pattern: {type: String, value: DeviceDefinition.packaging}
            choices: [valueString]
            index: 31
          valueString:
            type: string
            pattern: {type: String, value: DeviceDefinition.packaging}
            base: {path: 'Extension.value[x]'}
            choiceOf: value
            index: 32
        required: [valueString, value]
    elements:
      extension:
        type: Extension
        short: Data type name for DeviceDefinition.packaging.packaging from FHIR R5
        url: http://hl7.org/fhir/StructureDefinition/_datatype
        index: 29
        slicing:
          slices:
            _datatype:
              match: {}
              schema:
                type: Extension
                short: Data type name for DeviceDefinition.packaging.packaging from FHIR R5
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                index: 29
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    pattern: {type: String, value: DeviceDefinition.packaging}
                    choices: [valueString]
                    index: 31
                  valueString:
                    type: string
                    pattern: {type: String, value: DeviceDefinition.packaging}
                    base: {path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 32
                required: [valueString, value]
class: extension
kind: complex-type
url: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceDefinition.packaging
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.0.1-snapshot-1
required: [url]