PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver-r4b.r4@0.0.1-snapshot-1
    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-r4b.r4
derivation: constraint
name: ext_R4B_NutritionProduct
type: Extension
elements:
  extension:
    array: true
    min: 1
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        category:
          match: {url: null}
          schema:
            short: A category or class of the nutrition product (halal, kosher, gluten free, vegan, etc)
            isModifier: false
            array: true
            index: 5
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: A category or class of the nutrition product (halal, kosher, gluten free, vegan, etc)
                choices: [valueCodeableConcept]
                index: 7
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: A category or class of the nutrition product (halal, kosher, gluten free, vegan, etc)
                choiceOf: value
                index: 8
        instance:
          match: {url: null}
          schema:
            short: One or several physical instances or occurrences of the nutrition product
            isModifier: false
            index: 79
            extensions:
              quantity:
                url: null
                short: The amount of items or instances
                isModifier: false
                index: 81
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The amount of items or instances
                    choices: [valueQuantity]
                    index: 83
                  valueQuantity:
                    base: {path: 'Extension.value[x]'}
                    type: Quantity
                    short: The amount of items or instances
                    choiceOf: value
                    index: 84
              identifier:
                url: null
                short: The identifier for the physical instance, typically a serial number
                isModifier: false
                array: true
                index: 85
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The identifier for the physical instance, typically a serial number
                    choices: [valueIdentifier]
                    index: 87
                  valueIdentifier:
                    base: {path: 'Extension.value[x]'}
                    type: Identifier
                    short: The identifier for the physical instance, typically a serial number
                    choiceOf: value
                    index: 88
              lotNumber:
                url: null
                short: The identification of the batch or lot of the product
                isModifier: false
                index: 89
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The identification of the batch or lot of the product
                    choices: [valueString]
                    index: 91
                  valueString:
                    base: {path: 'Extension.value[x]'}
                    type: string
                    short: The identification of the batch or lot of the product
                    choiceOf: value
                    index: 92
              expiry:
                url: null
                short: The expiry date or date and time for the product
                isModifier: false
                index: 93
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The expiry date or date and time for the product
                    choices: [valueDateTime]
                    index: 95
                  valueDateTime:
                    base: {path: 'Extension.value[x]'}
                    type: dateTime
                    short: The expiry date or date and time for the product
                    choiceOf: value
                    index: 96
              useBy:
                url: null
                short: The date until which the product is expected to be good for consumption
                isModifier: false
                index: 97
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The date until which the product is expected to be good for consumption
                    choices: [valueDateTime]
                    index: 99
                  valueDateTime:
                    base: {path: 'Extension.value[x]'}
                    type: dateTime
                    short: The date until which the product is expected to be good for consumption
                    choiceOf: value
                    index: 100
            elements:
              extension:
                array: true
                index: 80
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    quantity:
                      match: {url: null}
                      schema:
                        short: The amount of items or instances
                        isModifier: false
                        index: 81
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The amount of items or instances
                            choices: [valueQuantity]
                            index: 83
                          valueQuantity:
                            base: {path: 'Extension.value[x]'}
                            type: Quantity
                            short: The amount of items or instances
                            choiceOf: value
                            index: 84
                    identifier:
                      match: {url: null}
                      schema:
                        short: The identifier for the physical instance, typically a serial number
                        isModifier: false
                        array: true
                        index: 85
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The identifier for the physical instance, typically a serial number
                            choices: [valueIdentifier]
                            index: 87
                          valueIdentifier:
                            base: {path: 'Extension.value[x]'}
                            type: Identifier
                            short: The identifier for the physical instance, typically a serial number
                            choiceOf: value
                            index: 88
                    lotNumber:
                      match: {url: null}
                      schema:
                        short: The identification of the batch or lot of the product
                        isModifier: false
                        index: 89
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The identification of the batch or lot of the product
                            choices: [valueString]
                            index: 91
                          valueString:
                            base: {path: 'Extension.value[x]'}
                            type: string
                            short: The identification of the batch or lot of the product
                            choiceOf: value
                            index: 92
                    expiry:
                      match: {url: null}
                      schema:
                        short: The expiry date or date and time for the product
                        isModifier: false
                        index: 93
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The expiry date or date and time for the product
                            choices: [valueDateTime]
                            index: 95
                          valueDateTime:
                            base: {path: 'Extension.value[x]'}
                            type: dateTime
                            short: The expiry date or date and time for the product
                            choiceOf: value
                            index: 96
                    useBy:
                      match: {url: null}
                      schema:
                        short: The date until which the product is expected to be good for consumption
                        isModifier: false
                        index: 97
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The date until which the product is expected to be good for consumption
                            choices: [valueDateTime]
                            index: 99
                          valueDateTime:
                            base: {path: 'Extension.value[x]'}
                            type: dateTime
                            short: The date until which the product is expected to be good for consumption
                            choiceOf: value
                            index: 100
        nutrient:
          match: {url: null}
          schema:
            short: The product's nutritional information expressed by the nutrients
            isModifier: false
            array: true
            index: 13
            extensions:
              item:
                url: null
                short: The (relevant) nutrients in the product
                isModifier: false
                index: 15
                extensions:
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    type: Extension
                    short: Data type name for NutritionProduct.nutrient.item from FHIR R4B
                    index: 16
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        pattern: {type: string, value: CodeableReference}
                        choices: [valueString]
                        type: string
                        index: 18
                      valueString:
                        type: string
                        pattern: {type: string, value: CodeableReference}
                        base: {path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 19
                    required: [value, valueString]
                  concept:
                    url: null
                    short: Reference to a concept (by class)
                    isModifier: false
                    index: 20
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Reference to a concept (by class)
                        choices: [valueCodeableConcept]
                        index: 22
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: Reference to a concept (by class)
                        choiceOf: value
                        index: 23
                  reference:
                    url: null
                    short: Reference to a resource (by instance)
                    isModifier: false
                    index: 24
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Reference to a resource (by instance)
                        choices: [valueReference]
                        index: 26
                      valueReference:
                        base: {path: 'Extension.value[x]'}
                        type: Reference
                        short: Reference to a resource (by instance)
                        choiceOf: value
                        index: 27
                elements:
                  extension:
                    type: Extension
                    short: Data type name for NutritionProduct.nutrient.item from FHIR R4B
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    index: 16
                    slicing:
                      slices:
                        _datatype:
                          match: {}
                          schema:
                            type: Extension
                            short: Data type name for NutritionProduct.nutrient.item from FHIR R4B
                            url: http://hl7.org/fhir/StructureDefinition/_datatype
                            index: 16
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                pattern: {type: string, value: CodeableReference}
                                choices: [valueString]
                                type: string
                                index: 18
                              valueString:
                                type: string
                                pattern: {type: string, value: CodeableReference}
                                base: {path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 19
                            required: [value, valueString]
                        concept:
                          match: {}
                          schema:
                            short: Reference to a concept (by class)
                            isModifier: false
                            index: 20
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Reference to a concept (by class)
                                choices: [valueCodeableConcept]
                                index: 22
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: Reference to a concept (by class)
                                choiceOf: value
                                index: 23
                        reference:
                          match: {}
                          schema:
                            short: Reference to a resource (by instance)
                            isModifier: false
                            index: 24
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Reference to a resource (by instance)
                                choices: [valueReference]
                                index: 26
                              valueReference:
                                base: {path: 'Extension.value[x]'}
                                type: Reference
                                short: Reference to a resource (by instance)
                                choiceOf: value
                                index: 27
              amount:
                url: null
                short: 'The amount of nutrient expressed in one or more units: X per pack / per serving / per dose'
                isModifier: false
                array: true
                index: 28
                elements:
                  value:
                    base: {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: 30
                  valueRatio:
                    base: {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: 31
            elements:
              extension:
                array: true
                index: 14
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    item:
                      match: {url: null}
                      schema:
                        short: The (relevant) nutrients in the product
                        isModifier: false
                        index: 15
                        extensions:
                          _datatype:
                            url: http://hl7.org/fhir/StructureDefinition/_datatype
                            type: Extension
                            short: Data type name for NutritionProduct.nutrient.item from FHIR R4B
                            index: 16
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                pattern: {type: string, value: CodeableReference}
                                choices: [valueString]
                                type: string
                                index: 18
                              valueString:
                                type: string
                                pattern: {type: string, value: CodeableReference}
                                base: {path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 19
                            required: [value, valueString]
                          concept:
                            url: null
                            short: Reference to a concept (by class)
                            isModifier: false
                            index: 20
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Reference to a concept (by class)
                                choices: [valueCodeableConcept]
                                index: 22
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: Reference to a concept (by class)
                                choiceOf: value
                                index: 23
                          reference:
                            url: null
                            short: Reference to a resource (by instance)
                            isModifier: false
                            index: 24
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Reference to a resource (by instance)
                                choices: [valueReference]
                                index: 26
                              valueReference:
                                base: {path: 'Extension.value[x]'}
                                type: Reference
                                short: Reference to a resource (by instance)
                                choiceOf: value
                                index: 27
                        elements:
                          extension:
                            type: Extension
                            short: Data type name for NutritionProduct.nutrient.item from FHIR R4B
                            url: http://hl7.org/fhir/StructureDefinition/_datatype
                            index: 16
                            slicing:
                              slices:
                                _datatype:
                                  match: {}
                                  schema:
                                    type: Extension
                                    short: Data type name for NutritionProduct.nutrient.item from FHIR R4B
                                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                                    index: 16
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        pattern: {type: string, value: CodeableReference}
                                        choices: [valueString]
                                        type: string
                                        index: 18
                                      valueString:
                                        type: string
                                        pattern: {type: string, value: CodeableReference}
                                        base: {path: 'Extension.value[x]'}
                                        choiceOf: value
                                        index: 19
                                    required: [value, valueString]
                                concept:
                                  match: {}
                                  schema:
                                    short: Reference to a concept (by class)
                                    isModifier: false
                                    index: 20
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        short: Reference to a concept (by class)
                                        choices: [valueCodeableConcept]
                                        index: 22
                                      valueCodeableConcept:
                                        base: {path: 'Extension.value[x]'}
                                        type: CodeableConcept
                                        short: Reference to a concept (by class)
                                        choiceOf: value
                                        index: 23
                                reference:
                                  match: {}
                                  schema:
                                    short: Reference to a resource (by instance)
                                    isModifier: false
                                    index: 24
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        short: Reference to a resource (by instance)
                                        choices: [valueReference]
                                        index: 26
                                      valueReference:
                                        base: {path: 'Extension.value[x]'}
                                        type: Reference
                                        short: Reference to a resource (by instance)
                                        choiceOf: value
                                        index: 27
                    amount:
                      match: {url: null}
                      schema:
                        short: 'The amount of nutrient expressed in one or more units: X per pack / per serving / per dose'
                        isModifier: false
                        array: true
                        index: 28
                        elements:
                          value:
                            base: {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: 30
                          valueRatio:
                            base: {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: 31
        note:
          match: {url: null}
          schema:
            short: Comments made about the product
            isModifier: false
            array: true
            index: 101
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Comments made about the product
                choices: [valueAnnotation]
                index: 103
              valueAnnotation:
                base: {path: 'Extension.value[x]'}
                type: Annotation
                short: Comments made about the product
                choiceOf: value
                index: 104
        productCharacteristic:
          match: {url: null}
          schema:
            short: Specifies descriptive properties of the nutrition product
            isModifier: false
            array: true
            index: 64
            extensions:
              type:
                url: null
                short: Code specifying the type of characteristic
                isModifier: false
                _required: true
                index: 66
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Code specifying the type of characteristic
                    choices: [valueCodeableConcept]
                    index: 68
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Code specifying the type of characteristic
                    choiceOf: value
                    index: 69
              value[x]:
                url: null
                short: The value of the characteristic
                isModifier: false
                _required: true
                index: 70
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The value of the characteristic
                    choices: [valueCodeableConcept, valueString, valueQuantity, valueBase64Binary, valueAttachment, valueBoolean]
                    index: 72
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The value of the characteristic
                    choiceOf: value
                    index: 73
                  valueString:
                    base: {path: 'Extension.value[x]'}
                    type: string
                    short: The value of the characteristic
                    choiceOf: value
                    index: 74
                  valueQuantity:
                    base: {path: 'Extension.value[x]'}
                    type: Quantity
                    short: The value of the characteristic
                    choiceOf: value
                    index: 75
                  valueBase64Binary:
                    base: {path: 'Extension.value[x]'}
                    type: base64Binary
                    short: The value of the characteristic
                    choiceOf: value
                    index: 76
                  valueAttachment:
                    base: {path: 'Extension.value[x]'}
                    type: Attachment
                    short: The value of the characteristic
                    choiceOf: value
                    index: 77
                  valueBoolean:
                    base: {path: 'Extension.value[x]'}
                    type: boolean
                    short: The value of the characteristic
                    choiceOf: value
                    index: 78
            elements:
              extension:
                array: true
                min: 2
                index: 65
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 2
                  slices:
                    type:
                      match: {url: null}
                      schema:
                        short: Code specifying the type of characteristic
                        isModifier: false
                        _required: true
                        index: 66
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Code specifying the type of characteristic
                            choices: [valueCodeableConcept]
                            index: 68
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Code specifying the type of characteristic
                            choiceOf: value
                            index: 69
                    value[x]:
                      match: {url: null}
                      schema:
                        short: The value of the characteristic
                        isModifier: false
                        _required: true
                        index: 70
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The value of the characteristic
                            choices: [valueCodeableConcept, valueString, valueQuantity, valueBase64Binary, valueAttachment, valueBoolean]
                            index: 72
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: The value of the characteristic
                            choiceOf: value
                            index: 73
                          valueString:
                            base: {path: 'Extension.value[x]'}
                            type: string
                            short: The value of the characteristic
                            choiceOf: value
                            index: 74
                          valueQuantity:
                            base: {path: 'Extension.value[x]'}
                            type: Quantity
                            short: The value of the characteristic
                            choiceOf: value
                            index: 75
                          valueBase64Binary:
                            base: {path: 'Extension.value[x]'}
                            type: base64Binary
                            short: The value of the characteristic
                            choiceOf: value
                            index: 76
                          valueAttachment:
                            base: {path: 'Extension.value[x]'}
                            type: Attachment
                            short: The value of the characteristic
                            choiceOf: value
                            index: 77
                          valueBoolean:
                            base: {path: 'Extension.value[x]'}
                            type: boolean
                            short: The value of the characteristic
                            choiceOf: value
                            index: 78
        ingredient:
          match: {url: null}
          schema:
            short: Ingredients contained in this product
            isModifier: false
            array: true
            index: 32
            extensions:
              item:
                url: null
                short: The ingredient contained in the product
                isModifier: false
                _required: true
                index: 34
                extensions:
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    type: Extension
                    short: Data type name for NutritionProduct.ingredient.item from FHIR R4B
                    index: 35
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        pattern: {type: string, value: CodeableReference}
                        choices: [valueString]
                        type: string
                        index: 37
                      valueString:
                        type: string
                        pattern: {type: string, value: CodeableReference}
                        base: {path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 38
                    required: [value, valueString]
                  concept:
                    url: null
                    short: Reference to a concept (by class)
                    isModifier: false
                    index: 39
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Reference to a concept (by class)
                        choices: [valueCodeableConcept]
                        index: 41
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: Reference to a concept (by class)
                        choiceOf: value
                        index: 42
                  reference:
                    url: null
                    short: Reference to a resource (by instance)
                    isModifier: false
                    index: 43
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Reference to a resource (by instance)
                        choices: [valueReference]
                        index: 45
                      valueReference:
                        base: {path: 'Extension.value[x]'}
                        type: Reference
                        short: Reference to a resource (by instance)
                        choiceOf: value
                        index: 46
                elements:
                  extension:
                    type: Extension
                    short: Data type name for NutritionProduct.ingredient.item from FHIR R4B
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    index: 35
                    slicing:
                      slices:
                        _datatype:
                          match: {}
                          schema:
                            type: Extension
                            short: Data type name for NutritionProduct.ingredient.item from FHIR R4B
                            url: http://hl7.org/fhir/StructureDefinition/_datatype
                            index: 35
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                pattern: {type: string, value: CodeableReference}
                                choices: [valueString]
                                type: string
                                index: 37
                              valueString:
                                type: string
                                pattern: {type: string, value: CodeableReference}
                                base: {path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 38
                            required: [value, valueString]
                        concept:
                          match: {}
                          schema:
                            short: Reference to a concept (by class)
                            isModifier: false
                            index: 39
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Reference to a concept (by class)
                                choices: [valueCodeableConcept]
                                index: 41
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: Reference to a concept (by class)
                                choiceOf: value
                                index: 42
                        reference:
                          match: {}
                          schema:
                            short: Reference to a resource (by instance)
                            isModifier: false
                            index: 43
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Reference to a resource (by instance)
                                choices: [valueReference]
                                index: 45
                              valueReference:
                                base: {path: 'Extension.value[x]'}
                                type: Reference
                                short: Reference to a resource (by instance)
                                choiceOf: value
                                index: 46
              amount:
                url: null
                short: The amount of ingredient that is in the product
                isModifier: false
                array: true
                index: 47
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The amount of ingredient that is in the product
                    choices: [valueRatio]
                    index: 49
                  valueRatio:
                    base: {path: 'Extension.value[x]'}
                    type: Ratio
                    short: The amount of ingredient that is in the product
                    choiceOf: value
                    index: 50
            elements:
              extension:
                array: true
                min: 1
                index: 33
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    item:
                      match: {url: null}
                      schema:
                        short: The ingredient contained in the product
                        isModifier: false
                        _required: true
                        index: 34
                        extensions:
                          _datatype:
                            url: http://hl7.org/fhir/StructureDefinition/_datatype
                            type: Extension
                            short: Data type name for NutritionProduct.ingredient.item from FHIR R4B
                            index: 35
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                pattern: {type: string, value: CodeableReference}
                                choices: [valueString]
                                type: string
                                index: 37
                              valueString:
                                type: string
                                pattern: {type: string, value: CodeableReference}
                                base: {path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 38
                            required: [value, valueString]
                          concept:
                            url: null
                            short: Reference to a concept (by class)
                            isModifier: false
                            index: 39
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Reference to a concept (by class)
                                choices: [valueCodeableConcept]
                                index: 41
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: Reference to a concept (by class)
                                choiceOf: value
                                index: 42
                          reference:
                            url: null
                            short: Reference to a resource (by instance)
                            isModifier: false
                            index: 43
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Reference to a resource (by instance)
                                choices: [valueReference]
                                index: 45
                              valueReference:
                                base: {path: 'Extension.value[x]'}
                                type: Reference
                                short: Reference to a resource (by instance)
                                choiceOf: value
                                index: 46
                        elements:
                          extension:
                            type: Extension
                            short: Data type name for NutritionProduct.ingredient.item from FHIR R4B
                            url: http://hl7.org/fhir/StructureDefinition/_datatype
                            index: 35
                            slicing:
                              slices:
                                _datatype:
                                  match: {}
                                  schema:
                                    type: Extension
                                    short: Data type name for NutritionProduct.ingredient.item from FHIR R4B
                                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                                    index: 35
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        pattern: {type: string, value: CodeableReference}
                                        choices: [valueString]
                                        type: string
                                        index: 37
                                      valueString:
                                        type: string
                                        pattern: {type: string, value: CodeableReference}
                                        base: {path: 'Extension.value[x]'}
                                        choiceOf: value
                                        index: 38
                                    required: [value, valueString]
                                concept:
                                  match: {}
                                  schema:
                                    short: Reference to a concept (by class)
                                    isModifier: false
                                    index: 39
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        short: Reference to a concept (by class)
                                        choices: [valueCodeableConcept]
                                        index: 41
                                      valueCodeableConcept:
                                        base: {path: 'Extension.value[x]'}
                                        type: CodeableConcept
                                        short: Reference to a concept (by class)
                                        choiceOf: value
                                        index: 42
                                reference:
                                  match: {}
                                  schema:
                                    short: Reference to a resource (by instance)
                                    isModifier: false
                                    index: 43
                                    elements:
                                      value:
                                        base: {path: 'Extension.value[x]'}
                                        short: Reference to a resource (by instance)
                                        choices: [valueReference]
                                        index: 45
                                      valueReference:
                                        base: {path: 'Extension.value[x]'}
                                        type: Reference
                                        short: Reference to a resource (by instance)
                                        choiceOf: value
                                        index: 46
                    amount:
                      match: {url: null}
                      schema:
                        short: The amount of ingredient that is in the product
                        isModifier: false
                        array: true
                        index: 47
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: The amount of ingredient that is in the product
                            choices: [valueRatio]
                            index: 49
                          valueRatio:
                            base: {path: 'Extension.value[x]'}
                            type: Ratio
                            short: The amount of ingredient that is in the product
                            choiceOf: value
                            index: 50
            required: [extension]
        status:
          match: {url: null}
          schema:
            isModifier: true
            short: active | inactive | entered-in-error
            _required: true
            isModifierReason: This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
            index: 1
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: active | inactive | entered-in-error
                choices: [valueCode]
                index: 3
              valueCode:
                base: {path: 'Extension.value[x]'}
                type: code
                short: active | inactive | entered-in-error
                choiceOf: value
                index: 4
        knownAllergen:
          match: {url: null}
          schema:
            short: Known or suspected allergens that are a part of this product
            isModifier: false
            array: true
            index: 51
            extensions:
              _datatype:
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                type: Extension
                short: Data type name for NutritionProduct.knownAllergen from FHIR R4B
                index: 52
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    pattern: {type: string, value: CodeableReference}
                    choices: [valueString]
                    type: string
                    index: 54
                  valueString:
                    type: string
                    pattern: {type: string, value: CodeableReference}
                    base: {path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 55
                required: [value, valueString]
              concept:
                url: null
                short: Reference to a concept (by class)
                isModifier: false
                index: 56
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Reference to a concept (by class)
                    choices: [valueCodeableConcept]
                    index: 58
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Reference to a concept (by class)
                    choiceOf: value
                    index: 59
              reference:
                url: null
                short: Reference to a resource (by instance)
                isModifier: false
                index: 60
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Reference to a resource (by instance)
                    choices: [valueReference]
                    index: 62
                  valueReference:
                    base: {path: 'Extension.value[x]'}
                    type: Reference
                    short: Reference to a resource (by instance)
                    choiceOf: value
                    index: 63
            elements:
              extension:
                type: Extension
                short: Data type name for NutritionProduct.knownAllergen from FHIR R4B
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                index: 52
                slicing:
                  slices:
                    _datatype:
                      match: {}
                      schema:
                        type: Extension
                        short: Data type name for NutritionProduct.knownAllergen from FHIR R4B
                        url: http://hl7.org/fhir/StructureDefinition/_datatype
                        index: 52
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            pattern: {type: string, value: CodeableReference}
                            choices: [valueString]
                            type: string
                            index: 54
                          valueString:
                            type: string
                            pattern: {type: string, value: CodeableReference}
                            base: {path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 55
                        required: [value, valueString]
                    concept:
                      match: {}
                      schema:
                        short: Reference to a concept (by class)
                        isModifier: false
                        index: 56
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Reference to a concept (by class)
                            choices: [valueCodeableConcept]
                            index: 58
                          valueCodeableConcept:
                            base: {path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Reference to a concept (by class)
                            choiceOf: value
                            index: 59
                    reference:
                      match: {}
                      schema:
                        short: Reference to a resource (by instance)
                        isModifier: false
                        index: 60
                        elements:
                          value:
                            base: {path: 'Extension.value[x]'}
                            short: Reference to a resource (by instance)
                            choices: [valueReference]
                            index: 62
                          valueReference:
                            base: {path: 'Extension.value[x]'}
                            type: Reference
                            short: Reference to a resource (by instance)
                            choiceOf: value
                            index: 63
        manufacturer:
          match: {url: null}
          schema:
            short: Manufacturer, representative or officially responsible for the product
            isModifier: false
            array: true
            index: 9
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Manufacturer, representative or officially responsible for the product
                choices: [valueReference]
                index: 11
              valueReference:
                base: {path: 'Extension.value[x]'}
                type: Reference
                short: Manufacturer, representative or officially responsible for the product
                choiceOf: value
                refers: ['http://hl7.org/fhir/StructureDefinition/Organization']
                index: 12
  url:
    pattern: {type: uri, value: 'http://hl7.org/fhir/4.3/StructureDefinition/extension-NutritionProduct'}
    type: uri
    index: 105
package_version: 0.0.1-snapshot-1
extensions:
  category:
    url: null
    short: A category or class of the nutrition product (halal, kosher, gluten free, vegan, etc)
    isModifier: false
    array: true
    index: 5
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: A category or class of the nutrition product (halal, kosher, gluten free, vegan, etc)
        choices: [valueCodeableConcept]
        index: 7
      valueCodeableConcept:
        base: {path: 'Extension.value[x]'}
        type: CodeableConcept
        short: A category or class of the nutrition product (halal, kosher, gluten free, vegan, etc)
        choiceOf: value
        index: 8
  instance:
    url: null
    short: One or several physical instances or occurrences of the nutrition product
    isModifier: false
    index: 79
    extensions:
      quantity:
        url: null
        short: The amount of items or instances
        isModifier: false
        index: 81
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: The amount of items or instances
            choices: [valueQuantity]
            index: 83
          valueQuantity:
            base: {path: 'Extension.value[x]'}
            type: Quantity
            short: The amount of items or instances
            choiceOf: value
            index: 84
      identifier:
        url: null
        short: The identifier for the physical instance, typically a serial number
        isModifier: false
        array: true
        index: 85
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: The identifier for the physical instance, typically a serial number
            choices: [valueIdentifier]
            index: 87
          valueIdentifier:
            base: {path: 'Extension.value[x]'}
            type: Identifier
            short: The identifier for the physical instance, typically a serial number
            choiceOf: value
            index: 88
      lotNumber:
        url: null
        short: The identification of the batch or lot of the product
        isModifier: false
        index: 89
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: The identification of the batch or lot of the product
            choices: [valueString]
            index: 91
          valueString:
            base: {path: 'Extension.value[x]'}
            type: string
            short: The identification of the batch or lot of the product
            choiceOf: value
            index: 92
      expiry:
        url: null
        short: The expiry date or date and time for the product
        isModifier: false
        index: 93
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: The expiry date or date and time for the product
            choices: [valueDateTime]
            index: 95
          valueDateTime:
            base: {path: 'Extension.value[x]'}
            type: dateTime
            short: The expiry date or date and time for the product
            choiceOf: value
            index: 96
      useBy:
        url: null
        short: The date until which the product is expected to be good for consumption
        isModifier: false
        index: 97
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: The date until which the product is expected to be good for consumption
            choices: [valueDateTime]
            index: 99
          valueDateTime:
            base: {path: 'Extension.value[x]'}
            type: dateTime
            short: The date until which the product is expected to be good for consumption
            choiceOf: value
            index: 100
    elements:
      extension:
        array: true
        index: 80
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            quantity:
              match: {url: null}
              schema:
                short: The amount of items or instances
                isModifier: false
                index: 81
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The amount of items or instances
                    choices: [valueQuantity]
                    index: 83
                  valueQuantity:
                    base: {path: 'Extension.value[x]'}
                    type: Quantity
                    short: The amount of items or instances
                    choiceOf: value
                    index: 84
            identifier:
              match: {url: null}
              schema:
                short: The identifier for the physical instance, typically a serial number
                isModifier: false
                array: true
                index: 85
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The identifier for the physical instance, typically a serial number
                    choices: [valueIdentifier]
                    index: 87
                  valueIdentifier:
                    base: {path: 'Extension.value[x]'}
                    type: Identifier
                    short: The identifier for the physical instance, typically a serial number
                    choiceOf: value
                    index: 88
            lotNumber:
              match: {url: null}
              schema:
                short: The identification of the batch or lot of the product
                isModifier: false
                index: 89
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The identification of the batch or lot of the product
                    choices: [valueString]
                    index: 91
                  valueString:
                    base: {path: 'Extension.value[x]'}
                    type: string
                    short: The identification of the batch or lot of the product
                    choiceOf: value
                    index: 92
            expiry:
              match: {url: null}
              schema:
                short: The expiry date or date and time for the product
                isModifier: false
                index: 93
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The expiry date or date and time for the product
                    choices: [valueDateTime]
                    index: 95
                  valueDateTime:
                    base: {path: 'Extension.value[x]'}
                    type: dateTime
                    short: The expiry date or date and time for the product
                    choiceOf: value
                    index: 96
            useBy:
              match: {url: null}
              schema:
                short: The date until which the product is expected to be good for consumption
                isModifier: false
                index: 97
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The date until which the product is expected to be good for consumption
                    choices: [valueDateTime]
                    index: 99
                  valueDateTime:
                    base: {path: 'Extension.value[x]'}
                    type: dateTime
                    short: The date until which the product is expected to be good for consumption
                    choiceOf: value
                    index: 100
  nutrient:
    url: null
    short: The product's nutritional information expressed by the nutrients
    isModifier: false
    array: true
    index: 13
    extensions:
      item:
        url: null
        short: The (relevant) nutrients in the product
        isModifier: false
        index: 15
        extensions:
          _datatype:
            url: http://hl7.org/fhir/StructureDefinition/_datatype
            type: Extension
            short: Data type name for NutritionProduct.nutrient.item from FHIR R4B
            index: 16
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                pattern: {type: string, value: CodeableReference}
                choices: [valueString]
                type: string
                index: 18
              valueString:
                type: string
                pattern: {type: string, value: CodeableReference}
                base: {path: 'Extension.value[x]'}
                choiceOf: value
                index: 19
            required: [value, valueString]
          concept:
            url: null
            short: Reference to a concept (by class)
            isModifier: false
            index: 20
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Reference to a concept (by class)
                choices: [valueCodeableConcept]
                index: 22
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: Reference to a concept (by class)
                choiceOf: value
                index: 23
          reference:
            url: null
            short: Reference to a resource (by instance)
            isModifier: false
            index: 24
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Reference to a resource (by instance)
                choices: [valueReference]
                index: 26
              valueReference:
                base: {path: 'Extension.value[x]'}
                type: Reference
                short: Reference to a resource (by instance)
                choiceOf: value
                index: 27
        elements:
          extension:
            type: Extension
            short: Data type name for NutritionProduct.nutrient.item from FHIR R4B
            url: http://hl7.org/fhir/StructureDefinition/_datatype
            index: 16
            slicing:
              slices:
                _datatype:
                  match: {}
                  schema:
                    type: Extension
                    short: Data type name for NutritionProduct.nutrient.item from FHIR R4B
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    index: 16
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        pattern: {type: string, value: CodeableReference}
                        choices: [valueString]
                        type: string
                        index: 18
                      valueString:
                        type: string
                        pattern: {type: string, value: CodeableReference}
                        base: {path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 19
                    required: [value, valueString]
                concept:
                  match: {}
                  schema:
                    short: Reference to a concept (by class)
                    isModifier: false
                    index: 20
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Reference to a concept (by class)
                        choices: [valueCodeableConcept]
                        index: 22
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: Reference to a concept (by class)
                        choiceOf: value
                        index: 23
                reference:
                  match: {}
                  schema:
                    short: Reference to a resource (by instance)
                    isModifier: false
                    index: 24
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Reference to a resource (by instance)
                        choices: [valueReference]
                        index: 26
                      valueReference:
                        base: {path: 'Extension.value[x]'}
                        type: Reference
                        short: Reference to a resource (by instance)
                        choiceOf: value
                        index: 27
      amount:
        url: null
        short: 'The amount of nutrient expressed in one or more units: X per pack / per serving / per dose'
        isModifier: false
        array: true
        index: 28
        elements:
          value:
            base: {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: 30
          valueRatio:
            base: {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: 31
    elements:
      extension:
        array: true
        index: 14
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            item:
              match: {url: null}
              schema:
                short: The (relevant) nutrients in the product
                isModifier: false
                index: 15
                extensions:
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    type: Extension
                    short: Data type name for NutritionProduct.nutrient.item from FHIR R4B
                    index: 16
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        pattern: {type: string, value: CodeableReference}
                        choices: [valueString]
                        type: string
                        index: 18
                      valueString:
                        type: string
                        pattern: {type: string, value: CodeableReference}
                        base: {path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 19
                    required: [value, valueString]
                  concept:
                    url: null
                    short: Reference to a concept (by class)
                    isModifier: false
                    index: 20
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Reference to a concept (by class)
                        choices: [valueCodeableConcept]
                        index: 22
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: Reference to a concept (by class)
                        choiceOf: value
                        index: 23
                  reference:
                    url: null
                    short: Reference to a resource (by instance)
                    isModifier: false
                    index: 24
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Reference to a resource (by instance)
                        choices: [valueReference]
                        index: 26
                      valueReference:
                        base: {path: 'Extension.value[x]'}
                        type: Reference
                        short: Reference to a resource (by instance)
                        choiceOf: value
                        index: 27
                elements:
                  extension:
                    type: Extension
                    short: Data type name for NutritionProduct.nutrient.item from FHIR R4B
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    index: 16
                    slicing:
                      slices:
                        _datatype:
                          match: {}
                          schema:
                            type: Extension
                            short: Data type name for NutritionProduct.nutrient.item from FHIR R4B
                            url: http://hl7.org/fhir/StructureDefinition/_datatype
                            index: 16
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                pattern: {type: string, value: CodeableReference}
                                choices: [valueString]
                                type: string
                                index: 18
                              valueString:
                                type: string
                                pattern: {type: string, value: CodeableReference}
                                base: {path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 19
                            required: [value, valueString]
                        concept:
                          match: {}
                          schema:
                            short: Reference to a concept (by class)
                            isModifier: false
                            index: 20
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Reference to a concept (by class)
                                choices: [valueCodeableConcept]
                                index: 22
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: Reference to a concept (by class)
                                choiceOf: value
                                index: 23
                        reference:
                          match: {}
                          schema:
                            short: Reference to a resource (by instance)
                            isModifier: false
                            index: 24
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Reference to a resource (by instance)
                                choices: [valueReference]
                                index: 26
                              valueReference:
                                base: {path: 'Extension.value[x]'}
                                type: Reference
                                short: Reference to a resource (by instance)
                                choiceOf: value
                                index: 27
            amount:
              match: {url: null}
              schema:
                short: 'The amount of nutrient expressed in one or more units: X per pack / per serving / per dose'
                isModifier: false
                array: true
                index: 28
                elements:
                  value:
                    base: {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: 30
                  valueRatio:
                    base: {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: 31
  note:
    url: null
    short: Comments made about the product
    isModifier: false
    array: true
    index: 101
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Comments made about the product
        choices: [valueAnnotation]
        index: 103
      valueAnnotation:
        base: {path: 'Extension.value[x]'}
        type: Annotation
        short: Comments made about the product
        choiceOf: value
        index: 104
  productCharacteristic:
    url: null
    short: Specifies descriptive properties of the nutrition product
    isModifier: false
    array: true
    index: 64
    extensions:
      type:
        url: null
        short: Code specifying the type of characteristic
        isModifier: false
        _required: true
        index: 66
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Code specifying the type of characteristic
            choices: [valueCodeableConcept]
            index: 68
          valueCodeableConcept:
            base: {path: 'Extension.value[x]'}
            type: CodeableConcept
            short: Code specifying the type of characteristic
            choiceOf: value
            index: 69
      value[x]:
        url: null
        short: The value of the characteristic
        isModifier: false
        _required: true
        index: 70
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: The value of the characteristic
            choices: [valueCodeableConcept, valueString, valueQuantity, valueBase64Binary, valueAttachment, valueBoolean]
            index: 72
          valueCodeableConcept:
            base: {path: 'Extension.value[x]'}
            type: CodeableConcept
            short: The value of the characteristic
            choiceOf: value
            index: 73
          valueString:
            base: {path: 'Extension.value[x]'}
            type: string
            short: The value of the characteristic
            choiceOf: value
            index: 74
          valueQuantity:
            base: {path: 'Extension.value[x]'}
            type: Quantity
            short: The value of the characteristic
            choiceOf: value
            index: 75
          valueBase64Binary:
            base: {path: 'Extension.value[x]'}
            type: base64Binary
            short: The value of the characteristic
            choiceOf: value
            index: 76
          valueAttachment:
            base: {path: 'Extension.value[x]'}
            type: Attachment
            short: The value of the characteristic
            choiceOf: value
            index: 77
          valueBoolean:
            base: {path: 'Extension.value[x]'}
            type: boolean
            short: The value of the characteristic
            choiceOf: value
            index: 78
    elements:
      extension:
        array: true
        min: 2
        index: 65
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 2
          slices:
            type:
              match: {url: null}
              schema:
                short: Code specifying the type of characteristic
                isModifier: false
                _required: true
                index: 66
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Code specifying the type of characteristic
                    choices: [valueCodeableConcept]
                    index: 68
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Code specifying the type of characteristic
                    choiceOf: value
                    index: 69
            value[x]:
              match: {url: null}
              schema:
                short: The value of the characteristic
                isModifier: false
                _required: true
                index: 70
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The value of the characteristic
                    choices: [valueCodeableConcept, valueString, valueQuantity, valueBase64Binary, valueAttachment, valueBoolean]
                    index: 72
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: The value of the characteristic
                    choiceOf: value
                    index: 73
                  valueString:
                    base: {path: 'Extension.value[x]'}
                    type: string
                    short: The value of the characteristic
                    choiceOf: value
                    index: 74
                  valueQuantity:
                    base: {path: 'Extension.value[x]'}
                    type: Quantity
                    short: The value of the characteristic
                    choiceOf: value
                    index: 75
                  valueBase64Binary:
                    base: {path: 'Extension.value[x]'}
                    type: base64Binary
                    short: The value of the characteristic
                    choiceOf: value
                    index: 76
                  valueAttachment:
                    base: {path: 'Extension.value[x]'}
                    type: Attachment
                    short: The value of the characteristic
                    choiceOf: value
                    index: 77
                  valueBoolean:
                    base: {path: 'Extension.value[x]'}
                    type: boolean
                    short: The value of the characteristic
                    choiceOf: value
                    index: 78
  ingredient:
    url: null
    short: Ingredients contained in this product
    isModifier: false
    array: true
    index: 32
    extensions:
      item:
        url: null
        short: The ingredient contained in the product
        isModifier: false
        _required: true
        index: 34
        extensions:
          _datatype:
            url: http://hl7.org/fhir/StructureDefinition/_datatype
            type: Extension
            short: Data type name for NutritionProduct.ingredient.item from FHIR R4B
            index: 35
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                pattern: {type: string, value: CodeableReference}
                choices: [valueString]
                type: string
                index: 37
              valueString:
                type: string
                pattern: {type: string, value: CodeableReference}
                base: {path: 'Extension.value[x]'}
                choiceOf: value
                index: 38
            required: [value, valueString]
          concept:
            url: null
            short: Reference to a concept (by class)
            isModifier: false
            index: 39
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Reference to a concept (by class)
                choices: [valueCodeableConcept]
                index: 41
              valueCodeableConcept:
                base: {path: 'Extension.value[x]'}
                type: CodeableConcept
                short: Reference to a concept (by class)
                choiceOf: value
                index: 42
          reference:
            url: null
            short: Reference to a resource (by instance)
            isModifier: false
            index: 43
            elements:
              value:
                base: {path: 'Extension.value[x]'}
                short: Reference to a resource (by instance)
                choices: [valueReference]
                index: 45
              valueReference:
                base: {path: 'Extension.value[x]'}
                type: Reference
                short: Reference to a resource (by instance)
                choiceOf: value
                index: 46
        elements:
          extension:
            type: Extension
            short: Data type name for NutritionProduct.ingredient.item from FHIR R4B
            url: http://hl7.org/fhir/StructureDefinition/_datatype
            index: 35
            slicing:
              slices:
                _datatype:
                  match: {}
                  schema:
                    type: Extension
                    short: Data type name for NutritionProduct.ingredient.item from FHIR R4B
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    index: 35
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        pattern: {type: string, value: CodeableReference}
                        choices: [valueString]
                        type: string
                        index: 37
                      valueString:
                        type: string
                        pattern: {type: string, value: CodeableReference}
                        base: {path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 38
                    required: [value, valueString]
                concept:
                  match: {}
                  schema:
                    short: Reference to a concept (by class)
                    isModifier: false
                    index: 39
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Reference to a concept (by class)
                        choices: [valueCodeableConcept]
                        index: 41
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: Reference to a concept (by class)
                        choiceOf: value
                        index: 42
                reference:
                  match: {}
                  schema:
                    short: Reference to a resource (by instance)
                    isModifier: false
                    index: 43
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Reference to a resource (by instance)
                        choices: [valueReference]
                        index: 45
                      valueReference:
                        base: {path: 'Extension.value[x]'}
                        type: Reference
                        short: Reference to a resource (by instance)
                        choiceOf: value
                        index: 46
      amount:
        url: null
        short: The amount of ingredient that is in the product
        isModifier: false
        array: true
        index: 47
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: The amount of ingredient that is in the product
            choices: [valueRatio]
            index: 49
          valueRatio:
            base: {path: 'Extension.value[x]'}
            type: Ratio
            short: The amount of ingredient that is in the product
            choiceOf: value
            index: 50
    elements:
      extension:
        array: true
        min: 1
        index: 33
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            item:
              match: {url: null}
              schema:
                short: The ingredient contained in the product
                isModifier: false
                _required: true
                index: 34
                extensions:
                  _datatype:
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    type: Extension
                    short: Data type name for NutritionProduct.ingredient.item from FHIR R4B
                    index: 35
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        pattern: {type: string, value: CodeableReference}
                        choices: [valueString]
                        type: string
                        index: 37
                      valueString:
                        type: string
                        pattern: {type: string, value: CodeableReference}
                        base: {path: 'Extension.value[x]'}
                        choiceOf: value
                        index: 38
                    required: [value, valueString]
                  concept:
                    url: null
                    short: Reference to a concept (by class)
                    isModifier: false
                    index: 39
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Reference to a concept (by class)
                        choices: [valueCodeableConcept]
                        index: 41
                      valueCodeableConcept:
                        base: {path: 'Extension.value[x]'}
                        type: CodeableConcept
                        short: Reference to a concept (by class)
                        choiceOf: value
                        index: 42
                  reference:
                    url: null
                    short: Reference to a resource (by instance)
                    isModifier: false
                    index: 43
                    elements:
                      value:
                        base: {path: 'Extension.value[x]'}
                        short: Reference to a resource (by instance)
                        choices: [valueReference]
                        index: 45
                      valueReference:
                        base: {path: 'Extension.value[x]'}
                        type: Reference
                        short: Reference to a resource (by instance)
                        choiceOf: value
                        index: 46
                elements:
                  extension:
                    type: Extension
                    short: Data type name for NutritionProduct.ingredient.item from FHIR R4B
                    url: http://hl7.org/fhir/StructureDefinition/_datatype
                    index: 35
                    slicing:
                      slices:
                        _datatype:
                          match: {}
                          schema:
                            type: Extension
                            short: Data type name for NutritionProduct.ingredient.item from FHIR R4B
                            url: http://hl7.org/fhir/StructureDefinition/_datatype
                            index: 35
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                pattern: {type: string, value: CodeableReference}
                                choices: [valueString]
                                type: string
                                index: 37
                              valueString:
                                type: string
                                pattern: {type: string, value: CodeableReference}
                                base: {path: 'Extension.value[x]'}
                                choiceOf: value
                                index: 38
                            required: [value, valueString]
                        concept:
                          match: {}
                          schema:
                            short: Reference to a concept (by class)
                            isModifier: false
                            index: 39
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Reference to a concept (by class)
                                choices: [valueCodeableConcept]
                                index: 41
                              valueCodeableConcept:
                                base: {path: 'Extension.value[x]'}
                                type: CodeableConcept
                                short: Reference to a concept (by class)
                                choiceOf: value
                                index: 42
                        reference:
                          match: {}
                          schema:
                            short: Reference to a resource (by instance)
                            isModifier: false
                            index: 43
                            elements:
                              value:
                                base: {path: 'Extension.value[x]'}
                                short: Reference to a resource (by instance)
                                choices: [valueReference]
                                index: 45
                              valueReference:
                                base: {path: 'Extension.value[x]'}
                                type: Reference
                                short: Reference to a resource (by instance)
                                choiceOf: value
                                index: 46
            amount:
              match: {url: null}
              schema:
                short: The amount of ingredient that is in the product
                isModifier: false
                array: true
                index: 47
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: The amount of ingredient that is in the product
                    choices: [valueRatio]
                    index: 49
                  valueRatio:
                    base: {path: 'Extension.value[x]'}
                    type: Ratio
                    short: The amount of ingredient that is in the product
                    choiceOf: value
                    index: 50
    required: [extension]
  status:
    url: null
    isModifier: true
    short: active | inactive | entered-in-error
    _required: true
    isModifierReason: This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
    index: 1
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: active | inactive | entered-in-error
        choices: [valueCode]
        index: 3
      valueCode:
        base: {path: 'Extension.value[x]'}
        type: code
        short: active | inactive | entered-in-error
        choiceOf: value
        index: 4
  knownAllergen:
    url: null
    short: Known or suspected allergens that are a part of this product
    isModifier: false
    array: true
    index: 51
    extensions:
      _datatype:
        url: http://hl7.org/fhir/StructureDefinition/_datatype
        type: Extension
        short: Data type name for NutritionProduct.knownAllergen from FHIR R4B
        index: 52
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            pattern: {type: string, value: CodeableReference}
            choices: [valueString]
            type: string
            index: 54
          valueString:
            type: string
            pattern: {type: string, value: CodeableReference}
            base: {path: 'Extension.value[x]'}
            choiceOf: value
            index: 55
        required: [value, valueString]
      concept:
        url: null
        short: Reference to a concept (by class)
        isModifier: false
        index: 56
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Reference to a concept (by class)
            choices: [valueCodeableConcept]
            index: 58
          valueCodeableConcept:
            base: {path: 'Extension.value[x]'}
            type: CodeableConcept
            short: Reference to a concept (by class)
            choiceOf: value
            index: 59
      reference:
        url: null
        short: Reference to a resource (by instance)
        isModifier: false
        index: 60
        elements:
          value:
            base: {path: 'Extension.value[x]'}
            short: Reference to a resource (by instance)
            choices: [valueReference]
            index: 62
          valueReference:
            base: {path: 'Extension.value[x]'}
            type: Reference
            short: Reference to a resource (by instance)
            choiceOf: value
            index: 63
    elements:
      extension:
        type: Extension
        short: Data type name for NutritionProduct.knownAllergen from FHIR R4B
        url: http://hl7.org/fhir/StructureDefinition/_datatype
        index: 52
        slicing:
          slices:
            _datatype:
              match: {}
              schema:
                type: Extension
                short: Data type name for NutritionProduct.knownAllergen from FHIR R4B
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                index: 52
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    pattern: {type: string, value: CodeableReference}
                    choices: [valueString]
                    type: string
                    index: 54
                  valueString:
                    type: string
                    pattern: {type: string, value: CodeableReference}
                    base: {path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 55
                required: [value, valueString]
            concept:
              match: {}
              schema:
                short: Reference to a concept (by class)
                isModifier: false
                index: 56
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Reference to a concept (by class)
                    choices: [valueCodeableConcept]
                    index: 58
                  valueCodeableConcept:
                    base: {path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Reference to a concept (by class)
                    choiceOf: value
                    index: 59
            reference:
              match: {}
              schema:
                short: Reference to a resource (by instance)
                isModifier: false
                index: 60
                elements:
                  value:
                    base: {path: 'Extension.value[x]'}
                    short: Reference to a resource (by instance)
                    choices: [valueReference]
                    index: 62
                  valueReference:
                    base: {path: 'Extension.value[x]'}
                    type: Reference
                    short: Reference to a resource (by instance)
                    choiceOf: value
                    index: 63
  manufacturer:
    url: null
    short: Manufacturer, representative or officially responsible for the product
    isModifier: false
    array: true
    index: 9
    elements:
      value:
        base: {path: 'Extension.value[x]'}
        short: Manufacturer, representative or officially responsible for the product
        choices: [valueReference]
        index: 11
      valueReference:
        base: {path: 'Extension.value[x]'}
        type: Reference
        short: Manufacturer, representative or officially responsible for the product
        choiceOf: value
        refers: ['http://hl7.org/fhir/StructureDefinition/Organization']
        index: 12
class: extension
kind: complex-type
url: http://hl7.org/fhir/4.3/StructureDefinition/extension-NutritionProduct
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.0.1-snapshot-1
required: [extension, url]