PackagesCanonicalsLogsProblems
    Packages
    rs/hl7.fhir.uv.xver@r4.r4b-0.0.1-snapshot-1
    http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicinalProductIngredient
description: This cross-version extension represents MedicinalProductIngredient from http://hl7.org/fhir/StructureDefinition/MedicinalProductIngredient|4.0.1 for use in FHIR R4B.
package_name: rs/hl7.fhir.uv.xver
derivation: constraint
name: ext_R4_MedicinalProductIngredient
type: Extension
elements:
  extension:
    array: true
    min: 1
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        role:
          match: {url: null}
          schema:
            short: Ingredient role e.g. Active ingredient, excipient
            isModifier: false
            _required: true
            index: 1
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Ingredient role e.g. Active ingredient, excipient
                choices: [valueCodeableConcept]
                index: 3
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: Ingredient role e.g. Active ingredient, excipient
                choiceOf: value
                index: 4
        allergenicIndicator:
          match: {url: null}
          schema:
            short: If the ingredient is a known or suspected allergen
            isModifier: false
            index: 5
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: If the ingredient is a known or suspected allergen
                choices: [valueBoolean]
                index: 7
              valueBoolean:
                base: {path: 'Extension.value[x]'}
                type: boolean
                short: If the ingredient is a known or suspected allergen
                choiceOf: value
                index: 8
        manufacturer:
          match: {url: null}
          schema:
            short: Manufacturer of this Ingredient
            isModifier: false
            array: true
            index: 9
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Manufacturer of this Ingredient
                choices: [valueReference]
                index: 11
              valueReference:
                base: {path: 'Extension.value[x]'}
                type: Reference
                short: Manufacturer of this Ingredient
                choiceOf: value
                refers: ['http://hl7.org/fhir/StructureDefinition/Organization']
                index: 12
        specifiedSubstance:
          match: {url: null}
          schema:
            short: A specified substance that comprises this ingredient
            isModifier: false
            array: true
            index: 13
            extensions:
              code:
                url: null
                short: The specified substance
                isModifier: false
                _required: true
                index: 15
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The specified substance
                    choices: [valueCodeableConcept]
                    index: 17
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The specified substance
                    choiceOf: value
                    index: 18
              group:
                url: null
                short: The group of specified substance, e.g. group 1 to 4
                isModifier: false
                _required: true
                index: 19
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The group of specified substance, e.g. group 1 to 4
                    choices: [valueCodeableConcept]
                    index: 21
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The group of specified substance, e.g. group 1 to 4
                    choiceOf: value
                    index: 22
              confidentiality:
                url: null
                short: Confidentiality level of the specified substance as the ingredient
                isModifier: false
                index: 23
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Confidentiality level of the specified substance as the ingredient
                    choices: [valueCodeableConcept]
                    index: 25
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Confidentiality level of the specified substance as the ingredient
                    choiceOf: value
                    index: 26
              strength:
                url: null
                short: Quantity of the substance or specified substance present in the manufactured item or pharmaceutical product
                isModifier: false
                array: true
                index: 27
                extensions:
                  presentation:
                    url: null
                    short: The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item
                    isModifier: false
                    _required: true
                    index: 29
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item
                        choices: [valueRatio]
                        index: 31
                      valueRatio:
                        base: {path: 'Extension.value[x]'}
                        type: Ratio
                        short: The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item
                        choiceOf: value
                        index: 32
                  presentationLowLimit:
                    url: null
                    short: A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit
                    isModifier: true
                    isModifierReason: If this is present it implies that the whole strength is expressed as a range, due to uncertainty or variation
                    index: 33
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit
                        choices: [valueRatio]
                        index: 35
                      valueRatio:
                        base: {path: 'Extension.value[x]'}
                        type: Ratio
                        short: A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit
                        choiceOf: value
                        index: 36
                  concentration:
                    url: null
                    short: The strength per unitary volume (or mass)
                    isModifier: false
                    index: 37
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: The strength per unitary volume (or mass)
                        choices: [valueRatio]
                        index: 39
                      valueRatio:
                        base: {path: 'Extension.value[x]'}
                        type: Ratio
                        short: The strength per unitary volume (or mass)
                        choiceOf: value
                        index: 40
                  concentrationLowLimit:
                    url: null
                    short: A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit
                    isModifier: true
                    isModifierReason: If this is present it implies that the whole strength is expressed as a range, due to uncertainty or variation
                    index: 41
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit
                        choices: [valueRatio]
                        index: 43
                      valueRatio:
                        base: {path: 'Extension.value[x]'}
                        type: Ratio
                        short: A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit
                        choiceOf: value
                        index: 44
                  measurementPoint:
                    url: null
                    short: For when strength is measured at a particular point or distance
                    isModifier: false
                    index: 45
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: For when strength is measured at a particular point or distance
                        choices: [valueString]
                        index: 47
                      valueString:
                        base: {path: 'Extension.value[x]'}
                        type: string
                        short: For when strength is measured at a particular point or distance
                        choiceOf: value
                        index: 48
                  country:
                    url: null
                    short: The country or countries for which the strength range applies
                    isModifier: false
                    array: true
                    index: 49
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: The country or countries for which the strength range applies
                        choices: [valueCodeableConcept]
                        index: 51
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: The country or countries for which the strength range applies
                        choiceOf: value
                        index: 52
                  referenceStrength:
                    url: null
                    short: Strength expressed in terms of a reference substance
                    isModifier: false
                    array: true
                    index: 53
                    extensions:
                      substance:
                        url: null
                        short: Relevant reference substance
                        isModifier: false
                        index: 55
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Relevant reference substance
                            choices: [valueCodeableConcept]
                            index: 57
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Relevant reference substance
                            choiceOf: value
                            index: 58
                      strength:
                        url: null
                        short: Strength expressed in terms of a reference substance
                        isModifier: false
                        _required: true
                        index: 59
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Strength expressed in terms of a reference substance
                            choices: [valueRatio]
                            index: 61
                          valueRatio:
                            base: {path: 'Extension.value[x]'}
                            type: Ratio
                            short: Strength expressed in terms of a reference substance
                            choiceOf: value
                            index: 62
                      strengthLowLimit:
                        url: null
                        short: Strength expressed in terms of a reference substance
                        isModifier: false
                        index: 63
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Strength expressed in terms of a reference substance
                            choices: [valueRatio]
                            index: 65
                          valueRatio:
                            base: {path: 'Extension.value[x]'}
                            type: Ratio
                            short: Strength expressed in terms of a reference substance
                            choiceOf: value
                            index: 66
                      measurementPoint:
                        url: null
                        short: For when strength is measured at a particular point or distance
                        isModifier: false
                        index: 67
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: For when strength is measured at a particular point or distance
                            choices: [valueString]
                            index: 69
                          valueString:
                            base: {path: 'Extension.value[x]'}
                            type: string
                            short: For when strength is measured at a particular point or distance
                            choiceOf: value
                            index: 70
                      country:
                        url: null
                        short: The country or countries for which the strength range applies
                        isModifier: false
                        array: true
                        index: 71
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The country or countries for which the strength range applies
                            choices: [valueCodeableConcept]
                            index: 73
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: The country or countries for which the strength range applies
                            choiceOf: value
                            index: 74
                    elements:
                      extension:
                        array: true
                        min: 1
                        index: 54
                        slicing:
                          rules: closed
                          ordered: false
                          discriminator:
                          - {path: url, type: value}
                          min: 1
                          slices:
                            substance:
                              match: {url: null}
                              schema:
                                short: Relevant reference substance
                                isModifier: false
                                index: 55
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Relevant reference substance
                                    choices: [valueCodeableConcept]
                                    index: 57
                                  valueCodeableConcept:
                                    base: {path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: Relevant reference substance
                                    choiceOf: value
                                    index: 58
                            strength:
                              match: {url: null}
                              schema:
                                short: Strength expressed in terms of a reference substance
                                isModifier: false
                                _required: true
                                index: 59
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Strength expressed in terms of a reference substance
                                    choices: [valueRatio]
                                    index: 61
                                  valueRatio:
                                    base: {path: 'Extension.value[x]'}
                                    type: Ratio
                                    short: Strength expressed in terms of a reference substance
                                    choiceOf: value
                                    index: 62
                            strengthLowLimit:
                              match: {url: null}
                              schema:
                                short: Strength expressed in terms of a reference substance
                                isModifier: false
                                index: 63
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Strength expressed in terms of a reference substance
                                    choices: [valueRatio]
                                    index: 65
                                  valueRatio:
                                    base: {path: 'Extension.value[x]'}
                                    type: Ratio
                                    short: Strength expressed in terms of a reference substance
                                    choiceOf: value
                                    index: 66
                            measurementPoint:
                              match: {url: null}
                              schema:
                                short: For when strength is measured at a particular point or distance
                                isModifier: false
                                index: 67
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: For when strength is measured at a particular point or distance
                                    choices: [valueString]
                                    index: 69
                                  valueString:
                                    base: {path: 'Extension.value[x]'}
                                    type: string
                                    short: For when strength is measured at a particular point or distance
                                    choiceOf: value
                                    index: 70
                            country:
                              match: {url: null}
                              schema:
                                short: The country or countries for which the strength range applies
                                isModifier: false
                                array: true
                                index: 71
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: The country or countries for which the strength range applies
                                    choices: [valueCodeableConcept]
                                    index: 73
                                  valueCodeableConcept:
                                    base: {path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: The country or countries for which the strength range applies
                                    choiceOf: value
                                    index: 74
                    required: [extension]
                elements:
                  extension:
                    array: true
                    min: 1
                    index: 28
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        presentation:
                          match: {url: null}
                          schema:
                            short: The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item
                            isModifier: false
                            _required: true
                            index: 29
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item
                                choices: [valueRatio]
                                index: 31
                              valueRatio:
                                base: {path: 'Extension.value[x]'}
                                type: Ratio
                                short: The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item
                                choiceOf: value
                                index: 32
                        presentationLowLimit:
                          match: {url: null}
                          schema:
                            short: A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit
                            isModifier: true
                            isModifierReason: If this is present it implies that the whole strength is expressed as a range, due to uncertainty or variation
                            index: 33
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit
                                choices: [valueRatio]
                                index: 35
                              valueRatio:
                                base: {path: 'Extension.value[x]'}
                                type: Ratio
                                short: A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit
                                choiceOf: value
                                index: 36
                        concentration:
                          match: {url: null}
                          schema:
                            short: The strength per unitary volume (or mass)
                            isModifier: false
                            index: 37
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: The strength per unitary volume (or mass)
                                choices: [valueRatio]
                                index: 39
                              valueRatio:
                                base: {path: 'Extension.value[x]'}
                                type: Ratio
                                short: The strength per unitary volume (or mass)
                                choiceOf: value
                                index: 40
                        concentrationLowLimit:
                          match: {url: null}
                          schema:
                            short: A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit
                            isModifier: true
                            isModifierReason: If this is present it implies that the whole strength is expressed as a range, due to uncertainty or variation
                            index: 41
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit
                                choices: [valueRatio]
                                index: 43
                              valueRatio:
                                base: {path: 'Extension.value[x]'}
                                type: Ratio
                                short: A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit
                                choiceOf: value
                                index: 44
                        measurementPoint:
                          match: {url: null}
                          schema:
                            short: For when strength is measured at a particular point or distance
                            isModifier: false
                            index: 45
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: For when strength is measured at a particular point or distance
                                choices: [valueString]
                                index: 47
                              valueString:
                                base: {path: 'Extension.value[x]'}
                                type: string
                                short: For when strength is measured at a particular point or distance
                                choiceOf: value
                                index: 48
                        country:
                          match: {url: null}
                          schema:
                            short: The country or countries for which the strength range applies
                            isModifier: false
                            array: true
                            index: 49
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: The country or countries for which the strength range applies
                                choices: [valueCodeableConcept]
                                index: 51
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: The country or countries for which the strength range applies
                                choiceOf: value
                                index: 52
                        referenceStrength:
                          match: {url: null}
                          schema:
                            short: Strength expressed in terms of a reference substance
                            isModifier: false
                            array: true
                            index: 53
                            extensions:
                              substance:
                                url: null
                                short: Relevant reference substance
                                isModifier: false
                                index: 55
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Relevant reference substance
                                    choices: [valueCodeableConcept]
                                    index: 57
                                  valueCodeableConcept:
                                    base: {path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: Relevant reference substance
                                    choiceOf: value
                                    index: 58
                              strength:
                                url: null
                                short: Strength expressed in terms of a reference substance
                                isModifier: false
                                _required: true
                                index: 59
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Strength expressed in terms of a reference substance
                                    choices: [valueRatio]
                                    index: 61
                                  valueRatio:
                                    base: {path: 'Extension.value[x]'}
                                    type: Ratio
                                    short: Strength expressed in terms of a reference substance
                                    choiceOf: value
                                    index: 62
                              strengthLowLimit:
                                url: null
                                short: Strength expressed in terms of a reference substance
                                isModifier: false
                                index: 63
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Strength expressed in terms of a reference substance
                                    choices: [valueRatio]
                                    index: 65
                                  valueRatio:
                                    base: {path: 'Extension.value[x]'}
                                    type: Ratio
                                    short: Strength expressed in terms of a reference substance
                                    choiceOf: value
                                    index: 66
                              measurementPoint:
                                url: null
                                short: For when strength is measured at a particular point or distance
                                isModifier: false
                                index: 67
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: For when strength is measured at a particular point or distance
                                    choices: [valueString]
                                    index: 69
                                  valueString:
                                    base: {path: 'Extension.value[x]'}
                                    type: string
                                    short: For when strength is measured at a particular point or distance
                                    choiceOf: value
                                    index: 70
                              country:
                                url: null
                                short: The country or countries for which the strength range applies
                                isModifier: false
                                array: true
                                index: 71
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: The country or countries for which the strength range applies
                                    choices: [valueCodeableConcept]
                                    index: 73
                                  valueCodeableConcept:
                                    base: {path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: The country or countries for which the strength range applies
                                    choiceOf: value
                                    index: 74
                            elements:
                              extension:
                                array: true
                                min: 1
                                index: 54
                                slicing:
                                  rules: closed
                                  ordered: false
                                  discriminator:
                                  - {path: url, type: value}
                                  min: 1
                                  slices:
                                    substance:
                                      match: {url: null}
                                      schema:
                                        short: Relevant reference substance
                                        isModifier: false
                                        index: 55
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Relevant reference substance
                                            choices: [valueCodeableConcept]
                                            index: 57
                                          valueCodeableConcept:
                                            base: {path: 'Extension.value[x]'}
                                            type: CodeableConcept
                                            short: Relevant reference substance
                                            choiceOf: value
                                            index: 58
                                    strength:
                                      match: {url: null}
                                      schema:
                                        short: Strength expressed in terms of a reference substance
                                        isModifier: false
                                        _required: true
                                        index: 59
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Strength expressed in terms of a reference substance
                                            choices: [valueRatio]
                                            index: 61
                                          valueRatio:
                                            base: {path: 'Extension.value[x]'}
                                            type: Ratio
                                            short: Strength expressed in terms of a reference substance
                                            choiceOf: value
                                            index: 62
                                    strengthLowLimit:
                                      match: {url: null}
                                      schema:
                                        short: Strength expressed in terms of a reference substance
                                        isModifier: false
                                        index: 63
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Strength expressed in terms of a reference substance
                                            choices: [valueRatio]
                                            index: 65
                                          valueRatio:
                                            base: {path: 'Extension.value[x]'}
                                            type: Ratio
                                            short: Strength expressed in terms of a reference substance
                                            choiceOf: value
                                            index: 66
                                    measurementPoint:
                                      match: {url: null}
                                      schema:
                                        short: For when strength is measured at a particular point or distance
                                        isModifier: false
                                        index: 67
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: For when strength is measured at a particular point or distance
                                            choices: [valueString]
                                            index: 69
                                          valueString:
                                            base: {path: 'Extension.value[x]'}
                                            type: string
                                            short: For when strength is measured at a particular point or distance
                                            choiceOf: value
                                            index: 70
                                    country:
                                      match: {url: null}
                                      schema:
                                        short: The country or countries for which the strength range applies
                                        isModifier: false
                                        array: true
                                        index: 71
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: The country or countries for which the strength range applies
                                            choices: [valueCodeableConcept]
                                            index: 73
                                          valueCodeableConcept:
                                            base: {path: 'Extension.value[x]'}
                                            type: CodeableConcept
                                            short: The country or countries for which the strength range applies
                                            choiceOf: value
                                            index: 74
                            required: [extension]
                required: [extension]
            elements:
              extension:
                array: true
                min: 2
                index: 14
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 2
                  slices:
                    code:
                      match: {url: null}
                      schema:
                        short: The specified substance
                        isModifier: false
                        _required: true
                        index: 15
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The specified substance
                            choices: [valueCodeableConcept]
                            index: 17
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: The specified substance
                            choiceOf: value
                            index: 18
                    group:
                      match: {url: null}
                      schema:
                        short: The group of specified substance, e.g. group 1 to 4
                        isModifier: false
                        _required: true
                        index: 19
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The group of specified substance, e.g. group 1 to 4
                            choices: [valueCodeableConcept]
                            index: 21
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: The group of specified substance, e.g. group 1 to 4
                            choiceOf: value
                            index: 22
                    confidentiality:
                      match: {url: null}
                      schema:
                        short: Confidentiality level of the specified substance as the ingredient
                        isModifier: false
                        index: 23
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Confidentiality level of the specified substance as the ingredient
                            choices: [valueCodeableConcept]
                            index: 25
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Confidentiality level of the specified substance as the ingredient
                            choiceOf: value
                            index: 26
                    strength:
                      match: {url: null}
                      schema:
                        short: Quantity of the substance or specified substance present in the manufactured item or pharmaceutical product
                        isModifier: false
                        array: true
                        index: 27
                        extensions:
                          presentation:
                            url: null
                            short: The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item
                            isModifier: false
                            _required: true
                            index: 29
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item
                                choices: [valueRatio]
                                index: 31
                              valueRatio:
                                base: {path: 'Extension.value[x]'}
                                type: Ratio
                                short: The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item
                                choiceOf: value
                                index: 32
                          presentationLowLimit:
                            url: null
                            short: A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit
                            isModifier: true
                            isModifierReason: If this is present it implies that the whole strength is expressed as a range, due to uncertainty or variation
                            index: 33
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit
                                choices: [valueRatio]
                                index: 35
                              valueRatio:
                                base: {path: 'Extension.value[x]'}
                                type: Ratio
                                short: A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit
                                choiceOf: value
                                index: 36
                          concentration:
                            url: null
                            short: The strength per unitary volume (or mass)
                            isModifier: false
                            index: 37
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: The strength per unitary volume (or mass)
                                choices: [valueRatio]
                                index: 39
                              valueRatio:
                                base: {path: 'Extension.value[x]'}
                                type: Ratio
                                short: The strength per unitary volume (or mass)
                                choiceOf: value
                                index: 40
                          concentrationLowLimit:
                            url: null
                            short: A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit
                            isModifier: true
                            isModifierReason: If this is present it implies that the whole strength is expressed as a range, due to uncertainty or variation
                            index: 41
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit
                                choices: [valueRatio]
                                index: 43
                              valueRatio:
                                base: {path: 'Extension.value[x]'}
                                type: Ratio
                                short: A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit
                                choiceOf: value
                                index: 44
                          measurementPoint:
                            url: null
                            short: For when strength is measured at a particular point or distance
                            isModifier: false
                            index: 45
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: For when strength is measured at a particular point or distance
                                choices: [valueString]
                                index: 47
                              valueString:
                                base: {path: 'Extension.value[x]'}
                                type: string
                                short: For when strength is measured at a particular point or distance
                                choiceOf: value
                                index: 48
                          country:
                            url: null
                            short: The country or countries for which the strength range applies
                            isModifier: false
                            array: true
                            index: 49
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: The country or countries for which the strength range applies
                                choices: [valueCodeableConcept]
                                index: 51
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: The country or countries for which the strength range applies
                                choiceOf: value
                                index: 52
                          referenceStrength:
                            url: null
                            short: Strength expressed in terms of a reference substance
                            isModifier: false
                            array: true
                            index: 53
                            extensions:
                              substance:
                                url: null
                                short: Relevant reference substance
                                isModifier: false
                                index: 55
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Relevant reference substance
                                    choices: [valueCodeableConcept]
                                    index: 57
                                  valueCodeableConcept:
                                    base: {path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: Relevant reference substance
                                    choiceOf: value
                                    index: 58
                              strength:
                                url: null
                                short: Strength expressed in terms of a reference substance
                                isModifier: false
                                _required: true
                                index: 59
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Strength expressed in terms of a reference substance
                                    choices: [valueRatio]
                                    index: 61
                                  valueRatio:
                                    base: {path: 'Extension.value[x]'}
                                    type: Ratio
                                    short: Strength expressed in terms of a reference substance
                                    choiceOf: value
                                    index: 62
                              strengthLowLimit:
                                url: null
                                short: Strength expressed in terms of a reference substance
                                isModifier: false
                                index: 63
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Strength expressed in terms of a reference substance
                                    choices: [valueRatio]
                                    index: 65
                                  valueRatio:
                                    base: {path: 'Extension.value[x]'}
                                    type: Ratio
                                    short: Strength expressed in terms of a reference substance
                                    choiceOf: value
                                    index: 66
                              measurementPoint:
                                url: null
                                short: For when strength is measured at a particular point or distance
                                isModifier: false
                                index: 67
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: For when strength is measured at a particular point or distance
                                    choices: [valueString]
                                    index: 69
                                  valueString:
                                    base: {path: 'Extension.value[x]'}
                                    type: string
                                    short: For when strength is measured at a particular point or distance
                                    choiceOf: value
                                    index: 70
                              country:
                                url: null
                                short: The country or countries for which the strength range applies
                                isModifier: false
                                array: true
                                index: 71
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: The country or countries for which the strength range applies
                                    choices: [valueCodeableConcept]
                                    index: 73
                                  valueCodeableConcept:
                                    base: {path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: The country or countries for which the strength range applies
                                    choiceOf: value
                                    index: 74
                            elements:
                              extension:
                                array: true
                                min: 1
                                index: 54
                                slicing:
                                  rules: closed
                                  ordered: false
                                  discriminator:
                                  - {path: url, type: value}
                                  min: 1
                                  slices:
                                    substance:
                                      match: {url: null}
                                      schema:
                                        short: Relevant reference substance
                                        isModifier: false
                                        index: 55
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Relevant reference substance
                                            choices: [valueCodeableConcept]
                                            index: 57
                                          valueCodeableConcept:
                                            base: {path: 'Extension.value[x]'}
                                            type: CodeableConcept
                                            short: Relevant reference substance
                                            choiceOf: value
                                            index: 58
                                    strength:
                                      match: {url: null}
                                      schema:
                                        short: Strength expressed in terms of a reference substance
                                        isModifier: false
                                        _required: true
                                        index: 59
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Strength expressed in terms of a reference substance
                                            choices: [valueRatio]
                                            index: 61
                                          valueRatio:
                                            base: {path: 'Extension.value[x]'}
                                            type: Ratio
                                            short: Strength expressed in terms of a reference substance
                                            choiceOf: value
                                            index: 62
                                    strengthLowLimit:
                                      match: {url: null}
                                      schema:
                                        short: Strength expressed in terms of a reference substance
                                        isModifier: false
                                        index: 63
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Strength expressed in terms of a reference substance
                                            choices: [valueRatio]
                                            index: 65
                                          valueRatio:
                                            base: {path: 'Extension.value[x]'}
                                            type: Ratio
                                            short: Strength expressed in terms of a reference substance
                                            choiceOf: value
                                            index: 66
                                    measurementPoint:
                                      match: {url: null}
                                      schema:
                                        short: For when strength is measured at a particular point or distance
                                        isModifier: false
                                        index: 67
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: For when strength is measured at a particular point or distance
                                            choices: [valueString]
                                            index: 69
                                          valueString:
                                            base: {path: 'Extension.value[x]'}
                                            type: string
                                            short: For when strength is measured at a particular point or distance
                                            choiceOf: value
                                            index: 70
                                    country:
                                      match: {url: null}
                                      schema:
                                        short: The country or countries for which the strength range applies
                                        isModifier: false
                                        array: true
                                        index: 71
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: The country or countries for which the strength range applies
                                            choices: [valueCodeableConcept]
                                            index: 73
                                          valueCodeableConcept:
                                            base: {path: 'Extension.value[x]'}
                                            type: CodeableConcept
                                            short: The country or countries for which the strength range applies
                                            choiceOf: value
                                            index: 74
                            required: [extension]
                        elements:
                          extension:
                            array: true
                            min: 1
                            index: 28
                            slicing:
                              rules: closed
                              ordered: false
                              discriminator:
                              - {path: url, type: value}
                              min: 1
                              slices:
                                presentation:
                                  match: {url: null}
                                  schema:
                                    short: The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item
                                    isModifier: false
                                    _required: true
                                    index: 29
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        short: The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item
                                        choices: [valueRatio]
                                        index: 31
                                      valueRatio:
                                        base: {path: 'Extension.value[x]'}
                                        type: Ratio
                                        short: The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item
                                        choiceOf: value
                                        index: 32
                                presentationLowLimit:
                                  match: {url: null}
                                  schema:
                                    short: A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit
                                    isModifier: true
                                    isModifierReason: If this is present it implies that the whole strength is expressed as a range, due to uncertainty or variation
                                    index: 33
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        short: A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit
                                        choices: [valueRatio]
                                        index: 35
                                      valueRatio:
                                        base: {path: 'Extension.value[x]'}
                                        type: Ratio
                                        short: A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit
                                        choiceOf: value
                                        index: 36
                                concentration:
                                  match: {url: null}
                                  schema:
                                    short: The strength per unitary volume (or mass)
                                    isModifier: false
                                    index: 37
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        short: The strength per unitary volume (or mass)
                                        choices: [valueRatio]
                                        index: 39
                                      valueRatio:
                                        base: {path: 'Extension.value[x]'}
                                        type: Ratio
                                        short: The strength per unitary volume (or mass)
                                        choiceOf: value
                                        index: 40
                                concentrationLowLimit:
                                  match: {url: null}
                                  schema:
                                    short: A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit
                                    isModifier: true
                                    isModifierReason: If this is present it implies that the whole strength is expressed as a range, due to uncertainty or variation
                                    index: 41
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        short: A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit
                                        choices: [valueRatio]
                                        index: 43
                                      valueRatio:
                                        base: {path: 'Extension.value[x]'}
                                        type: Ratio
                                        short: A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit
                                        choiceOf: value
                                        index: 44
                                measurementPoint:
                                  match: {url: null}
                                  schema:
                                    short: For when strength is measured at a particular point or distance
                                    isModifier: false
                                    index: 45
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        short: For when strength is measured at a particular point or distance
                                        choices: [valueString]
                                        index: 47
                                      valueString:
                                        base: {path: 'Extension.value[x]'}
                                        type: string
                                        short: For when strength is measured at a particular point or distance
                                        choiceOf: value
                                        index: 48
                                country:
                                  match: {url: null}
                                  schema:
                                    short: The country or countries for which the strength range applies
                                    isModifier: false
                                    array: true
                                    index: 49
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        short: The country or countries for which the strength range applies
                                        choices: [valueCodeableConcept]
                                        index: 51
                                      valueCodeableConcept:
                                        base: {path: 'Extension.value[x]'}
                                        type: CodeableConcept
                                        short: The country or countries for which the strength range applies
                                        choiceOf: value
                                        index: 52
                                referenceStrength:
                                  match: {url: null}
                                  schema:
                                    short: Strength expressed in terms of a reference substance
                                    isModifier: false
                                    array: true
                                    index: 53
                                    extensions:
                                      substance:
                                        url: null
                                        short: Relevant reference substance
                                        isModifier: false
                                        index: 55
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Relevant reference substance
                                            choices: [valueCodeableConcept]
                                            index: 57
                                          valueCodeableConcept:
                                            base: {path: 'Extension.value[x]'}
                                            type: CodeableConcept
                                            short: Relevant reference substance
                                            choiceOf: value
                                            index: 58
                                      strength:
                                        url: null
                                        short: Strength expressed in terms of a reference substance
                                        isModifier: false
                                        _required: true
                                        index: 59
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Strength expressed in terms of a reference substance
                                            choices: [valueRatio]
                                            index: 61
                                          valueRatio:
                                            base: {path: 'Extension.value[x]'}
                                            type: Ratio
                                            short: Strength expressed in terms of a reference substance
                                            choiceOf: value
                                            index: 62
                                      strengthLowLimit:
                                        url: null
                                        short: Strength expressed in terms of a reference substance
                                        isModifier: false
                                        index: 63
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Strength expressed in terms of a reference substance
                                            choices: [valueRatio]
                                            index: 65
                                          valueRatio:
                                            base: {path: 'Extension.value[x]'}
                                            type: Ratio
                                            short: Strength expressed in terms of a reference substance
                                            choiceOf: value
                                            index: 66
                                      measurementPoint:
                                        url: null
                                        short: For when strength is measured at a particular point or distance
                                        isModifier: false
                                        index: 67
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: For when strength is measured at a particular point or distance
                                            choices: [valueString]
                                            index: 69
                                          valueString:
                                            base: {path: 'Extension.value[x]'}
                                            type: string
                                            short: For when strength is measured at a particular point or distance
                                            choiceOf: value
                                            index: 70
                                      country:
                                        url: null
                                        short: The country or countries for which the strength range applies
                                        isModifier: false
                                        array: true
                                        index: 71
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: The country or countries for which the strength range applies
                                            choices: [valueCodeableConcept]
                                            index: 73
                                          valueCodeableConcept:
                                            base: {path: 'Extension.value[x]'}
                                            type: CodeableConcept
                                            short: The country or countries for which the strength range applies
                                            choiceOf: value
                                            index: 74
                                    elements:
                                      extension:
                                        array: true
                                        min: 1
                                        index: 54
                                        slicing:
                                          rules: closed
                                          ordered: false
                                          discriminator:
                                          - {path: url, type: value}
                                          min: 1
                                          slices:
                                            substance:
                                              match: {url: null}
                                              schema:
                                                short: Relevant reference substance
                                                isModifier: false
                                                index: 55
                                                elements:
                                                  value:
                                                    base: {path: 'Extension.value[x]'}
                                                    short: Relevant reference substance
                                                    choices: [valueCodeableConcept]
                                                    index: 57
                                                  valueCodeableConcept:
                                                    base: {path: 'Extension.value[x]'}
                                                    type: CodeableConcept
                                                    short: Relevant reference substance
                                                    choiceOf: value
                                                    index: 58
                                            strength:
                                              match: {url: null}
                                              schema:
                                                short: Strength expressed in terms of a reference substance
                                                isModifier: false
                                                _required: true
                                                index: 59
                                                elements:
                                                  value:
                                                    base: {path: 'Extension.value[x]'}
                                                    short: Strength expressed in terms of a reference substance
                                                    choices: [valueRatio]
                                                    index: 61
                                                  valueRatio:
                                                    base: {path: 'Extension.value[x]'}
                                                    type: Ratio
                                                    short: Strength expressed in terms of a reference substance
                                                    choiceOf: value
                                                    index: 62
                                            strengthLowLimit:
                                              match: {url: null}
                                              schema:
                                                short: Strength expressed in terms of a reference substance
                                                isModifier: false
                                                index: 63
                                                elements:
                                                  value:
                                                    base: {path: 'Extension.value[x]'}
                                                    short: Strength expressed in terms of a reference substance
                                                    choices: [valueRatio]
                                                    index: 65
                                                  valueRatio:
                                                    base: {path: 'Extension.value[x]'}
                                                    type: Ratio
                                                    short: Strength expressed in terms of a reference substance
                                                    choiceOf: value
                                                    index: 66
                                            measurementPoint:
                                              match: {url: null}
                                              schema:
                                                short: For when strength is measured at a particular point or distance
                                                isModifier: false
                                                index: 67
                                                elements:
                                                  value:
                                                    base: {path: 'Extension.value[x]'}
                                                    short: For when strength is measured at a particular point or distance
                                                    choices: [valueString]
                                                    index: 69
                                                  valueString:
                                                    base: {path: 'Extension.value[x]'}
                                                    type: string
                                                    short: For when strength is measured at a particular point or distance
                                                    choiceOf: value
                                                    index: 70
                                            country:
                                              match: {url: null}
                                              schema:
                                                short: The country or countries for which the strength range applies
                                                isModifier: false
                                                array: true
                                                index: 71
                                                elements:
                                                  value:
                                                    base: {path: 'Extension.value[x]'}
                                                    short: The country or countries for which the strength range applies
                                                    choices: [valueCodeableConcept]
                                                    index: 73
                                                  valueCodeableConcept:
                                                    base: {path: 'Extension.value[x]'}
                                                    type: CodeableConcept
                                                    short: The country or countries for which the strength range applies
                                                    choiceOf: value
                                                    index: 74
                                    required: [extension]
                        required: [extension]
        substance:
          match: {url: null}
          schema:
            short: The ingredient substance
            isModifier: false
            index: 75
            extensions:
              code:
                url: null
                short: The ingredient substance
                isModifier: false
                _required: true
                index: 77
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The ingredient substance
                    choices: [valueCodeableConcept]
                    index: 79
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The ingredient substance
                    choiceOf: value
                    index: 80
              strength:
                url: null
                short: Quantity of the substance or specified substance present in the manufactured item or pharmaceutical product
                isModifier: false
                array: true
                index: 81
                extensions:
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    type: Extension
                    short: Data type name for MedicinalProductIngredient.substance.strength from FHIR R4
                    index: 82
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        pattern: {type: string, value: MedicinalProductIngredient.specifiedSubstance.strength}
                        choices: [valueString]
                        type: string
                        index: 84
                      valueString:
                        type: string
                        pattern: {type: string, value: MedicinalProductIngredient.specifiedSubstance.strength}
                        base: {path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 85
                    required: [value, valueString]
                elements:
                  extension:
                    type: Extension
                    short: Data type name for MedicinalProductIngredient.substance.strength from FHIR R4
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    index: 82
                    slicing:
                      slices:
                        _datatype:
                          match: {}
                          schema:
                            type: Extension
                            short: Data type name for MedicinalProductIngredient.substance.strength from FHIR R4
                            url: http://hl7.org/fhir/StructureDefinition/_datatype
                            index: 82
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                pattern: {type: string, value: MedicinalProductIngredient.specifiedSubstance.strength}
                                choices: [valueString]
                                type: string
                                index: 84
                              valueString:
                                type: string
                                pattern: {type: string, value: MedicinalProductIngredient.specifiedSubstance.strength}
                                base: {path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 85
                            required: [value, valueString]
            elements:
              extension:
                array: true
                min: 1
                index: 76
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    code:
                      match: {url: null}
                      schema:
                        short: The ingredient substance
                        isModifier: false
                        _required: true
                        index: 77
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The ingredient substance
                            choices: [valueCodeableConcept]
                            index: 79
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: The ingredient substance
                            choiceOf: value
                            index: 80
                    strength:
                      match: {url: null}
                      schema:
                        short: Quantity of the substance or specified substance present in the manufactured item or pharmaceutical product
                        isModifier: false
                        array: true
                        index: 81
                        extensions:
                          _datatype:
                            url: http://hl7.org/fhir/StructureDefinition/_datatype
                            type: Extension
                            short: Data type name for MedicinalProductIngredient.substance.strength from FHIR R4
                            index: 82
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                pattern: {type: string, value: MedicinalProductIngredient.specifiedSubstance.strength}
                                choices: [valueString]
                                type: string
                                index: 84
                              valueString:
                                type: string
                                pattern: {type: string, value: MedicinalProductIngredient.specifiedSubstance.strength}
                                base: {path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 85
                            required: [value, valueString]
                        elements:
                          extension:
                            type: Extension
                            short: Data type name for MedicinalProductIngredient.substance.strength from FHIR R4
                            url: http://hl7.org/fhir/StructureDefinition/_datatype
                            index: 82
                            slicing:
                              slices:
                                _datatype:
                                  match: {}
                                  schema:
                                    type: Extension
                                    short: Data type name for MedicinalProductIngredient.substance.strength from FHIR R4
                                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                                    index: 82
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        pattern: {type: string, value: MedicinalProductIngredient.specifiedSubstance.strength}
                                        choices: [valueString]
                                        type: string
                                        index: 84
                                      valueString:
                                        type: string
                                        pattern: {type: string, value: MedicinalProductIngredient.specifiedSubstance.strength}
                                        base: {path: 'Extension.value[x]'}
                                        choiceOf: value
                                        index: 85
                                    required: [value, valueString]
            required: [extension]
  url:
    pattern: {type: uri, value: 'http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicinalProductIngredient'}
    type: uri
    index: 86
package_version: r4.r4b-0.0.1-snapshot-1
extensions:
  role:
    url: null
    short: Ingredient role e.g. Active ingredient, excipient
    isModifier: false
    _required: true
    index: 1
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Ingredient role e.g. Active ingredient, excipient
        choices: [valueCodeableConcept]
        index: 3
      valueCodeableConcept:
        base: {path: 'Extension.value[x]'}
        type: CodeableConcept
        short: Ingredient role e.g. Active ingredient, excipient
        choiceOf: value
        index: 4
  allergenicIndicator:
    url: null
    short: If the ingredient is a known or suspected allergen
    isModifier: false
    index: 5
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: If the ingredient is a known or suspected allergen
        choices: [valueBoolean]
        index: 7
      valueBoolean:
        base: {path: 'Extension.value[x]'}
        type: boolean
        short: If the ingredient is a known or suspected allergen
        choiceOf: value
        index: 8
  manufacturer:
    url: null
    short: Manufacturer of this Ingredient
    isModifier: false
    array: true
    index: 9
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Manufacturer of this Ingredient
        choices: [valueReference]
        index: 11
      valueReference:
        base: {path: 'Extension.value[x]'}
        type: Reference
        short: Manufacturer of this Ingredient
        choiceOf: value
        refers: ['http://hl7.org/fhir/StructureDefinition/Organization']
        index: 12
  specifiedSubstance:
    url: null
    short: A specified substance that comprises this ingredient
    isModifier: false
    array: true
    index: 13
    extensions:
      code:
        url: null
        short: The specified substance
        isModifier: false
        _required: true
        index: 15
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: The specified substance
            choices: [valueCodeableConcept]
            index: 17
          valueCodeableConcept:
            base: {path: 'Extension.value[x]'}
            type: CodeableConcept
            short: The specified substance
            choiceOf: value
            index: 18
      group:
        url: null
        short: The group of specified substance, e.g. group 1 to 4
        isModifier: false
        _required: true
        index: 19
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: The group of specified substance, e.g. group 1 to 4
            choices: [valueCodeableConcept]
            index: 21
          valueCodeableConcept:
            base: {path: 'Extension.value[x]'}
            type: CodeableConcept
            short: The group of specified substance, e.g. group 1 to 4
            choiceOf: value
            index: 22
      confidentiality:
        url: null
        short: Confidentiality level of the specified substance as the ingredient
        isModifier: false
        index: 23
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Confidentiality level of the specified substance as the ingredient
            choices: [valueCodeableConcept]
            index: 25
          valueCodeableConcept:
            base: {path: 'Extension.value[x]'}
            type: CodeableConcept
            short: Confidentiality level of the specified substance as the ingredient
            choiceOf: value
            index: 26
      strength:
        url: null
        short: Quantity of the substance or specified substance present in the manufactured item or pharmaceutical product
        isModifier: false
        array: true
        index: 27
        extensions:
          presentation:
            url: null
            short: The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item
            isModifier: false
            _required: true
            index: 29
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item
                choices: [valueRatio]
                index: 31
              valueRatio:
                base: {path: 'Extension.value[x]'}
                type: Ratio
                short: The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item
                choiceOf: value
                index: 32
          presentationLowLimit:
            url: null
            short: A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit
            isModifier: true
            isModifierReason: If this is present it implies that the whole strength is expressed as a range, due to uncertainty or variation
            index: 33
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit
                choices: [valueRatio]
                index: 35
              valueRatio:
                base: {path: 'Extension.value[x]'}
                type: Ratio
                short: A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit
                choiceOf: value
                index: 36
          concentration:
            url: null
            short: The strength per unitary volume (or mass)
            isModifier: false
            index: 37
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: The strength per unitary volume (or mass)
                choices: [valueRatio]
                index: 39
              valueRatio:
                base: {path: 'Extension.value[x]'}
                type: Ratio
                short: The strength per unitary volume (or mass)
                choiceOf: value
                index: 40
          concentrationLowLimit:
            url: null
            short: A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit
            isModifier: true
            isModifierReason: If this is present it implies that the whole strength is expressed as a range, due to uncertainty or variation
            index: 41
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit
                choices: [valueRatio]
                index: 43
              valueRatio:
                base: {path: 'Extension.value[x]'}
                type: Ratio
                short: A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit
                choiceOf: value
                index: 44
          measurementPoint:
            url: null
            short: For when strength is measured at a particular point or distance
            isModifier: false
            index: 45
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: For when strength is measured at a particular point or distance
                choices: [valueString]
                index: 47
              valueString:
                base: {path: 'Extension.value[x]'}
                type: string
                short: For when strength is measured at a particular point or distance
                choiceOf: value
                index: 48
          country:
            url: null
            short: The country or countries for which the strength range applies
            isModifier: false
            array: true
            index: 49
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: The country or countries for which the strength range applies
                choices: [valueCodeableConcept]
                index: 51
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: The country or countries for which the strength range applies
                choiceOf: value
                index: 52
          referenceStrength:
            url: null
            short: Strength expressed in terms of a reference substance
            isModifier: false
            array: true
            index: 53
            extensions:
              substance:
                url: null
                short: Relevant reference substance
                isModifier: false
                index: 55
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Relevant reference substance
                    choices: [valueCodeableConcept]
                    index: 57
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Relevant reference substance
                    choiceOf: value
                    index: 58
              strength:
                url: null
                short: Strength expressed in terms of a reference substance
                isModifier: false
                _required: true
                index: 59
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Strength expressed in terms of a reference substance
                    choices: [valueRatio]
                    index: 61
                  valueRatio:
                    base: {path: 'Extension.value[x]'}
                    type: Ratio
                    short: Strength expressed in terms of a reference substance
                    choiceOf: value
                    index: 62
              strengthLowLimit:
                url: null
                short: Strength expressed in terms of a reference substance
                isModifier: false
                index: 63
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Strength expressed in terms of a reference substance
                    choices: [valueRatio]
                    index: 65
                  valueRatio:
                    base: {path: 'Extension.value[x]'}
                    type: Ratio
                    short: Strength expressed in terms of a reference substance
                    choiceOf: value
                    index: 66
              measurementPoint:
                url: null
                short: For when strength is measured at a particular point or distance
                isModifier: false
                index: 67
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: For when strength is measured at a particular point or distance
                    choices: [valueString]
                    index: 69
                  valueString:
                    base: {path: 'Extension.value[x]'}
                    type: string
                    short: For when strength is measured at a particular point or distance
                    choiceOf: value
                    index: 70
              country:
                url: null
                short: The country or countries for which the strength range applies
                isModifier: false
                array: true
                index: 71
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The country or countries for which the strength range applies
                    choices: [valueCodeableConcept]
                    index: 73
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The country or countries for which the strength range applies
                    choiceOf: value
                    index: 74
            elements:
              extension:
                array: true
                min: 1
                index: 54
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    substance:
                      match: {url: null}
                      schema:
                        short: Relevant reference substance
                        isModifier: false
                        index: 55
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Relevant reference substance
                            choices: [valueCodeableConcept]
                            index: 57
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Relevant reference substance
                            choiceOf: value
                            index: 58
                    strength:
                      match: {url: null}
                      schema:
                        short: Strength expressed in terms of a reference substance
                        isModifier: false
                        _required: true
                        index: 59
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Strength expressed in terms of a reference substance
                            choices: [valueRatio]
                            index: 61
                          valueRatio:
                            base: {path: 'Extension.value[x]'}
                            type: Ratio
                            short: Strength expressed in terms of a reference substance
                            choiceOf: value
                            index: 62
                    strengthLowLimit:
                      match: {url: null}
                      schema:
                        short: Strength expressed in terms of a reference substance
                        isModifier: false
                        index: 63
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Strength expressed in terms of a reference substance
                            choices: [valueRatio]
                            index: 65
                          valueRatio:
                            base: {path: 'Extension.value[x]'}
                            type: Ratio
                            short: Strength expressed in terms of a reference substance
                            choiceOf: value
                            index: 66
                    measurementPoint:
                      match: {url: null}
                      schema:
                        short: For when strength is measured at a particular point or distance
                        isModifier: false
                        index: 67
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: For when strength is measured at a particular point or distance
                            choices: [valueString]
                            index: 69
                          valueString:
                            base: {path: 'Extension.value[x]'}
                            type: string
                            short: For when strength is measured at a particular point or distance
                            choiceOf: value
                            index: 70
                    country:
                      match: {url: null}
                      schema:
                        short: The country or countries for which the strength range applies
                        isModifier: false
                        array: true
                        index: 71
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The country or countries for which the strength range applies
                            choices: [valueCodeableConcept]
                            index: 73
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: The country or countries for which the strength range applies
                            choiceOf: value
                            index: 74
            required: [extension]
        elements:
          extension:
            array: true
            min: 1
            index: 28
            slicing:
              rules: closed
              ordered: false
              discriminator:
              - {path: url, type: value}
              min: 1
              slices:
                presentation:
                  match: {url: null}
                  schema:
                    short: The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item
                    isModifier: false
                    _required: true
                    index: 29
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item
                        choices: [valueRatio]
                        index: 31
                      valueRatio:
                        base: {path: 'Extension.value[x]'}
                        type: Ratio
                        short: The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item
                        choiceOf: value
                        index: 32
                presentationLowLimit:
                  match: {url: null}
                  schema:
                    short: A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit
                    isModifier: true
                    isModifierReason: If this is present it implies that the whole strength is expressed as a range, due to uncertainty or variation
                    index: 33
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit
                        choices: [valueRatio]
                        index: 35
                      valueRatio:
                        base: {path: 'Extension.value[x]'}
                        type: Ratio
                        short: A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit
                        choiceOf: value
                        index: 36
                concentration:
                  match: {url: null}
                  schema:
                    short: The strength per unitary volume (or mass)
                    isModifier: false
                    index: 37
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: The strength per unitary volume (or mass)
                        choices: [valueRatio]
                        index: 39
                      valueRatio:
                        base: {path: 'Extension.value[x]'}
                        type: Ratio
                        short: The strength per unitary volume (or mass)
                        choiceOf: value
                        index: 40
                concentrationLowLimit:
                  match: {url: null}
                  schema:
                    short: A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit
                    isModifier: true
                    isModifierReason: If this is present it implies that the whole strength is expressed as a range, due to uncertainty or variation
                    index: 41
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit
                        choices: [valueRatio]
                        index: 43
                      valueRatio:
                        base: {path: 'Extension.value[x]'}
                        type: Ratio
                        short: A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit
                        choiceOf: value
                        index: 44
                measurementPoint:
                  match: {url: null}
                  schema:
                    short: For when strength is measured at a particular point or distance
                    isModifier: false
                    index: 45
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: For when strength is measured at a particular point or distance
                        choices: [valueString]
                        index: 47
                      valueString:
                        base: {path: 'Extension.value[x]'}
                        type: string
                        short: For when strength is measured at a particular point or distance
                        choiceOf: value
                        index: 48
                country:
                  match: {url: null}
                  schema:
                    short: The country or countries for which the strength range applies
                    isModifier: false
                    array: true
                    index: 49
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: The country or countries for which the strength range applies
                        choices: [valueCodeableConcept]
                        index: 51
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: The country or countries for which the strength range applies
                        choiceOf: value
                        index: 52
                referenceStrength:
                  match: {url: null}
                  schema:
                    short: Strength expressed in terms of a reference substance
                    isModifier: false
                    array: true
                    index: 53
                    extensions:
                      substance:
                        url: null
                        short: Relevant reference substance
                        isModifier: false
                        index: 55
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Relevant reference substance
                            choices: [valueCodeableConcept]
                            index: 57
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Relevant reference substance
                            choiceOf: value
                            index: 58
                      strength:
                        url: null
                        short: Strength expressed in terms of a reference substance
                        isModifier: false
                        _required: true
                        index: 59
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Strength expressed in terms of a reference substance
                            choices: [valueRatio]
                            index: 61
                          valueRatio:
                            base: {path: 'Extension.value[x]'}
                            type: Ratio
                            short: Strength expressed in terms of a reference substance
                            choiceOf: value
                            index: 62
                      strengthLowLimit:
                        url: null
                        short: Strength expressed in terms of a reference substance
                        isModifier: false
                        index: 63
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Strength expressed in terms of a reference substance
                            choices: [valueRatio]
                            index: 65
                          valueRatio:
                            base: {path: 'Extension.value[x]'}
                            type: Ratio
                            short: Strength expressed in terms of a reference substance
                            choiceOf: value
                            index: 66
                      measurementPoint:
                        url: null
                        short: For when strength is measured at a particular point or distance
                        isModifier: false
                        index: 67
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: For when strength is measured at a particular point or distance
                            choices: [valueString]
                            index: 69
                          valueString:
                            base: {path: 'Extension.value[x]'}
                            type: string
                            short: For when strength is measured at a particular point or distance
                            choiceOf: value
                            index: 70
                      country:
                        url: null
                        short: The country or countries for which the strength range applies
                        isModifier: false
                        array: true
                        index: 71
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The country or countries for which the strength range applies
                            choices: [valueCodeableConcept]
                            index: 73
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: The country or countries for which the strength range applies
                            choiceOf: value
                            index: 74
                    elements:
                      extension:
                        array: true
                        min: 1
                        index: 54
                        slicing:
                          rules: closed
                          ordered: false
                          discriminator:
                          - {path: url, type: value}
                          min: 1
                          slices:
                            substance:
                              match: {url: null}
                              schema:
                                short: Relevant reference substance
                                isModifier: false
                                index: 55
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Relevant reference substance
                                    choices: [valueCodeableConcept]
                                    index: 57
                                  valueCodeableConcept:
                                    base: {path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: Relevant reference substance
                                    choiceOf: value
                                    index: 58
                            strength:
                              match: {url: null}
                              schema:
                                short: Strength expressed in terms of a reference substance
                                isModifier: false
                                _required: true
                                index: 59
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Strength expressed in terms of a reference substance
                                    choices: [valueRatio]
                                    index: 61
                                  valueRatio:
                                    base: {path: 'Extension.value[x]'}
                                    type: Ratio
                                    short: Strength expressed in terms of a reference substance
                                    choiceOf: value
                                    index: 62
                            strengthLowLimit:
                              match: {url: null}
                              schema:
                                short: Strength expressed in terms of a reference substance
                                isModifier: false
                                index: 63
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Strength expressed in terms of a reference substance
                                    choices: [valueRatio]
                                    index: 65
                                  valueRatio:
                                    base: {path: 'Extension.value[x]'}
                                    type: Ratio
                                    short: Strength expressed in terms of a reference substance
                                    choiceOf: value
                                    index: 66
                            measurementPoint:
                              match: {url: null}
                              schema:
                                short: For when strength is measured at a particular point or distance
                                isModifier: false
                                index: 67
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: For when strength is measured at a particular point or distance
                                    choices: [valueString]
                                    index: 69
                                  valueString:
                                    base: {path: 'Extension.value[x]'}
                                    type: string
                                    short: For when strength is measured at a particular point or distance
                                    choiceOf: value
                                    index: 70
                            country:
                              match: {url: null}
                              schema:
                                short: The country or countries for which the strength range applies
                                isModifier: false
                                array: true
                                index: 71
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: The country or countries for which the strength range applies
                                    choices: [valueCodeableConcept]
                                    index: 73
                                  valueCodeableConcept:
                                    base: {path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: The country or countries for which the strength range applies
                                    choiceOf: value
                                    index: 74
                    required: [extension]
        required: [extension]
    elements:
      extension:
        array: true
        min: 2
        index: 14
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 2
          slices:
            code:
              match: {url: null}
              schema:
                short: The specified substance
                isModifier: false
                _required: true
                index: 15
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The specified substance
                    choices: [valueCodeableConcept]
                    index: 17
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The specified substance
                    choiceOf: value
                    index: 18
            group:
              match: {url: null}
              schema:
                short: The group of specified substance, e.g. group 1 to 4
                isModifier: false
                _required: true
                index: 19
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The group of specified substance, e.g. group 1 to 4
                    choices: [valueCodeableConcept]
                    index: 21
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The group of specified substance, e.g. group 1 to 4
                    choiceOf: value
                    index: 22
            confidentiality:
              match: {url: null}
              schema:
                short: Confidentiality level of the specified substance as the ingredient
                isModifier: false
                index: 23
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Confidentiality level of the specified substance as the ingredient
                    choices: [valueCodeableConcept]
                    index: 25
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Confidentiality level of the specified substance as the ingredient
                    choiceOf: value
                    index: 26
            strength:
              match: {url: null}
              schema:
                short: Quantity of the substance or specified substance present in the manufactured item or pharmaceutical product
                isModifier: false
                array: true
                index: 27
                extensions:
                  presentation:
                    url: null
                    short: The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item
                    isModifier: false
                    _required: true
                    index: 29
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item
                        choices: [valueRatio]
                        index: 31
                      valueRatio:
                        base: {path: 'Extension.value[x]'}
                        type: Ratio
                        short: The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item
                        choiceOf: value
                        index: 32
                  presentationLowLimit:
                    url: null
                    short: A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit
                    isModifier: true
                    isModifierReason: If this is present it implies that the whole strength is expressed as a range, due to uncertainty or variation
                    index: 33
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit
                        choices: [valueRatio]
                        index: 35
                      valueRatio:
                        base: {path: 'Extension.value[x]'}
                        type: Ratio
                        short: A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit
                        choiceOf: value
                        index: 36
                  concentration:
                    url: null
                    short: The strength per unitary volume (or mass)
                    isModifier: false
                    index: 37
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: The strength per unitary volume (or mass)
                        choices: [valueRatio]
                        index: 39
                      valueRatio:
                        base: {path: 'Extension.value[x]'}
                        type: Ratio
                        short: The strength per unitary volume (or mass)
                        choiceOf: value
                        index: 40
                  concentrationLowLimit:
                    url: null
                    short: A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit
                    isModifier: true
                    isModifierReason: If this is present it implies that the whole strength is expressed as a range, due to uncertainty or variation
                    index: 41
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit
                        choices: [valueRatio]
                        index: 43
                      valueRatio:
                        base: {path: 'Extension.value[x]'}
                        type: Ratio
                        short: A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit
                        choiceOf: value
                        index: 44
                  measurementPoint:
                    url: null
                    short: For when strength is measured at a particular point or distance
                    isModifier: false
                    index: 45
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: For when strength is measured at a particular point or distance
                        choices: [valueString]
                        index: 47
                      valueString:
                        base: {path: 'Extension.value[x]'}
                        type: string
                        short: For when strength is measured at a particular point or distance
                        choiceOf: value
                        index: 48
                  country:
                    url: null
                    short: The country or countries for which the strength range applies
                    isModifier: false
                    array: true
                    index: 49
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: The country or countries for which the strength range applies
                        choices: [valueCodeableConcept]
                        index: 51
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: The country or countries for which the strength range applies
                        choiceOf: value
                        index: 52
                  referenceStrength:
                    url: null
                    short: Strength expressed in terms of a reference substance
                    isModifier: false
                    array: true
                    index: 53
                    extensions:
                      substance:
                        url: null
                        short: Relevant reference substance
                        isModifier: false
                        index: 55
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Relevant reference substance
                            choices: [valueCodeableConcept]
                            index: 57
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Relevant reference substance
                            choiceOf: value
                            index: 58
                      strength:
                        url: null
                        short: Strength expressed in terms of a reference substance
                        isModifier: false
                        _required: true
                        index: 59
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Strength expressed in terms of a reference substance
                            choices: [valueRatio]
                            index: 61
                          valueRatio:
                            base: {path: 'Extension.value[x]'}
                            type: Ratio
                            short: Strength expressed in terms of a reference substance
                            choiceOf: value
                            index: 62
                      strengthLowLimit:
                        url: null
                        short: Strength expressed in terms of a reference substance
                        isModifier: false
                        index: 63
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Strength expressed in terms of a reference substance
                            choices: [valueRatio]
                            index: 65
                          valueRatio:
                            base: {path: 'Extension.value[x]'}
                            type: Ratio
                            short: Strength expressed in terms of a reference substance
                            choiceOf: value
                            index: 66
                      measurementPoint:
                        url: null
                        short: For when strength is measured at a particular point or distance
                        isModifier: false
                        index: 67
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: For when strength is measured at a particular point or distance
                            choices: [valueString]
                            index: 69
                          valueString:
                            base: {path: 'Extension.value[x]'}
                            type: string
                            short: For when strength is measured at a particular point or distance
                            choiceOf: value
                            index: 70
                      country:
                        url: null
                        short: The country or countries for which the strength range applies
                        isModifier: false
                        array: true
                        index: 71
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The country or countries for which the strength range applies
                            choices: [valueCodeableConcept]
                            index: 73
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: The country or countries for which the strength range applies
                            choiceOf: value
                            index: 74
                    elements:
                      extension:
                        array: true
                        min: 1
                        index: 54
                        slicing:
                          rules: closed
                          ordered: false
                          discriminator:
                          - {path: url, type: value}
                          min: 1
                          slices:
                            substance:
                              match: {url: null}
                              schema:
                                short: Relevant reference substance
                                isModifier: false
                                index: 55
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Relevant reference substance
                                    choices: [valueCodeableConcept]
                                    index: 57
                                  valueCodeableConcept:
                                    base: {path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: Relevant reference substance
                                    choiceOf: value
                                    index: 58
                            strength:
                              match: {url: null}
                              schema:
                                short: Strength expressed in terms of a reference substance
                                isModifier: false
                                _required: true
                                index: 59
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Strength expressed in terms of a reference substance
                                    choices: [valueRatio]
                                    index: 61
                                  valueRatio:
                                    base: {path: 'Extension.value[x]'}
                                    type: Ratio
                                    short: Strength expressed in terms of a reference substance
                                    choiceOf: value
                                    index: 62
                            strengthLowLimit:
                              match: {url: null}
                              schema:
                                short: Strength expressed in terms of a reference substance
                                isModifier: false
                                index: 63
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Strength expressed in terms of a reference substance
                                    choices: [valueRatio]
                                    index: 65
                                  valueRatio:
                                    base: {path: 'Extension.value[x]'}
                                    type: Ratio
                                    short: Strength expressed in terms of a reference substance
                                    choiceOf: value
                                    index: 66
                            measurementPoint:
                              match: {url: null}
                              schema:
                                short: For when strength is measured at a particular point or distance
                                isModifier: false
                                index: 67
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: For when strength is measured at a particular point or distance
                                    choices: [valueString]
                                    index: 69
                                  valueString:
                                    base: {path: 'Extension.value[x]'}
                                    type: string
                                    short: For when strength is measured at a particular point or distance
                                    choiceOf: value
                                    index: 70
                            country:
                              match: {url: null}
                              schema:
                                short: The country or countries for which the strength range applies
                                isModifier: false
                                array: true
                                index: 71
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: The country or countries for which the strength range applies
                                    choices: [valueCodeableConcept]
                                    index: 73
                                  valueCodeableConcept:
                                    base: {path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: The country or countries for which the strength range applies
                                    choiceOf: value
                                    index: 74
                    required: [extension]
                elements:
                  extension:
                    array: true
                    min: 1
                    index: 28
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        presentation:
                          match: {url: null}
                          schema:
                            short: The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item
                            isModifier: false
                            _required: true
                            index: 29
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item
                                choices: [valueRatio]
                                index: 31
                              valueRatio:
                                base: {path: 'Extension.value[x]'}
                                type: Ratio
                                short: The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item
                                choiceOf: value
                                index: 32
                        presentationLowLimit:
                          match: {url: null}
                          schema:
                            short: A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit
                            isModifier: true
                            isModifierReason: If this is present it implies that the whole strength is expressed as a range, due to uncertainty or variation
                            index: 33
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit
                                choices: [valueRatio]
                                index: 35
                              valueRatio:
                                base: {path: 'Extension.value[x]'}
                                type: Ratio
                                short: A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit
                                choiceOf: value
                                index: 36
                        concentration:
                          match: {url: null}
                          schema:
                            short: The strength per unitary volume (or mass)
                            isModifier: false
                            index: 37
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: The strength per unitary volume (or mass)
                                choices: [valueRatio]
                                index: 39
                              valueRatio:
                                base: {path: 'Extension.value[x]'}
                                type: Ratio
                                short: The strength per unitary volume (or mass)
                                choiceOf: value
                                index: 40
                        concentrationLowLimit:
                          match: {url: null}
                          schema:
                            short: A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit
                            isModifier: true
                            isModifierReason: If this is present it implies that the whole strength is expressed as a range, due to uncertainty or variation
                            index: 41
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit
                                choices: [valueRatio]
                                index: 43
                              valueRatio:
                                base: {path: 'Extension.value[x]'}
                                type: Ratio
                                short: A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit
                                choiceOf: value
                                index: 44
                        measurementPoint:
                          match: {url: null}
                          schema:
                            short: For when strength is measured at a particular point or distance
                            isModifier: false
                            index: 45
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: For when strength is measured at a particular point or distance
                                choices: [valueString]
                                index: 47
                              valueString:
                                base: {path: 'Extension.value[x]'}
                                type: string
                                short: For when strength is measured at a particular point or distance
                                choiceOf: value
                                index: 48
                        country:
                          match: {url: null}
                          schema:
                            short: The country or countries for which the strength range applies
                            isModifier: false
                            array: true
                            index: 49
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: The country or countries for which the strength range applies
                                choices: [valueCodeableConcept]
                                index: 51
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: The country or countries for which the strength range applies
                                choiceOf: value
                                index: 52
                        referenceStrength:
                          match: {url: null}
                          schema:
                            short: Strength expressed in terms of a reference substance
                            isModifier: false
                            array: true
                            index: 53
                            extensions:
                              substance:
                                url: null
                                short: Relevant reference substance
                                isModifier: false
                                index: 55
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Relevant reference substance
                                    choices: [valueCodeableConcept]
                                    index: 57
                                  valueCodeableConcept:
                                    base: {path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: Relevant reference substance
                                    choiceOf: value
                                    index: 58
                              strength:
                                url: null
                                short: Strength expressed in terms of a reference substance
                                isModifier: false
                                _required: true
                                index: 59
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Strength expressed in terms of a reference substance
                                    choices: [valueRatio]
                                    index: 61
                                  valueRatio:
                                    base: {path: 'Extension.value[x]'}
                                    type: Ratio
                                    short: Strength expressed in terms of a reference substance
                                    choiceOf: value
                                    index: 62
                              strengthLowLimit:
                                url: null
                                short: Strength expressed in terms of a reference substance
                                isModifier: false
                                index: 63
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: Strength expressed in terms of a reference substance
                                    choices: [valueRatio]
                                    index: 65
                                  valueRatio:
                                    base: {path: 'Extension.value[x]'}
                                    type: Ratio
                                    short: Strength expressed in terms of a reference substance
                                    choiceOf: value
                                    index: 66
                              measurementPoint:
                                url: null
                                short: For when strength is measured at a particular point or distance
                                isModifier: false
                                index: 67
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: For when strength is measured at a particular point or distance
                                    choices: [valueString]
                                    index: 69
                                  valueString:
                                    base: {path: 'Extension.value[x]'}
                                    type: string
                                    short: For when strength is measured at a particular point or distance
                                    choiceOf: value
                                    index: 70
                              country:
                                url: null
                                short: The country or countries for which the strength range applies
                                isModifier: false
                                array: true
                                index: 71
                                elements:
                                  value:
                                    base: {path: 'Extension.value[x]'}
                                    short: The country or countries for which the strength range applies
                                    choices: [valueCodeableConcept]
                                    index: 73
                                  valueCodeableConcept:
                                    base: {path: 'Extension.value[x]'}
                                    type: CodeableConcept
                                    short: The country or countries for which the strength range applies
                                    choiceOf: value
                                    index: 74
                            elements:
                              extension:
                                array: true
                                min: 1
                                index: 54
                                slicing:
                                  rules: closed
                                  ordered: false
                                  discriminator:
                                  - {path: url, type: value}
                                  min: 1
                                  slices:
                                    substance:
                                      match: {url: null}
                                      schema:
                                        short: Relevant reference substance
                                        isModifier: false
                                        index: 55
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Relevant reference substance
                                            choices: [valueCodeableConcept]
                                            index: 57
                                          valueCodeableConcept:
                                            base: {path: 'Extension.value[x]'}
                                            type: CodeableConcept
                                            short: Relevant reference substance
                                            choiceOf: value
                                            index: 58
                                    strength:
                                      match: {url: null}
                                      schema:
                                        short: Strength expressed in terms of a reference substance
                                        isModifier: false
                                        _required: true
                                        index: 59
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Strength expressed in terms of a reference substance
                                            choices: [valueRatio]
                                            index: 61
                                          valueRatio:
                                            base: {path: 'Extension.value[x]'}
                                            type: Ratio
                                            short: Strength expressed in terms of a reference substance
                                            choiceOf: value
                                            index: 62
                                    strengthLowLimit:
                                      match: {url: null}
                                      schema:
                                        short: Strength expressed in terms of a reference substance
                                        isModifier: false
                                        index: 63
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: Strength expressed in terms of a reference substance
                                            choices: [valueRatio]
                                            index: 65
                                          valueRatio:
                                            base: {path: 'Extension.value[x]'}
                                            type: Ratio
                                            short: Strength expressed in terms of a reference substance
                                            choiceOf: value
                                            index: 66
                                    measurementPoint:
                                      match: {url: null}
                                      schema:
                                        short: For when strength is measured at a particular point or distance
                                        isModifier: false
                                        index: 67
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: For when strength is measured at a particular point or distance
                                            choices: [valueString]
                                            index: 69
                                          valueString:
                                            base: {path: 'Extension.value[x]'}
                                            type: string
                                            short: For when strength is measured at a particular point or distance
                                            choiceOf: value
                                            index: 70
                                    country:
                                      match: {url: null}
                                      schema:
                                        short: The country or countries for which the strength range applies
                                        isModifier: false
                                        array: true
                                        index: 71
                                        elements:
                                          value:
                                            base: {path: 'Extension.value[x]'}
                                            short: The country or countries for which the strength range applies
                                            choices: [valueCodeableConcept]
                                            index: 73
                                          valueCodeableConcept:
                                            base: {path: 'Extension.value[x]'}
                                            type: CodeableConcept
                                            short: The country or countries for which the strength range applies
                                            choiceOf: value
                                            index: 74
                            required: [extension]
                required: [extension]
  substance:
    url: null
    short: The ingredient substance
    isModifier: false
    index: 75
    extensions:
      code:
        url: null
        short: The ingredient substance
        isModifier: false
        _required: true
        index: 77
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: The ingredient substance
            choices: [valueCodeableConcept]
            index: 79
          valueCodeableConcept:
            base: {path: 'Extension.value[x]'}
            type: CodeableConcept
            short: The ingredient substance
            choiceOf: value
            index: 80
      strength:
        url: null
        short: Quantity of the substance or specified substance present in the manufactured item or pharmaceutical product
        isModifier: false
        array: true
        index: 81
        extensions:
          _datatype:
            url: http://hl7.org/fhir/StructureDefinition/_datatype
            type: Extension
            short: Data type name for MedicinalProductIngredient.substance.strength from FHIR R4
            index: 82
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                pattern: {type: string, value: MedicinalProductIngredient.specifiedSubstance.strength}
                choices: [valueString]
                type: string
                index: 84
              valueString:
                type: string
                pattern: {type: string, value: MedicinalProductIngredient.specifiedSubstance.strength}
                base: {path: 'Extension.value[x]'}
                choiceOf: value
                index: 85
            required: [value, valueString]
        elements:
          extension:
            type: Extension
            short: Data type name for MedicinalProductIngredient.substance.strength from FHIR R4
            url: http://hl7.org/fhir/StructureDefinition/_datatype
            index: 82
            slicing:
              slices:
                _datatype:
                  match: {}
                  schema:
                    type: Extension
                    short: Data type name for MedicinalProductIngredient.substance.strength from FHIR R4
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    index: 82
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        pattern: {type: string, value: MedicinalProductIngredient.specifiedSubstance.strength}
                        choices: [valueString]
                        type: string
                        index: 84
                      valueString:
                        type: string
                        pattern: {type: string, value: MedicinalProductIngredient.specifiedSubstance.strength}
                        base: {path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 85
                    required: [value, valueString]
    elements:
      extension:
        array: true
        min: 1
        index: 76
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            code:
              match: {url: null}
              schema:
                short: The ingredient substance
                isModifier: false
                _required: true
                index: 77
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The ingredient substance
                    choices: [valueCodeableConcept]
                    index: 79
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The ingredient substance
                    choiceOf: value
                    index: 80
            strength:
              match: {url: null}
              schema:
                short: Quantity of the substance or specified substance present in the manufactured item or pharmaceutical product
                isModifier: false
                array: true
                index: 81
                extensions:
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    type: Extension
                    short: Data type name for MedicinalProductIngredient.substance.strength from FHIR R4
                    index: 82
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        pattern: {type: string, value: MedicinalProductIngredient.specifiedSubstance.strength}
                        choices: [valueString]
                        type: string
                        index: 84
                      valueString:
                        type: string
                        pattern: {type: string, value: MedicinalProductIngredient.specifiedSubstance.strength}
                        base: {path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 85
                    required: [value, valueString]
                elements:
                  extension:
                    type: Extension
                    short: Data type name for MedicinalProductIngredient.substance.strength from FHIR R4
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    index: 82
                    slicing:
                      slices:
                        _datatype:
                          match: {}
                          schema:
                            type: Extension
                            short: Data type name for MedicinalProductIngredient.substance.strength from FHIR R4
                            url: http://hl7.org/fhir/StructureDefinition/_datatype
                            index: 82
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                pattern: {type: string, value: MedicinalProductIngredient.specifiedSubstance.strength}
                                choices: [valueString]
                                type: string
                                index: 84
                              valueString:
                                type: string
                                pattern: {type: string, value: MedicinalProductIngredient.specifiedSubstance.strength}
                                base: {path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 85
                            required: [value, valueString]
    required: [extension]
class: extension
kind: complex-type
url: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicinalProductIngredient
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.0.1-snapshot-1
required: [extension, url]