DietaryIntake DietaryIntake DietaryIntake Class

Definition

The amount of dietary nutrients and minerals consumed.

public class DietaryIntake : Microsoft.Health.HealthRecordItem
type DietaryIntake = class
    inherit HealthRecordItem
Public Class DietaryIntake
Inherits HealthRecordItem
Inheritance

Constructors

DietaryIntake() DietaryIntake() DietaryIntake()

Creates a new instance of the DietaryIntake class with default values.

DietaryIntake(CodableValue) DietaryIntake(CodableValue) DietaryIntake(CodableValue)

Creates a new instance of the DietaryIntake class specifying mandatory values.

Fields

TypeId TypeId TypeId

Retrieves the unique identifier for the item type.

Properties

AdditionalNutritionFacts AdditionalNutritionFacts AdditionalNutritionFacts

Gets the additional nutritional fact data.

Calcium Calcium Calcium

Gets or sets the amount of calcium consumed.

Carbohydrates Carbohydrates Carbohydrates

Gets or sets the amount of carbohydrates consumed.

Cholesterol Cholesterol Cholesterol

Gets or sets the amount of cholesterol consumed.

CommonData CommonData CommonData

Gets the common data for the HealthRecordItem.

(Inherited from HealthRecordItem)
Created Created Created

Gets the audit information associated with the creation of this health record item.

(Inherited from HealthRecordItem)
DietaryFiber DietaryFiber DietaryFiber

Gets or sets the amount of dietary fiber consumed.

EffectiveDate EffectiveDate EffectiveDate

Gets or sets the date and time that the health record item data was taken.

(Inherited from HealthRecordItem)
EffectivePermissions EffectivePermissions EffectivePermissions

Gets the effective permissions on the item granted to the person retrieving the HealthRecordItem.

(Inherited from HealthRecordItem)
Energy Energy Energy

Gets or sets the amount of food energy consumed.

EnergyFromFat EnergyFromFat EnergyFromFat

Gets or sets the amount of food energy consumed that came from fat.

Flags Flags Flags

Gets the HealthRecordItem flags.

(Inherited from HealthRecordItem)
FolateDFE FolateDFE FolateDFE

Gets or sets this value is the dietary folate equivalent (DFE) of Folate consumed.

FoodItem FoodItem FoodItem

Gets or sets the food item that was eaten.

HealthRecordItemSignatures HealthRecordItemSignatures HealthRecordItemSignatures

Gets the signatures for the HealthRecordItem.

(Inherited from HealthRecordItem)
Iron Iron Iron

Gets or sets the amount of iron consumed.

IsDownVersioned IsDownVersioned IsDownVersioned

Gets the value indicating if the HealthRecordItem is down-versioned.

(Inherited from HealthRecordItem)
IsImmutable IsImmutable IsImmutable

Gets a value indicating whether the HealthRecordItem is immutable.

(Inherited from HealthRecordItem)
IsPersonal IsPersonal IsPersonal

Gets or sets the value indicating if the HealthRecordItem is private.

(Inherited from HealthRecordItem)
IsReadOnly IsReadOnly IsReadOnly

Gets a value indicating whether HealthRecordItem is read-only.

(Inherited from HealthRecordItem)
IsUpVersioned IsUpVersioned IsUpVersioned

Gets the value indicating if the HealthRecordItem is up-versioned.

(Inherited from HealthRecordItem)
Key Key Key

Gets the key of the health record item.

(Inherited from HealthRecordItem)
LastUpdated LastUpdated LastUpdated

Gets the audit information associated with the last update of this health record item.

(Inherited from HealthRecordItem)
Magnesium Magnesium Magnesium

Gets or sets the amount of magnesium consumed.

Meal Meal Meal

Gets or sets a textual description of a meal.

MonounsaturatedFat MonounsaturatedFat MonounsaturatedFat

Gets or sets the amount of mono unsaturated fat consumed.

Niacin Niacin Niacin

Gets or sets the amount of niacin consumed.

Phosphorus Phosphorus Phosphorus

Gets or sets the amount of phosphorus consumed.

PolyunsaturatedFat PolyunsaturatedFat PolyunsaturatedFat

Gets or sets the amount of poly unsaturated fat consumed.

Potassium Potassium Potassium

Gets or sets the amount of potassium consumed.

Protein Protein Protein

Gets or sets the amount of protein consumed.

Riboflavin Riboflavin Riboflavin

Gets or sets the amount of riboflavin consumed.

SaturatedFat SaturatedFat SaturatedFat

Gets or sets the amount of saturated fat consumed.

Sections Sections Sections

Gets the data sections that this HealthRecordItem represents.

(Inherited from HealthRecordItem)
ServingSize ServingSize ServingSize

