PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver-r3.r4.r4@0.0.1-snapshot-2
    http://hl7.org/fhir/3.0/StructureDefinition/extension-SupplyRequest.orderedItem
description: This cross-version extension represents SupplyRequest.orderedItem from http://hl7.org/fhir/StructureDefinition/SupplyRequest|3.0.2 for use in FHIR R4.
package_name: hl7.fhir.uv.xver-r3.r4.r4
derivation: constraint
name: Ext_R3_SupplyRequest_orderedItem
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:
        quantity:
          match: {url: quantity}
          schema:
            short: The requested amount of the item indicated
            _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: quantity}
                index: 2
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: The requested amount of the item indicated
                choices: [valueQuantity]
                index: 4
              valueQuantity:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Quantity
                short: The requested amount of the item indicated
                choiceOf: value
                index: 5
            required: [url]
        item[x]:
          match: {url: 'item[x]'}
          schema:
            short: Medication, Substance, or Device requested to be supplied
            base: {max: '*', min: 0, path: Extension.extension}
            index: 6
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: 'item[x]'}
                index: 7
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Medication, Substance, or Device requested to be supplied
                choices: [valueCodeableConcept, valueReference]
                index: 9
              valueCodeableConcept:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: CodeableConcept
                short: Medication, Substance, or Device requested to be supplied
                choiceOf: value
                index: 10
              valueReference:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Reference
                short: Medication, Substance, or Device requested to be supplied
                choiceOf: value
                index: 11
            required: [url]
  url:
    base: {max: '1', min: 1, path: Extension.url}
    pattern: {type: Uri, value: 'http://hl7.org/fhir/3.0/StructureDefinition/extension-SupplyRequest.orderedItem'}
    index: 12
package_version: 0.0.1-snapshot-2
extensions:
  quantity:
    url: quantity
    short: The requested amount of the item indicated
    _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: quantity}
        index: 2
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: The requested amount of the item indicated
        choices: [valueQuantity]
        index: 4
      valueQuantity:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Quantity
        short: The requested amount of the item indicated
        choiceOf: value
        index: 5
    required: [url]
  item[x]:
    url: item[x]
    short: Medication, Substance, or Device requested to be supplied
    base: {max: '*', min: 0, path: Extension.extension}
    index: 6
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: 'item[x]'}
        index: 7
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Medication, Substance, or Device requested to be supplied
        choices: [valueCodeableConcept, valueReference]
        index: 9
      valueCodeableConcept:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: CodeableConcept
        short: Medication, Substance, or Device requested to be supplied
        choiceOf: value
        index: 10
      valueReference:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Reference
        short: Medication, Substance, or Device requested to be supplied
        choiceOf: value
        index: 11
    required: [url]
class: extension
kind: complex-type
url: http://hl7.org/fhir/3.0/StructureDefinition/extension-SupplyRequest.orderedItem
base: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1
version: 0.0.1-snapshot-2
required: [url, extension]