PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver@r4b.r4-0.0.1-snapshot-2
    http://hl7.org/fhir/4.3/StructureDefinition/extension-NutritionProduct
description: This cross-version extension represents NutritionProduct from http://hl7.org/fhir/StructureDefinition/NutritionProduct|4.3.0 for use in FHIR R4.
package_name: hl7.fhir.uv.xver
derivation: constraint
name: Ext_R4B_NutritionProduct
type: Extension
elements:
  extension:
    base: {max: '*', min: 0, path: Extension.extension}
    array: true
    min: 1
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        category:
          match: {url: category}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: A category or class of the nutrition product (halal, kosher, gluten free, vegan, etc)
            array: true
            index: 6
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: category}
                index: 7
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: A category or class of the nutrition product (halal, kosher, gluten free, vegan, etc)
                choices: [valueCodeableConcept]
                index: 9
              valueCodeableConcept:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: CodeableConcept
                short: A category or class of the nutrition product (halal, kosher, gluten free, vegan, etc)
                choiceOf: value
                index: 10
            required: [url]
        instance:
          match: {url: instance}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: One or several physical instances or occurrences of the nutrition product
            index: 101
            extensions:
              quantity:
                url: quantity
                base: {max: '*', min: 0, path: Extension.extension}
                short: The amount of items or instances
                index: 103
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: quantity}
                    index: 104
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The amount of items or instances
                    choices: [valueQuantity]
                    index: 106
                  valueQuantity:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Quantity
                    short: The amount of items or instances
                    choiceOf: value
                    index: 107
                required: [url]
              identifier:
                url: identifier
                base: {max: '*', min: 0, path: Extension.extension}
                short: The identifier for the physical instance, typically a serial number
                array: true
                index: 108
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: identifier}
                    index: 109
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The identifier for the physical instance, typically a serial number
                    choices: [valueIdentifier]
                    index: 111
                  valueIdentifier:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Identifier
                    short: The identifier for the physical instance, typically a serial number
                    choiceOf: value
                    index: 112
                required: [url]
              lotNumber:
                url: lotNumber
                base: {max: '*', min: 0, path: Extension.extension}
                short: The identification of the batch or lot of the product
                index: 113
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: lotNumber}
                    index: 114
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The identification of the batch or lot of the product
                    choices: [valueString]
                    index: 116
                  valueString:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: string
                    short: The identification of the batch or lot of the product
                    choiceOf: value
                    index: 117
                required: [url]
              expiry:
                url: expiry
                base: {max: '*', min: 0, path: Extension.extension}
                short: The expiry date or date and time for the product
                index: 118
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: expiry}
                    index: 119
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The expiry date or date and time for the product
                    choices: [valueDateTime]
                    index: 121
                  valueDateTime:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: dateTime
                    short: The expiry date or date and time for the product
                    choiceOf: value
                    index: 122
                required: [url]
              useBy:
                url: useBy
                base: {max: '*', min: 0, path: Extension.extension}
                short: The date until which the product is expected to be good for consumption
                index: 123
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: useBy}
                    index: 124
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The date until which the product is expected to be good for consumption
                    choices: [valueDateTime]
                    index: 126
                  valueDateTime:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: dateTime
                    short: The date until which the product is expected to be good for consumption
                    choiceOf: value
                    index: 127
                required: [url]
            elements:
              extension:
                base: {max: '*', min: 0, path: Extension.extension}
                array: true
                index: 102
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    quantity:
                      match: {url: quantity}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: The amount of items or instances
                        index: 103
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: quantity}
                            index: 104
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: The amount of items or instances
                            choices: [valueQuantity]
                            index: 106
                          valueQuantity:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Quantity
                            short: The amount of items or instances
                            choiceOf: value
                            index: 107
                        required: [url]
                    identifier:
                      match: {url: identifier}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: The identifier for the physical instance, typically a serial number
                        array: true
                        index: 108
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: identifier}
                            index: 109
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: The identifier for the physical instance, typically a serial number
                            choices: [valueIdentifier]
                            index: 111
                          valueIdentifier:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Identifier
                            short: The identifier for the physical instance, typically a serial number
                            choiceOf: value
                            index: 112
                        required: [url]
                    lotNumber:
                      match: {url: lotNumber}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: The identification of the batch or lot of the product
                        index: 113
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: lotNumber}
                            index: 114
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: The identification of the batch or lot of the product
                            choices: [valueString]
                            index: 116
                          valueString:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: string
                            short: The identification of the batch or lot of the product
                            choiceOf: value
                            index: 117
                        required: [url]
                    expiry:
                      match: {url: expiry}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: The expiry date or date and time for the product
                        index: 118
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: expiry}
                            index: 119
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: The expiry date or date and time for the product
                            choices: [valueDateTime]
                            index: 121
                          valueDateTime:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: dateTime
                            short: The expiry date or date and time for the product
                            choiceOf: value
                            index: 122
                        required: [url]
                    useBy:
                      match: {url: useBy}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: The date until which the product is expected to be good for consumption
                        index: 123
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: useBy}
                            index: 124
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: The date until which the product is expected to be good for consumption
                            choices: [valueDateTime]
                            index: 126
                          valueDateTime:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: dateTime
                            short: The date until which the product is expected to be good for consumption
                            choiceOf: value
                            index: 127
                        required: [url]
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: instance}
                index: 128
            required: [url]
        nutrient:
          match: {url: nutrient}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: The product's nutritional information expressed by the nutrients
            array: true
            index: 16
            extensions:
              item:
                url: item
                base: {max: '*', min: 0, path: Extension.extension}
                short: The (relevant) nutrients in the product
                index: 18
                extensions:
                  concept:
                    url: concept
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Reference to a concept (by class)
                    index: 20
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: concept}
                        index: 21
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Reference to a concept (by class)
                        choices: [valueCodeableConcept]
                        index: 23
                      valueCodeableConcept:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: Reference to a concept (by class)
                        choiceOf: value
                        index: 24
                    required: [url]
                  reference:
                    url: reference
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Reference to a resource (by instance)
                    index: 25
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: reference}
                        index: 26
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Reference to a resource (by instance)
                        choices: [valueReference]
                        index: 28
                      valueReference:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Reference
                        short: Reference to a resource (by instance)
                        choiceOf: value
                        index: 29
                    required: [url]
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                    type: Extension
                    short: Data type name for NutritionProduct.nutrient.item from FHIR R4B
                    index: 30
                    elements:
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        pattern: {type: String, value: CodeableReference}
                        choices: [valueString]
                        index: 32
                      valueString:
                        type: string
                        pattern: {type: String, value: CodeableReference}
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 33
                    required: [valueString, value]
                elements:
                  extension:
                    base: {max: '*', min: 0, path: Extension.extension}
                    array: true
                    index: 19
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 0
                      slices:
                        concept:
                          match: {url: concept}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Reference to a concept (by class)
                            index: 20
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: concept}
                                index: 21
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Reference to a concept (by class)
                                choices: [valueCodeableConcept]
                                index: 23
                              valueCodeableConcept:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: Reference to a concept (by class)
                                choiceOf: value
                                index: 24
                            required: [url]
                        reference:
                          match: {url: reference}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Reference to a resource (by instance)
                            index: 25
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: reference}
                                index: 26
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Reference to a resource (by instance)
                                choices: [valueReference]
                                index: 28
                              valueReference:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Reference
                                short: Reference to a resource (by instance)
                                choiceOf: value
                                index: 29
                            required: [url]
                        _datatype:
                          match: {url: null}
                          schema:
                            type: Extension
                            short: Data type name for NutritionProduct.nutrient.item from FHIR R4B
                            url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                            index: 30
                            elements:
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                pattern: {type: String, value: CodeableReference}
                                choices: [valueString]
                                index: 32
                              valueString:
                                type: string
                                pattern: {type: String, value: CodeableReference}
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 33
                            required: [valueString, value]
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: item}
                    index: 34
                required: [url]
              amount:
                url: amount
                base: {max: '*', min: 0, path: Extension.extension}
                short: 'The amount of nutrient expressed in one or more units: X per pack / per serving / per dose'
                array: true
                index: 35
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: amount}
                    index: 36
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: 'The amount of nutrient expressed in one or more units: X per pack / per serving / per dose'
                    choices: [valueRatio]
                    index: 38
                  valueRatio:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Ratio
                    short: 'The amount of nutrient expressed in one or more units: X per pack / per serving / per dose'
                    choiceOf: value
                    index: 39
                required: [url]
            elements:
              extension:
                base: {max: '*', min: 0, path: Extension.extension}
                array: true
                index: 17
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    item:
                      match: {url: item}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: The (relevant) nutrients in the product
                        index: 18
                        extensions:
                          concept:
                            url: concept
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Reference to a concept (by class)
                            index: 20
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: concept}
                                index: 21
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Reference to a concept (by class)
                                choices: [valueCodeableConcept]
                                index: 23
                              valueCodeableConcept:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: Reference to a concept (by class)
                                choiceOf: value
                                index: 24
                            required: [url]
                          reference:
                            url: reference
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Reference to a resource (by instance)
                            index: 25
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: reference}
                                index: 26
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Reference to a resource (by instance)
                                choices: [valueReference]
                                index: 28
                              valueReference:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Reference
                                short: Reference to a resource (by instance)
                                choiceOf: value
                                index: 29
                            required: [url]
                          _datatype:
                            url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                            type: Extension
                            short: Data type name for NutritionProduct.nutrient.item from FHIR R4B
                            index: 30
                            elements:
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                pattern: {type: String, value: CodeableReference}
                                choices: [valueString]
                                index: 32
                              valueString:
                                type: string
                                pattern: {type: String, value: CodeableReference}
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 33
                            required: [valueString, value]
                        elements:
                          extension:
                            base: {max: '*', min: 0, path: Extension.extension}
                            array: true
                            index: 19
                            slicing:
                              rules: closed
                              ordered: false
                              discriminator:
                              - {path: url, type: value}
                              min: 0
                              slices:
                                concept:
                                  match: {url: concept}
                                  schema:
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    short: Reference to a concept (by class)
                                    index: 20
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: concept}
                                        index: 21
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        short: Reference to a concept (by class)
                                        choices: [valueCodeableConcept]
                                        index: 23
                                      valueCodeableConcept:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        type: CodeableConcept
                                        short: Reference to a concept (by class)
                                        choiceOf: value
                                        index: 24
                                    required: [url]
                                reference:
                                  match: {url: reference}
                                  schema:
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    short: Reference to a resource (by instance)
                                    index: 25
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: reference}
                                        index: 26
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        short: Reference to a resource (by instance)
                                        choices: [valueReference]
                                        index: 28
                                      valueReference:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        type: Reference
                                        short: Reference to a resource (by instance)
                                        choiceOf: value
                                        index: 29
                                    required: [url]
                                _datatype:
                                  match: {url: null}
                                  schema:
                                    type: Extension
                                    short: Data type name for NutritionProduct.nutrient.item from FHIR R4B
                                    url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                                    index: 30
                                    elements:
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        pattern: {type: String, value: CodeableReference}
                                        choices: [valueString]
                                        index: 32
                                      valueString:
                                        type: string
                                        pattern: {type: String, value: CodeableReference}
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        choiceOf: value
                                        index: 33
                                    required: [valueString, value]
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: item}
                            index: 34
                        required: [url]
                    amount:
                      match: {url: amount}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: 'The amount of nutrient expressed in one or more units: X per pack / per serving / per dose'
                        array: true
                        index: 35
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: amount}
                            index: 36
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: 'The amount of nutrient expressed in one or more units: X per pack / per serving / per dose'
                            choices: [valueRatio]
                            index: 38
                          valueRatio:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Ratio
                            short: 'The amount of nutrient expressed in one or more units: X per pack / per serving / per dose'
                            choiceOf: value
                            index: 39
                        required: [url]
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: nutrient}
                index: 40
            required: [url]
        note:
          match: {url: note}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Comments made about the product
            array: true
            index: 129
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: note}
                index: 130
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Comments made about the product
                choices: [valueAnnotation]
                index: 132
              valueAnnotation:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Annotation
                short: Comments made about the product
                choiceOf: value
                index: 133
            required: [url]
        productCharacteristic:
          match: {url: productCharacteristic}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Specifies descriptive properties of the nutrition product
            array: true
            index: 83
            extensions:
              type:
                url: type
                base: {max: '*', min: 0, path: Extension.extension}
                short: Code specifying the type of characteristic
                _required: true
                index: 85
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: type}
                    index: 86
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Code specifying the type of characteristic
                    choices: [valueCodeableConcept]
                    index: 88
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Code specifying the type of characteristic
                    choiceOf: value
                    index: 89
                required: [url]
              value[x]:
                url: value[x]
                base: {max: '*', min: 0, path: Extension.extension}
                short: The value of the characteristic
                _required: true
                index: 90
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: 'value[x]'}
                    index: 91
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The value of the characteristic
                    choices: [valueCodeableConcept, valueString, valueQuantity, valueBase64Binary, valueAttachment, valueBoolean]
                    index: 93
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The value of the characteristic
                    choiceOf: value
                    index: 94
                  valueString:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: string
                    short: The value of the characteristic
                    choiceOf: value
                    index: 95
                  valueQuantity:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Quantity
                    short: The value of the characteristic
                    choiceOf: value
                    index: 96
                  valueBase64Binary:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: base64Binary
                    short: The value of the characteristic
                    choiceOf: value
                    index: 97
                  valueAttachment:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Attachment
                    short: The value of the characteristic
                    choiceOf: value
                    index: 98
                  valueBoolean:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: boolean
                    short: The value of the characteristic
                    choiceOf: value
                    index: 99
                required: [url]
            elements:
              extension:
                base: {max: '*', min: 0, path: Extension.extension}
                array: true
                min: 2
                index: 84
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 2
                  slices:
                    type:
                      match: {url: type}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Code specifying the type of characteristic
                        _required: true
                        index: 85
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: type}
                            index: 86
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Code specifying the type of characteristic
                            choices: [valueCodeableConcept]
                            index: 88
                          valueCodeableConcept:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Code specifying the type of characteristic
                            choiceOf: value
                            index: 89
                        required: [url]
                    value[x]:
                      match: {url: 'value[x]'}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: The value of the characteristic
                        _required: true
                        index: 90
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: 'value[x]'}
                            index: 91
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: The value of the characteristic
                            choices: [valueCodeableConcept, valueString, valueQuantity, valueBase64Binary, valueAttachment, valueBoolean]
                            index: 93
                          valueCodeableConcept:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: The value of the characteristic
                            choiceOf: value
                            index: 94
                          valueString:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: string
                            short: The value of the characteristic
                            choiceOf: value
                            index: 95
                          valueQuantity:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Quantity
                            short: The value of the characteristic
                            choiceOf: value
                            index: 96
                          valueBase64Binary:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: base64Binary
                            short: The value of the characteristic
                            choiceOf: value
                            index: 97
                          valueAttachment:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Attachment
                            short: The value of the characteristic
                            choiceOf: value
                            index: 98
                          valueBoolean:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: boolean
                            short: The value of the characteristic
                            choiceOf: value
                            index: 99
                        required: [url]
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: productCharacteristic}
                index: 100
            required: [url]
        ingredient:
          match: {url: ingredient}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Ingredients contained in this product
            array: true
            index: 41
            extensions:
              item:
                url: item
                base: {max: '*', min: 0, path: Extension.extension}
                short: The ingredient contained in the product
                _required: true
                index: 43
                extensions:
                  concept:
                    url: concept
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Reference to a concept (by class)
                    index: 45
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: concept}
                        index: 46
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Reference to a concept (by class)
                        choices: [valueCodeableConcept]
                        index: 48
                      valueCodeableConcept:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: Reference to a concept (by class)
                        choiceOf: value
                        index: 49
                    required: [url]
                  reference:
                    url: reference
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Reference to a resource (by instance)
                    index: 50
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: reference}
                        index: 51
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Reference to a resource (by instance)
                        choices: [valueReference]
                        index: 53
                      valueReference:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Reference
                        short: Reference to a resource (by instance)
                        choiceOf: value
                        index: 54
                    required: [url]
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                    type: Extension
                    short: Data type name for NutritionProduct.ingredient.item from FHIR R4B
                    index: 55
                    elements:
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        pattern: {type: String, value: CodeableReference}
                        choices: [valueString]
                        index: 57
                      valueString:
                        type: string
                        pattern: {type: String, value: CodeableReference}
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 58
                    required: [valueString, value]
                elements:
                  extension:
                    base: {max: '*', min: 0, path: Extension.extension}
                    array: true
                    index: 44
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 0
                      slices:
                        concept:
                          match: {url: concept}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Reference to a concept (by class)
                            index: 45
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: concept}
                                index: 46
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Reference to a concept (by class)
                                choices: [valueCodeableConcept]
                                index: 48
                              valueCodeableConcept:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: Reference to a concept (by class)
                                choiceOf: value
                                index: 49
                            required: [url]
                        reference:
                          match: {url: reference}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Reference to a resource (by instance)
                            index: 50
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: reference}
                                index: 51
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Reference to a resource (by instance)
                                choices: [valueReference]
                                index: 53
                              valueReference:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Reference
                                short: Reference to a resource (by instance)
                                choiceOf: value
                                index: 54
                            required: [url]
                        _datatype:
                          match: {url: null}
                          schema:
                            type: Extension
                            short: Data type name for NutritionProduct.ingredient.item from FHIR R4B
                            url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                            index: 55
                            elements:
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                pattern: {type: String, value: CodeableReference}
                                choices: [valueString]
                                index: 57
                              valueString:
                                type: string
                                pattern: {type: String, value: CodeableReference}
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 58
                            required: [valueString, value]
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: item}
                    index: 59
                required: [url]
              amount:
                url: amount
                base: {max: '*', min: 0, path: Extension.extension}
                short: The amount of ingredient that is in the product
                array: true
                index: 60
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: amount}
                    index: 61
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The amount of ingredient that is in the product
                    choices: [valueRatio]
                    index: 63
                  valueRatio:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Ratio
                    short: The amount of ingredient that is in the product
                    choiceOf: value
                    index: 64
                required: [url]
            elements:
              extension:
                base: {max: '*', min: 0, path: Extension.extension}
                array: true
                min: 1
                index: 42
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    item:
                      match: {url: item}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: The ingredient contained in the product
                        _required: true
                        index: 43
                        extensions:
                          concept:
                            url: concept
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Reference to a concept (by class)
                            index: 45
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: concept}
                                index: 46
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Reference to a concept (by class)
                                choices: [valueCodeableConcept]
                                index: 48
                              valueCodeableConcept:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: Reference to a concept (by class)
                                choiceOf: value
                                index: 49
                            required: [url]
                          reference:
                            url: reference
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Reference to a resource (by instance)
                            index: 50
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: reference}
                                index: 51
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Reference to a resource (by instance)
                                choices: [valueReference]
                                index: 53
                              valueReference:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Reference
                                short: Reference to a resource (by instance)
                                choiceOf: value
                                index: 54
                            required: [url]
                          _datatype:
                            url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                            type: Extension
                            short: Data type name for NutritionProduct.ingredient.item from FHIR R4B
                            index: 55
                            elements:
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                pattern: {type: String, value: CodeableReference}
                                choices: [valueString]
                                index: 57
                              valueString:
                                type: string
                                pattern: {type: String, value: CodeableReference}
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 58
                            required: [valueString, value]
                        elements:
                          extension:
                            base: {max: '*', min: 0, path: Extension.extension}
                            array: true
                            index: 44
                            slicing:
                              rules: closed
                              ordered: false
                              discriminator:
                              - {path: url, type: value}
                              min: 0
                              slices:
                                concept:
                                  match: {url: concept}
                                  schema:
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    short: Reference to a concept (by class)
                                    index: 45
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: concept}
                                        index: 46
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        short: Reference to a concept (by class)
                                        choices: [valueCodeableConcept]
                                        index: 48
                                      valueCodeableConcept:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        type: CodeableConcept
                                        short: Reference to a concept (by class)
                                        choiceOf: value
                                        index: 49
                                    required: [url]
                                reference:
                                  match: {url: reference}
                                  schema:
                                    base: {max: '*', min: 0, path: Extension.extension}
                                    short: Reference to a resource (by instance)
                                    index: 50
                                    elements:
                                      url:
                                        base: {max: '1', min: 1, path: Extension.url}
                                        pattern: {type: Uri, value: reference}
                                        index: 51
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        short: Reference to a resource (by instance)
                                        choices: [valueReference]
                                        index: 53
                                      valueReference:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        type: Reference
                                        short: Reference to a resource (by instance)
                                        choiceOf: value
                                        index: 54
                                    required: [url]
                                _datatype:
                                  match: {url: null}
                                  schema:
                                    type: Extension
                                    short: Data type name for NutritionProduct.ingredient.item from FHIR R4B
                                    url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                                    index: 55
                                    elements:
                                      value:
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        pattern: {type: String, value: CodeableReference}
                                        choices: [valueString]
                                        index: 57
                                      valueString:
                                        type: string
                                        pattern: {type: String, value: CodeableReference}
                                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                        choiceOf: value
                                        index: 58
                                    required: [valueString, value]
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: item}
                            index: 59
                        required: [url]
                    amount:
                      match: {url: amount}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: The amount of ingredient that is in the product
                        array: true
                        index: 60
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: amount}
                            index: 61
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: The amount of ingredient that is in the product
                            choices: [valueRatio]
                            index: 63
                          valueRatio:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Ratio
                            short: The amount of ingredient that is in the product
                            choiceOf: value
                            index: 64
                        required: [url]
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: ingredient}
                index: 65
            required: [url, extension]
        status:
          match: {url: status}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: active | inactive | entered-in-error
            _required: true
            index: 1
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: status}
                index: 2
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: active | inactive | entered-in-error
                choices: [valueCode]
                index: 4
              valueCode:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: code
                short: active | inactive | entered-in-error
                choiceOf: value
                index: 5
            required: [url]
        knownAllergen:
          match: {url: knownAllergen}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Known or suspected allergens that are a part of this product
            array: true
            index: 66
            extensions:
              concept:
                url: concept
                base: {max: '*', min: 0, path: Extension.extension}
                short: Reference to a concept (by class)
                index: 68
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: concept}
                    index: 69
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Reference to a concept (by class)
                    choices: [valueCodeableConcept]
                    index: 71
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Reference to a concept (by class)
                    choiceOf: value
                    index: 72
                required: [url]
              reference:
                url: reference
                base: {max: '*', min: 0, path: Extension.extension}
                short: Reference to a resource (by instance)
                index: 73
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: reference}
                    index: 74
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Reference to a resource (by instance)
                    choices: [valueReference]
                    index: 76
                  valueReference:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Reference
                    short: Reference to a resource (by instance)
                    choiceOf: value
                    index: 77
                required: [url]
              _datatype:
                url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                type: Extension
                short: Data type name for NutritionProduct.knownAllergen from FHIR R4B
                index: 78
                elements:
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    pattern: {type: String, value: CodeableReference}
                    choices: [valueString]
                    index: 80
                  valueString:
                    type: string
                    pattern: {type: String, value: CodeableReference}
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 81
                required: [valueString, value]
            elements:
              extension:
                base: {max: '*', min: 0, path: Extension.extension}
                array: true
                index: 67
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    concept:
                      match: {url: concept}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Reference to a concept (by class)
                        index: 68
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: concept}
                            index: 69
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Reference to a concept (by class)
                            choices: [valueCodeableConcept]
                            index: 71
                          valueCodeableConcept:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Reference to a concept (by class)
                            choiceOf: value
                            index: 72
                        required: [url]
                    reference:
                      match: {url: reference}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Reference to a resource (by instance)
                        index: 73
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: reference}
                            index: 74
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Reference to a resource (by instance)
                            choices: [valueReference]
                            index: 76
                          valueReference:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Reference
                            short: Reference to a resource (by instance)
                            choiceOf: value
                            index: 77
                        required: [url]
                    _datatype:
                      match: {url: null}
                      schema:
                        type: Extension
                        short: Data type name for NutritionProduct.knownAllergen from FHIR R4B
                        url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                        index: 78
                        elements:
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            pattern: {type: String, value: CodeableReference}
                            choices: [valueString]
                            index: 80
                          valueString:
                            type: string
                            pattern: {type: String, value: CodeableReference}
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 81
                        required: [valueString, value]
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: knownAllergen}
                index: 82
            required: [url]
        manufacturer:
          match: {url: manufacturer}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Manufacturer, representative or officially responsible for the product
            array: true
            index: 11
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: manufacturer}
                index: 12
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Manufacturer, representative or officially responsible for the product
                choices: [valueReference]
                index: 14
              valueReference:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Reference
                short: Manufacturer, representative or officially responsible for the product
                choiceOf: value
                index: 15
            required: [url]
  url:
    base: {max: '1', min: 1, path: Extension.url}
    pattern: {type: Uri, value: 'http://hl7.org/fhir/4.3/StructureDefinition/extension-NutritionProduct'}
    index: 134