Gets or sets the serving size.

ServingsConsumed ServingsConsumed ServingsConsumed

Gets or sets the number of servings consumed.

Sodium Sodium Sodium

Gets or sets the amount of sodium consumed.

State State State

Gets the state of the HealthRecordItem.

(Inherited from HealthRecordItem)
Sugars Sugars Sugars

Gets or sets the total amount of sugars consumed.

Tags Tags Tags

Gets the list of tags on the HealthRecordItem.

(Inherited from HealthRecordItem)
Thiamin Thiamin Thiamin

Gets or sets the amount of thiamin consumed.

TotalFat TotalFat TotalFat

Gets or sets the total amount of fat consumed.

TransFat TransFat TransFat

Gets or sets the amount of trans fat consumed.

TransformedXmlData TransformedXmlData TransformedXmlData

Gets the transformed XML data of the HealthRecordItem.

(Inherited from HealthRecordItem)
TypeName TypeName TypeName

Gets the health record item type name.

(Inherited from HealthRecordItem)
TypeSpecificData TypeSpecificData TypeSpecificData

Gets or sets the XML representation of the type-specific data for the HealthRecordItem.

(Inherited from HealthRecordItem)
UpdatedEndDate UpdatedEndDate UpdatedEndDate

Gets or sets the date when HealthRecordItem is not relevant.

(Inherited from HealthRecordItem)
VitaminARAE VitaminARAE VitaminARAE

Gets or sets this value is the retinol activity equivalent (RAE) weight of vitamin A consumed.

VitaminB12 VitaminB12 VitaminB12

Gets or sets the amount of vitamin B-12 consumed.

VitaminB6 VitaminB6 VitaminB6

Gets or sets the amount of vitamin B-6 consumed.

VitaminC VitaminC VitaminC

Gets or sets the amount of vitamin C consumed.

VitaminD VitaminD VitaminD

Gets or sets the amount of vitamin D consumed.

VitaminE VitaminE VitaminE

Gets or sets the amount of vitamin E consumed.

VitaminK VitaminK VitaminK

Gets or sets the amount of vitamin K consumed.

When When When

Gets or sets the date time of consumption.

Zinc Zinc Zinc

Gets or sets the amount of zinc consumed.

Methods

GetBlobStore(ConnectPackageCreationParameters) GetBlobStore(ConnectPackageCreationParameters) GetBlobStore(ConnectPackageCreationParameters)

Gets the BLOB store for this health record item.

(Inherited from HealthRecordItem)
GetBlobStore(HealthRecordAccessor) GetBlobStore(HealthRecordAccessor) GetBlobStore(HealthRecordAccessor)

Gets the BLOB store for this health record item.

(Inherited from HealthRecordItem)
GetItemXml() GetItemXml() GetItemXml()

Gets the XML representation of the health record item.

(Inherited from HealthRecordItem)
GetItemXml(HealthRecordItemSections) GetItemXml(HealthRecordItemSections) GetItemXml(HealthRecordItemSections)

Gets the XML representation of the health record item.

(Inherited from HealthRecordItem)
GetItemXml(HealthRecordItemSections, String) GetItemXml(HealthRecordItemSections, String) GetItemXml(HealthRecordItemSections, String)

Gets the XML representation of the health record item.

(Inherited from HealthRecordItem)
GetItemXml(String) GetItemXml(String) GetItemXml(String)

Gets the XML representation of the health record item.

(Inherited from HealthRecordItem)
GetSizeInBytes() GetSizeInBytes() GetSizeInBytes()

Gets the size of the health record item which will be added to the quota used in the person's health record.

(Inherited from HealthRecordItem)
IsSignatureValid() IsSignatureValid() IsSignatureValid()

Checks if the health record item's signature is valid.

(Inherited from HealthRecordItem)
ParseXml(IXPathNavigable) ParseXml(IXPathNavigable) ParseXml(IXPathNavigable)

Populates this DietaryIntake instance from the data in the specified XML.

Serialize() Serialize() Serialize()

Gets the XML representation of the item for serialization.

(Inherited from HealthRecordItem)
Sign(X509Certificate2) Sign(X509Certificate2) Sign(X509Certificate2)

Signs the HealthRecordItem with a digital signature.

(Inherited from HealthRecordItem)
ToString() ToString() ToString()

Gets a string representation of the DietaryIntake.

ValidateCertificate() ValidateCertificate() ValidateCertificate()

Checks if the certificates are valid.

(Inherited from HealthRecordItem)
WriteXml(XmlWriter) WriteXml(XmlWriter) WriteXml(XmlWriter)

Writes the XML representation of the DietaryIntake into the specified XML writer.

Applies to