身體活動與飲食實作指引
0.1.0 - ci-build

身體活動與飲食實作指引, published by 衛生福利部國民健康署. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hpapa2025/pad/ and changes regularly. See the Directory of published versions

Extension: NutritionProductNutrient

Official URL: https://fhir.hpa.gov.tw/pad/StructureDefinition/extension-nutritionproduct-nutrient Version: 0.1.0
Active as of 2025-10-30 Computable Name: NutritionProductNutrient

六大類食物攝取份數與營養素含量(NutritionProduct.nutrient)

Context of Use

    This extension may be used on the following element(s)

Usage info

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:grains 0..1 Extension 全穀雜糧類
..... extension 0..0 Extension
..... url 1..1 uri "grains"
..... value[x] 1..1 integer 攝取份數
.... extension:proteinFoods 0..1 Extension 豆魚肉蛋類
..... extension 0..0 Extension
..... url 1..1 uri "proteinFoods"
..... value[x] 1..1 integer 攝取份數
.... extension:dairy 0..1 Extension 乳品類
..... extension 0..0 Extension
..... url 1..1 uri "dairy"
..... value[x] 1..1 integer 攝取份數
.... extension:vegetable 0..1 Extension 蔬菜類
..... extension 0..0 Extension
..... url 1..1 uri "vegetable"
..... value[x] 1..1 integer 攝取份數
.... extension:fruits 0..1 Extension 水果類
..... extension 0..0 Extension
..... url 1..1 uri "fruits"
..... value[x] 1..1 integer 攝取份數
.... extension:oilsAndNuts 0..1 Extension 堅果種子類
..... extension 0..0 Extension
..... url 1..1 uri "oilsAndNuts"
..... value[x] 1..1 integer 攝取份數
.... extension:protein 0..1 Extension 蛋白質
..... extension 0..0 Extension
..... url 1..1 uri "protein"
..... value[x] 1..1 Quantity 攝取量
...... value 1..1 decimal Numerical value (with implicit precision)
...... unit 1..1 string Unit representation
Required Pattern: g
...... system 1..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
...... code 1..1 code Coded form of the unit
Required Pattern: g
.... extension:fats 0..1 Extension 脂肪
..... extension 0..0 Extension
..... url 1..1 uri "fats"
..... value[x] 1..1 Quantity 攝取量
...... value 1..1 decimal Numerical value (with implicit precision)
...... unit 1..1 string Unit representation
Required Pattern: g
...... system 1..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
...... code 1..1 code Coded form of the unit
Required Pattern: g
.... extension:carbohydrate 0..1 Extension 碳水化合物
..... extension 0..0 Extension
..... url 1..1 uri "carbohydrate"
..... value[x] 1..1 Quantity 攝取量
...... value 1..1 decimal Numerical value (with implicit precision)
...... unit 1..1 string Unit representation
Required Pattern: g
...... system 1..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
...... code 1..1 code Coded form of the unit
Required Pattern: g
... url 1..1 uri "https://fhir.hpa.gov.tw/pad/StructureDefinition/extension-nutritionproduct-nutrient"
... value[x] 0..0 Value of extension

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Extension
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:grains 0..1 Extension 全穀雜糧類
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "grains"
..... value[x] 1..1 integer 攝取份數
.... extension:proteinFoods 0..1 Extension 豆魚肉蛋類
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "proteinFoods"
..... value[x] 1..1 integer 攝取份數
.... extension:dairy 0..1 Extension 乳品類
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "dairy"
..... value[x] 1..1 integer 攝取份數
.... extension:vegetable 0..1 Extension 蔬菜類
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "vegetable"
..... value[x] 1..1 integer 攝取份數
.... extension:fruits 0..1 Extension 水果類
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "fruits"
..... value[x] 1..1 integer 攝取份數
.... extension:oilsAndNuts 0..1 Extension 堅果種子類
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "oilsAndNuts"
..... value[x] 1..1 integer 攝取份數
.... extension:protein 0..1 Extension 蛋白質
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "protein"
..... value[x] 1..1 Quantity 攝取量
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... value Σ 1..1 decimal Numerical value (with implicit precision)
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
...... unit Σ 1..1 string Unit representation
Required Pattern: g
...... system ΣC 1..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
...... code Σ 1..1 code Coded form of the unit
Required Pattern: g
.... extension:fats 0..1 Extension 脂肪
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "fats"
..... value[x] 1..1 Quantity 攝取量
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... value Σ 1..1 decimal Numerical value (with implicit precision)
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
...... unit Σ 1..1 string Unit representation
Required Pattern: g
...... system ΣC 1..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
...... code Σ 1..1 code Coded form of the unit
Required Pattern: g
.... extension:carbohydrate 0..1 Extension 碳水化合物
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "carbohydrate"
..... value[x] 1..1 Quantity 攝取量
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... value Σ 1..1 decimal Numerical value (with implicit precision)
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
...... unit Σ 1..1 string Unit representation
Required Pattern: g
...... system ΣC 1..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
...... code Σ 1..1 code Coded form of the unit
Required Pattern: g
... url 1..1 uri "https://fhir.hpa.gov.tw/pad/StructureDefinition/extension-nutritionproduct-nutrient"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: 六大類食物攝取份數與營養素含量(NutritionProduct.nutrient)

  • grains: integer: An Extension
  • proteinFoods: integer: An Extension
  • dairy: integer: An Extension
  • vegetable: integer: An Extension
  • fruits: integer: An Extension
  • oilsAndNuts: integer: An Extension
  • protein: Quantity: An Extension
  • fats: Quantity: An Extension
  • carbohydrate: Quantity: An Extension

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:grains 0..1 Extension 全穀雜糧類
..... extension 0..0 Extension
..... url 1..1 uri "grains"
..... value[x] 1..1 integer 攝取份數
.... extension:proteinFoods 0..1 Extension 豆魚肉蛋類
..... extension 0..0 Extension
..... url 1..1 uri "proteinFoods"
..... value[x] 1..1 integer 攝取份數
.... extension:dairy 0..1 Extension 乳品類
..... extension 0..0 Extension
..... url 1..1 uri "dairy"
..... value[x] 1..1 integer 攝取份數
.... extension:vegetable 0..1 Extension 蔬菜類
..... extension 0..0 Extension
..... url 1..1 uri "vegetable"
..... value[x] 1..1 integer 攝取份數
.... extension:fruits 0..1 Extension 水果類
..... extension 0..0 Extension
..... url 1..1 uri "fruits"
..... value[x] 1..1 integer 攝取份數
.... extension:oilsAndNuts 0..1 Extension 堅果種子類
..... extension 0..0 Extension
..... url 1..1 uri "oilsAndNuts"
..... value[x] 1..1 integer 攝取份數
.... extension:protein 0..1 Extension 蛋白質
..... extension 0..0 Extension
..... url 1..1 uri "protein"
..... value[x] 1..1 Quantity 攝取量
...... value 1..1 decimal Numerical value (with implicit precision)
...... unit 1..1 string Unit representation
Required Pattern: g
...... system 1..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
...... code 1..1 code Coded form of the unit
Required Pattern: g
.... extension:fats 0..1 Extension 脂肪
..... extension 0..0 Extension
..... url 1..1 uri "fats"
..... value[x] 1..1 Quantity 攝取量
...... value 1..1 decimal Numerical value (with implicit precision)
...... unit 1..1 string Unit representation
Required Pattern: g
...... system 1..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
...... code 1..1 code Coded form of the unit
Required Pattern: g
.... extension:carbohydrate 0..1 Extension 碳水化合物
..... extension 0..0 Extension
..... url 1..1 uri "carbohydrate"
..... value[x] 1..1 Quantity 攝取量
...... value 1..1 decimal Numerical value (with implicit precision)
...... unit 1..1 string Unit representation
Required Pattern: g
...... system 1..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
...... code 1..1 code Coded form of the unit
Required Pattern: g
... url 1..1 uri "https://fhir.hpa.gov.tw/pad/StructureDefinition/extension-nutritionproduct-nutrient"
... value[x] 0..0 Value of extension

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Extension
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:grains 0..1 Extension 全穀雜糧類
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "grains"
..... value[x] 1..1 integer 攝取份數
.... extension:proteinFoods 0..1 Extension 豆魚肉蛋類
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "proteinFoods"
..... value[x] 1..1 integer 攝取份數
.... extension:dairy 0..1 Extension 乳品類
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "dairy"
..... value[x] 1..1 integer 攝取份數
.... extension:vegetable 0..1 Extension 蔬菜類
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "vegetable"
..... value[x] 1..1 integer 攝取份數
.... extension:fruits 0..1 Extension 水果類
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "fruits"
..... value[x] 1..1 integer 攝取份數
.... extension:oilsAndNuts 0..1 Extension 堅果種子類
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "oilsAndNuts"
..... value[x] 1..1 integer 攝取份數
.... extension:protein 0..1 Extension 蛋白質
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "protein"
..... value[x] 1..1 Quantity 攝取量
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... value Σ 1..1 decimal Numerical value (with implicit precision)
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
...... unit Σ 1..1 string Unit representation
Required Pattern: g
...... system ΣC 1..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
...... code Σ 1..1 code Coded form of the unit
Required Pattern: g
.... extension:fats 0..1 Extension 脂肪
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "fats"
..... value[x] 1..1 Quantity 攝取量
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... value Σ 1..1 decimal Numerical value (with implicit precision)
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
...... unit Σ 1..1 string Unit representation
Required Pattern: g
...... system ΣC 1..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
...... code Σ 1..1 code Coded form of the unit
Required Pattern: g
.... extension:carbohydrate 0..1 Extension 碳水化合物
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "carbohydrate"
..... value[x] 1..1 Quantity 攝取量
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... value Σ 1..1 decimal Numerical value (with implicit precision)
...... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
...... unit Σ 1..1 string Unit representation
Required Pattern: g
...... system ΣC 1..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
...... code Σ 1..1 code Coded form of the unit
Required Pattern: g
... url 1..1 uri "https://fhir.hpa.gov.tw/pad/StructureDefinition/extension-nutritionproduct-nutrient"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: 六大類食物攝取份數與營養素含量(NutritionProduct.nutrient)

  • grains: integer: An Extension
  • proteinFoods: integer: An Extension
  • dairy: integer: An Extension
  • vegetable: integer: An Extension
  • fruits: integer: An Extension
  • oilsAndNuts: integer: An Extension
  • protein: Quantity: An Extension
  • fats: Quantity: An Extension
  • carbohydrate: Quantity: An Extension

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

Path Status Usage ValueSet Version Source
Extension.extension:protein.​value[x].comparator Base required QuantityComparator 📍4.0.1 FHIR Std.
Extension.extension:fats.​value[x].comparator Base required QuantityComparator 📍4.0.1 FHIR Std.
Extension.extension:carbohydrate.​value[x].comparator Base required QuantityComparator 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()