PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.extensions.r5@5.4.1
    http://hl7.org/fhir/StructureDefinition/DeviceDefinition-partVariableCount
description: Indicates the minimum and maximum permissible quantity of the part in the defined device, without regard for how the presence of other parts impact those values.\n\nFor example, a device may have connectors for up to three sensors of different types. Each sensor type definition would be referenced in `hasPart.reference`; it would have no `hasPart.count` value, but instead use this extension on `hasPart.count` and setting a minimum count of zero, and maximum of one.
package_name: hl7.fhir.uv.extensions.r5
derivation: constraint
name: DeviceDefinitionPartVariableCount
type: Extension
elements:
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      slices:
        minimum:
          match: {}
          schema:
            short: The minimum count of the part in the device
            _required: true
            index: 1
            extensions: {}
            elements:
              extension: {index: 2}
              url:
                pattern: {type: Uri, value: minimum}
                index: 3
              value:
                choices: [valueUnsignedInt]
                index: 5
              valueUnsignedInt: {type: unsignedInt, choiceOf: value, index: 6}
            required: [value, valueUnsignedInt]
        maximum:
          match: {}
          schema:
            short: The maximum count of the part in the device
            _required: true
            index: 7
            extensions: {}
            elements:
              extension: {index: 8}
              url:
                pattern: {type: Uri, value: maximum}
                index: 9
              value:
                choices: [valueUnsignedInt]
                index: 11
              valueUnsignedInt: {type: unsignedInt, choiceOf: value, index: 12}
            required: [value, valueUnsignedInt]
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/DeviceDefinition-partVariableCount'}
    index: 13
  value:
    choices: []
    index: 15
package_version: 5.4.1
extensions:
  minimum:
    url: null
    short: The minimum count of the part in the device
    _required: true
    index: 1
    extensions: {}
    elements:
      extension: {index: 2}
      url:
        pattern: {type: Uri, value: minimum}
        index: 3
      value:
        choices: [valueUnsignedInt]
        index: 5
      valueUnsignedInt: {type: unsignedInt, choiceOf: value, index: 6}
    required: [value, valueUnsignedInt]
  maximum:
    url: null
    short: The maximum count of the part in the device
    _required: true
    index: 7
    extensions: {}
    elements:
      extension: {index: 8}
      url:
        pattern: {type: Uri, value: maximum}
        index: 9
      value:
        choices: [valueUnsignedInt]
        index: 11
      valueUnsignedInt: {type: unsignedInt, choiceOf: value, index: 12}
    required: [value, valueUnsignedInt]
class: extension
kind: complex-type
url: http://hl7.org/fhir/StructureDefinition/DeviceDefinition-partVariableCount
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 5.4.1