package_version: r4b.r4-0.0.1-snapshot-2
extensions:
  category:
    url: category
    base: {max: '*', min: 0, path: Extension.extension}
    short: A category or class of the nutrition product (halal, kosher, gluten free, vegan, etc)
    array: true
    index: 6
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: category}
        index: 7
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: A category or class of the nutrition product (halal, kosher, gluten free, vegan, etc)
        choices: [valueCodeableConcept]
        index: 9
      valueCodeableConcept:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: CodeableConcept
        short: A category or class of the nutrition product (halal, kosher, gluten free, vegan, etc)
        choiceOf: value
        index: 10
    required: [url]
  instance:
    url: instance
    base: {max: '*', min: 0, path: Extension.extension}
    short: One or several physical instances or occurrences of the nutrition product
    index: 101
    extensions:
      quantity:
        url: quantity
        base: {max: '*', min: 0, path: Extension.extension}
        short: The amount of items or instances
        index: 103
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: quantity}
            index: 104
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: The amount of items or instances
            choices: [valueQuantity]
            index: 106
          valueQuantity:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: Quantity
            short: The amount of items or instances
            choiceOf: value
            index: 107
        required: [url]
      identifier:
        url: identifier
        base: {max: '*', min: 0, path: Extension.extension}
        short: The identifier for the physical instance, typically a serial number
        array: true
        index: 108
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: identifier}
            index: 109
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: The identifier for the physical instance, typically a serial number
            choices: [valueIdentifier]
            index: 111
          valueIdentifier:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: Identifier
            short: The identifier for the physical instance, typically a serial number
            choiceOf: value
            index: 112
        required: [url]
      lotNumber:
        url: lotNumber
        base: {max: '*', min: 0, path: Extension.extension}
        short: The identification of the batch or lot of the product
        index: 113
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: lotNumber}
            index: 114
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: The identification of the batch or lot of the product
            choices: [valueString]
            index: 116
          valueString:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: string
            short: The identification of the batch or lot of the product
            choiceOf: value
            index: 117
        required: [url]
      expiry:
        url: expiry
        base: {max: '*', min: 0, path: Extension.extension}
        short: The expiry date or date and time for the product
        index: 118
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: expiry}
            index: 119
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: The expiry date or date and time for the product
            choices: [valueDateTime]
            index: 121
          valueDateTime:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: dateTime
            short: The expiry date or date and time for the product
            choiceOf: value
            index: 122
        required: [url]
      useBy:
        url: useBy
        base: {max: '*', min: 0, path: Extension.extension}
        short: The date until which the product is expected to be good for consumption
        index: 123
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: useBy}
            index: 124
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: The date until which the product is expected to be good for consumption
            choices: [valueDateTime]
            index: 126
          valueDateTime:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: dateTime
            short: The date until which the product is expected to be good for consumption
            choiceOf: value
            index: 127
        required: [url]
    elements:
      extension:
        base: {max: '*', min: 0, path: Extension.extension}
        array: true
        index: 102
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            quantity:
              match: {url: quantity}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: The amount of items or instances
                index: 103
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: quantity}
                    index: 104
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The amount of items or instances
                    choices: [valueQuantity]
                    index: 106
                  valueQuantity:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Quantity
                    short: The amount of items or instances
                    choiceOf: value
                    index: 107
                required: [url]
            identifier:
              match: {url: identifier}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: The identifier for the physical instance, typically a serial number
                array: true
                index: 108
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: identifier}
                    index: 109
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The identifier for the physical instance, typically a serial number
                    choices: [valueIdentifier]
                    index: 111
                  valueIdentifier:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Identifier
                    short: The identifier for the physical instance, typically a serial number
                    choiceOf: value
                    index: 112
                required: [url]
            lotNumber:
              match: {url: lotNumber}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: The identification of the batch or lot of the product
                index: 113
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: lotNumber}
                    index: 114
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The identification of the batch or lot of the product
                    choices: [valueString]
                    index: 116
                  valueString:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: string
                    short: The identification of the batch or lot of the product
                    choiceOf: value
                    index: 117
                required: [url]
            expiry:
              match: {url: expiry}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: The expiry date or date and time for the product
                index: 118
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: expiry}
                    index: 119
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The expiry date or date and time for the product
                    choices: [valueDateTime]
                    index: 121
                  valueDateTime:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: dateTime
                    short: The expiry date or date and time for the product
                    choiceOf: value
                    index: 122
                required: [url]
            useBy:
              match: {url: useBy}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: The date until which the product is expected to be good for consumption
                index: 123
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: useBy}
                    index: 124
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The date until which the product is expected to be good for consumption
                    choices: [valueDateTime]
                    index: 126
                  valueDateTime:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: dateTime
                    short: The date until which the product is expected to be good for consumption
                    choiceOf: value
                    index: 127
                required: [url]
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: instance}
        index: 128
    required: [url]
  nutrient:
    url: nutrient
    base: {max: '*', min: 0, path: Extension.extension}
    short: The product's nutritional information expressed by the nutrients
    array: true
    index: 16
    extensions:
      item:
        url: item
        base: {max: '*', min: 0, path: Extension.extension}
        short: The (relevant) nutrients in the product
        index: 18
        extensions:
          concept:
            url: concept
            base: {max: '*', min: 0, path: Extension.extension}
            short: Reference to a concept (by class)
            index: 20
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: concept}
                index: 21
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Reference to a concept (by class)
                choices: [valueCodeableConcept]
                index: 23
              valueCodeableConcept:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: CodeableConcept
                short: Reference to a concept (by class)
                choiceOf: value
                index: 24
            required: [url]
          reference:
            url: reference
            base: {max: '*', min: 0, path: Extension.extension}
            short: Reference to a resource (by instance)
            index: 25
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: reference}
                index: 26
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Reference to a resource (by instance)
                choices: [valueReference]
                index: 28
              valueReference:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Reference
                short: Reference to a resource (by instance)
                choiceOf: value
                index: 29
            required: [url]
          _datatype:
            url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
            type: Extension
            short: Data type name for NutritionProduct.nutrient.item from FHIR R4B
            index: 30
            elements:
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                pattern: {type: String, value: CodeableReference}
                choices: [valueString]
                index: 32
              valueString:
                type: string
                pattern: {type: String, value: CodeableReference}
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 33
            required: [valueString, value]
        elements:
          extension:
            base: {max: '*', min: 0, path: Extension.extension}
            array: true
            index: 19
            slicing:
              rules: closed
              ordered: false
              discriminator:
              - {path: url, type: value}
              min: 0
              slices:
                concept:
                  match: {url: concept}
                  schema:
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Reference to a concept (by class)
                    index: 20
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: concept}
                        index: 21
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Reference to a concept (by class)
                        choices: [valueCodeableConcept]
                        index: 23
                      valueCodeableConcept:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: Reference to a concept (by class)
                        choiceOf: value
                        index: 24
                    required: [url]
                reference:
                  match: {url: reference}
                  schema:
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Reference to a resource (by instance)
                    index: 25
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: reference}
                        index: 26
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Reference to a resource (by instance)
                        choices: [valueReference]
                        index: 28
                      valueReference:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Reference
                        short: Reference to a resource (by instance)
                        choiceOf: value
                        index: 29
                    required: [url]
                _datatype:
                  match: {url: null}
                  schema:
                    type: Extension
                    short: Data type name for NutritionProduct.nutrient.item from FHIR R4B
                    url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                    index: 30
                    elements:
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        pattern: {type: String, value: CodeableReference}
                        choices: [valueString]
                        index: 32
                      valueString:
                        type: string
                        pattern: {type: String, value: CodeableReference}
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 33
                    required: [valueString, value]
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: item}
            index: 34
        required: [url]
      amount:
        url: amount
        base: {max: '*', min: 0, path: Extension.extension}
        short: 'The amount of nutrient expressed in one or more units: X per pack / per serving / per dose'
        array: true
        index: 35
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: amount}
            index: 36
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: 'The amount of nutrient expressed in one or more units: X per pack / per serving / per dose'
            choices: [valueRatio]
            index: 38
          valueRatio:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: Ratio
            short: 'The amount of nutrient expressed in one or more units: X per pack / per serving / per dose'
            choiceOf: value
            index: 39
        required: [url]
    elements:
      extension:
        base: {max: '*', min: 0, path: Extension.extension}
        array: true
        index: 17
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            item:
              match: {url: item}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: The (relevant) nutrients in the product
                index: 18
                extensions:
                  concept:
                    url: concept
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Reference to a concept (by class)
                    index: 20
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: concept}
                        index: 21
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Reference to a concept (by class)
                        choices: [valueCodeableConcept]
                        index: 23
                      valueCodeableConcept:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: Reference to a concept (by class)
                        choiceOf: value
                        index: 24
                    required: [url]
                  reference:
                    url: reference
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Reference to a resource (by instance)
                    index: 25
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: reference}
                        index: 26
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Reference to a resource (by instance)
                        choices: [valueReference]
                        index: 28
                      valueReference:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Reference
                        short: Reference to a resource (by instance)
                        choiceOf: value
                        index: 29
                    required: [url]
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                    type: Extension
                    short: Data type name for NutritionProduct.nutrient.item from FHIR R4B
                    index: 30
                    elements:
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        pattern: {type: String, value: CodeableReference}
                        choices: [valueString]
                        index: 32
                      valueString:
                        type: string
                        pattern: {type: String, value: CodeableReference}
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 33
                    required: [valueString, value]
                elements:
                  extension:
                    base: {max: '*', min: 0, path: Extension.extension}
                    array: true
                    index: 19
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 0
                      slices:
                        concept:
                          match: {url: concept}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Reference to a concept (by class)
                            index: 20
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: concept}
                                index: 21
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Reference to a concept (by class)
                                choices: [valueCodeableConcept]
                                index: 23
                              valueCodeableConcept:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: Reference to a concept (by class)
                                choiceOf: value
                                index: 24
                            required: [url]
                        reference:
                          match: {url: reference}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Reference to a resource (by instance)
                            index: 25
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: reference}
                                index: 26
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Reference to a resource (by instance)
                                choices: [valueReference]
                                index: 28
                              valueReference:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Reference
                                short: Reference to a resource (by instance)
                                choiceOf: value
                                index: 29
                            required: [url]
                        _datatype:
                          match: {url: null}
                          schema:
                            type: Extension
                            short: Data type name for NutritionProduct.nutrient.item from FHIR R4B
                            url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                            index: 30
                            elements:
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                pattern: {type: String, value: CodeableReference}
                                choices: [valueString]
                                index: 32
                              valueString:
                                type: string
                                pattern: {type: String, value: CodeableReference}
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 33
                            required: [valueString, value]
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: item}
                    index: 34
                required: [url]
            amount:
              match: {url: amount}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: 'The amount of nutrient expressed in one or more units: X per pack / per serving / per dose'
                array: true
                index: 35
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: amount}
                    index: 36
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: 'The amount of nutrient expressed in one or more units: X per pack / per serving / per dose'
                    choices: [valueRatio]
                    index: 38
                  valueRatio:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Ratio
                    short: 'The amount of nutrient expressed in one or more units: X per pack / per serving / per dose'
                    choiceOf: value
                    index: 39
                required: [url]
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: nutrient}
        index: 40
    required: [url]
  note:
    url: note
    base: {max: '*', min: 0, path: Extension.extension}
    short: Comments made about the product
    array: true
    index: 129
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: note}
        index: 130
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Comments made about the product
        choices: [valueAnnotation]
        index: 132
      valueAnnotation:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Annotation
        short: Comments made about the product
        choiceOf: value
        index: 133
    required: [url]
  productCharacteristic:
    url: productCharacteristic
    base: {max: '*', min: 0, path: Extension.extension}
    short: Specifies descriptive properties of the nutrition product
    array: true
    index: 83
    extensions:
      type:
        url: type
        base: {max: '*', min: 0, path: Extension.extension}
        short: Code specifying the type of characteristic
        _required: true
        index: 85
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: type}
            index: 86
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: Code specifying the type of characteristic
            choices: [valueCodeableConcept]
            index: 88
          valueCodeableConcept:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: CodeableConcept
            short: Code specifying the type of characteristic
            choiceOf: value
            index: 89
        required: [url]
      value[x]:
        url: value[x]
        base: {max: '*', min: 0, path: Extension.extension}
        short: The value of the characteristic
        _required: true
        index: 90
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: 'value[x]'}
            index: 91
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: The value of the characteristic
            choices: [valueCodeableConcept, valueString, valueQuantity, valueBase64Binary, valueAttachment, valueBoolean]
            index: 93
          valueCodeableConcept:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: CodeableConcept
            short: The value of the characteristic
            choiceOf: value
            index: 94
          valueString:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: string
            short: The value of the characteristic
            choiceOf: value
            index: 95
          valueQuantity:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: Quantity
            short: The value of the characteristic
            choiceOf: value
            index: 96
          valueBase64Binary:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: base64Binary
            short: The value of the characteristic
            choiceOf: value
            index: 97
          valueAttachment:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: Attachment
            short: The value of the characteristic
            choiceOf: value
            index: 98
          valueBoolean:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: boolean
            short: The value of the characteristic
            choiceOf: value
            index: 99
        required: [url]
    elements:
      extension:
        base: {max: '*', min: 0, path: Extension.extension}
        array: true
        min: 2
        index: 84
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 2
          slices:
            type:
              match: {url: type}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: Code specifying the type of characteristic
                _required: true
                index: 85
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: type}
                    index: 86
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Code specifying the type of characteristic
                    choices: [valueCodeableConcept]
                    index: 88
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Code specifying the type of characteristic
                    choiceOf: value
                    index: 89
                required: [url]
            value[x]:
              match: {url: 'value[x]'}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: The value of the characteristic
                _required: true
                index: 90
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: 'value[x]'}
                    index: 91
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The value of the characteristic
                    choices: [valueCodeableConcept, valueString, valueQuantity, valueBase64Binary, valueAttachment, valueBoolean]
                    index: 93
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The value of the characteristic
                    choiceOf: value
                    index: 94
                  valueString:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: string
                    short: The value of the characteristic
                    choiceOf: value
                    index: 95
                  valueQuantity:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Quantity
                    short: The value of the characteristic
                    choiceOf: value
                    index: 96
                  valueBase64Binary:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: base64Binary
                    short: The value of the characteristic
                    choiceOf: value
                    index: 97
                  valueAttachment:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Attachment
                    short: The value of the characteristic
                    choiceOf: value
                    index: 98
                  valueBoolean:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: boolean
                    short: The value of the characteristic
                    choiceOf: value
                    index: 99
                required: [url]
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: productCharacteristic}
        index: 100
    required: [url]
  ingredient:
    url: ingredient
    base: {max: '*', min: 0, path: Extension.extension}
    short: Ingredients contained in this product
    array: true
    index: 41
    extensions:
      item:
        url: item
        base: {max: '*', min: 0, path: Extension.extension}
        short: The ingredient contained in the product
        _required: true
        index: 43
        extensions:
          concept:
            url: concept
            base: {max: '*', min: 0, path: Extension.extension}
            short: Reference to a concept (by class)
            index: 45
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: concept}
                index: 46
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Reference to a concept (by class)
                choices: [valueCodeableConcept]
                index: 48
              valueCodeableConcept:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: CodeableConcept
                short: Reference to a concept (by class)
                choiceOf: value
                index: 49
            required: [url]
          reference:
            url: reference
            base: {max: '*', min: 0, path: Extension.extension}
            short: Reference to a resource (by instance)
            index: 50
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: reference}
                index: 51
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Reference to a resource (by instance)
                choices: [valueReference]
                index: 53
              valueReference:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Reference
                short: Reference to a resource (by instance)
                choiceOf: value
                index: 54
            required: [url]
          _datatype:
            url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
            type: Extension
            short: Data type name for NutritionProduct.ingredient.item from FHIR R4B
            index: 55
            elements:
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                pattern: {type: String, value: CodeableReference}
                choices: [valueString]
                index: 57
              valueString:
                type: string
                pattern: {type: String, value: CodeableReference}
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 58
            required: [valueString, value]
        elements:
          extension:
            base: {max: '*', min: 0, path: Extension.extension}
            array: true
            index: 44
            slicing:
              rules: closed
              ordered: false
              discriminator:
              - {path: url, type: value}
              min: 0
              slices:
                concept:
                  match: {url: concept}
                  schema:
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Reference to a concept (by class)
                    index: 45
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: concept}
                        index: 46
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Reference to a concept (by class)
                        choices: [valueCodeableConcept]
                        index: 48
                      valueCodeableConcept:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: Reference to a concept (by class)
                        choiceOf: value
                        index: 49
                    required: [url]
                reference:
                  match: {url: reference}
                  schema:
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Reference to a resource (by instance)
                    index: 50
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: reference}
                        index: 51
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Reference to a resource (by instance)
                        choices: [valueReference]
                        index: 53
                      valueReference:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Reference
                        short: Reference to a resource (by instance)
                        choiceOf: value
                        index: 54
                    required: [url]
                _datatype:
                  match: {url: null}
                  schema:
                    type: Extension
                    short: Data type name for NutritionProduct.ingredient.item from FHIR R4B
                    url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                    index: 55
                    elements:
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        pattern: {type: String, value: CodeableReference}
                        choices: [valueString]
                        index: 57
                      valueString:
                        type: string
                        pattern: {type: String, value: CodeableReference}
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 58
                    required: [valueString, value]
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: item}
            index: 59
        required: [url]
      amount:
        url: amount
        base: {max: '*', min: 0, path: Extension.extension}
        short: The amount of ingredient that is in the product
        array: true
        index: 60
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: amount}
            index: 61
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: The amount of ingredient that is in the product
            choices: [valueRatio]
            index: 63
          valueRatio:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: Ratio
            short: The amount of ingredient that is in the product
            choiceOf: value
            index: 64
        required: [url]
    elements:
      extension:
        base: {max: '*', min: 0, path: Extension.extension}
        array: true
        min: 1
        index: 42
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            item:
              match: {url: item}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: The ingredient contained in the product
                _required: true
                index: 43
                extensions:
                  concept:
                    url: concept
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Reference to a concept (by class)
                    index: 45
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: concept}
                        index: 46
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Reference to a concept (by class)
                        choices: [valueCodeableConcept]
                        index: 48
                      valueCodeableConcept:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: Reference to a concept (by class)
                        choiceOf: value
                        index: 49
                    required: [url]
                  reference:
                    url: reference
                    base: {max: '*', min: 0, path: Extension.extension}
                    short: Reference to a resource (by instance)
                    index: 50
                    elements:
                      url:
                        base: {max: '1', min: 1, path: Extension.url}
                        pattern: {type: Uri, value: reference}
                        index: 51
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        short: Reference to a resource (by instance)
                        choices: [valueReference]
                        index: 53
                      valueReference:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        type: Reference
                        short: Reference to a resource (by instance)
                        choiceOf: value
                        index: 54
                    required: [url]
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                    type: Extension
                    short: Data type name for NutritionProduct.ingredient.item from FHIR R4B
                    index: 55
                    elements:
                      value:
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        pattern: {type: String, value: CodeableReference}
                        choices: [valueString]
                        index: 57
                      valueString:
                        type: string
                        pattern: {type: String, value: CodeableReference}
                        base: {max: '1', min: 0, path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 58
                    required: [valueString, value]
                elements:
                  extension:
                    base: {max: '*', min: 0, path: Extension.extension}
                    array: true
                    index: 44
                    slicing:
                      rules: closed
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 0
                      slices:
                        concept:
                          match: {url: concept}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Reference to a concept (by class)
                            index: 45
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: concept}
                                index: 46
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Reference to a concept (by class)
                                choices: [valueCodeableConcept]
                                index: 48
                              valueCodeableConcept:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: Reference to a concept (by class)
                                choiceOf: value
                                index: 49
                            required: [url]
                        reference:
                          match: {url: reference}
                          schema:
                            base: {max: '*', min: 0, path: Extension.extension}
                            short: Reference to a resource (by instance)
                            index: 50
                            elements:
                              url:
                                base: {max: '1', min: 1, path: Extension.url}
                                pattern: {type: Uri, value: reference}
                                index: 51
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                short: Reference to a resource (by instance)
                                choices: [valueReference]
                                index: 53
                              valueReference:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                type: Reference
                                short: Reference to a resource (by instance)
                                choiceOf: value
                                index: 54
                            required: [url]
                        _datatype:
                          match: {url: null}
                          schema:
                            type: Extension
                            short: Data type name for NutritionProduct.ingredient.item from FHIR R4B
                            url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                            index: 55
                            elements:
                              value:
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                pattern: {type: String, value: CodeableReference}
                                choices: [valueString]
                                index: 57
                              valueString:
                                type: string
                                pattern: {type: String, value: CodeableReference}
                                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 58
                            required: [valueString, value]
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: item}
                    index: 59
                required: [url]
            amount:
              match: {url: amount}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: The amount of ingredient that is in the product
                array: true
                index: 60
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: amount}
                    index: 61
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: The amount of ingredient that is in the product
                    choices: [valueRatio]
                    index: 63
                  valueRatio:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Ratio
                    short: The amount of ingredient that is in the product
                    choiceOf: value
                    index: 64
                required: [url]
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: ingredient}
        index: 65
    required: [url, extension]
  status:
    url: status
    base: {max: '*', min: 0, path: Extension.extension}
    short: active | inactive | entered-in-error
    _required: true
    index: 1
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: status}
        index: 2
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: active | inactive | entered-in-error
        choices: [valueCode]
        index: 4
      valueCode:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: code
        short: active | inactive | entered-in-error
        choiceOf: value
        index: 5
    required: [url]
  knownAllergen:
    url: knownAllergen
    base: {max: '*', min: 0, path: Extension.extension}
    short: Known or suspected allergens that are a part of this product
    array: true
    index: 66
    extensions:
      concept:
        url: concept
        base: {max: '*', min: 0, path: Extension.extension}
        short: Reference to a concept (by class)
        index: 68
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: concept}
            index: 69
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: Reference to a concept (by class)
            choices: [valueCodeableConcept]
            index: 71
          valueCodeableConcept:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: CodeableConcept
            short: Reference to a concept (by class)
            choiceOf: value
            index: 72
        required: [url]
      reference:
        url: reference
        base: {max: '*', min: 0, path: Extension.extension}
        short: Reference to a resource (by instance)
        index: 73
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: reference}
            index: 74
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: Reference to a resource (by instance)
            choices: [valueReference]
            index: 76
          valueReference:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: Reference
            short: Reference to a resource (by instance)
            choiceOf: value
            index: 77
        required: [url]
      _datatype:
        url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
        type: Extension
        short: Data type name for NutritionProduct.knownAllergen from FHIR R4B
        index: 78
        elements:
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            pattern: {type: String, value: CodeableReference}
            choices: [valueString]
            index: 80
          valueString:
            type: string
            pattern: {type: String, value: CodeableReference}
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            choiceOf: value
            index: 81
        required: [valueString, value]
    elements:
      extension:
        base: {max: '*', min: 0, path: Extension.extension}
        array: true
        index: 67
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            concept:
              match: {url: concept}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: Reference to a concept (by class)
                index: 68
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: concept}
                    index: 69
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Reference to a concept (by class)
                    choices: [valueCodeableConcept]
                    index: 71
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Reference to a concept (by class)
                    choiceOf: value
                    index: 72
                required: [url]
            reference:
              match: {url: reference}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: Reference to a resource (by instance)
                index: 73
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: reference}
                    index: 74
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Reference to a resource (by instance)
                    choices: [valueReference]
                    index: 76
                  valueReference:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Reference
                    short: Reference to a resource (by instance)
                    choiceOf: value
                    index: 77
                required: [url]
            _datatype:
              match: {url: null}
              schema:
                type: Extension
                short: Data type name for NutritionProduct.knownAllergen from FHIR R4B
                url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                index: 78
                elements:
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    pattern: {type: String, value: CodeableReference}
                    choices: [valueString]
                    index: 80
                  valueString:
                    type: string
                    pattern: {type: String, value: CodeableReference}
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 81
                required: [valueString, value]
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: knownAllergen}
        index: 82
    required: [url]
  manufacturer:
    url: manufacturer
    base: {max: '*', min: 0, path: Extension.extension}
    short: Manufacturer, representative or officially responsible for the product
    array: true
    index: 11
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: manufacturer}
        index: 12
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Manufacturer, representative or officially responsible for the product
        choices: [valueReference]
        index: 14
      valueReference:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Reference
        short: Manufacturer, representative or officially responsible for the product
        choiceOf: value
        index: 15
    required: [url]
class: extension
kind: complex-type
url: http://hl7.org/fhir/4.3/StructureDefinition/extension-NutritionProduct
base: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1
version: 0.0.1-snapshot-2
required: [url, extension]