Daily Dietary Intake

Return to types list

Type Properties

Properties
PropertyValue
id9c29c6b9-f40e-44ff-b24e-fba6f3074638
nameDaily Dietary Intake
uncreatablefalse
immutablefalse
singletonfalse
transformsform, mtt, stt

Type Details

dietary-intake-daily  The amount of dietary nutrients and minerals consumed in a day.
NameTypeIsRequiredDescription
whend:dateYesThe date of consumption.
caloriespositiveIntegerNoThe amount of calories consumed in the day. Calories are measured in kilocalories (kCal).
total-fatt:weight-valueNoThe total amount of fat consumed in the day. Fat is usually measured in grams (g).
saturated-fatt:weight-valueNoThe total amount of saturated fat consumed in the day. Fat is usually measured in grams (g).
trans-fatt:weight-valueNoThe total amount of trans fat consumed in the day. Fat is usually measured in grams (g).
proteint:weight-valueNoThe amount of protein consumed in the day. Protein is usually measured in grams (g).
total-carbohydratest:weight-valueNoThe amount of carbohydrates consumed in the day. Carbohydrates are usually measured in grams (g).
dietary-fibert:weight-valueNoThe amount of dietary fiber consumed in the day. Dietary fiber is usually measured in grams (g).
sugarst:weight-valueNoThe amount of sugars consumed in the day. Sugar is usually measured in grams (g).
sodiumt:weight-valueNoThe amount of sodiam consumed in the day. Sodium is usually measured in milligrams (mg).
cholesterolt:weight-valueNoThe amount of cholesterol consumed in the day. Cholesterol is usually measured in milligrams (mg).

Schema

Open schema as a file

Verify XML against this schema

<schema xmlns:diet="urn:com.microsoft.wc.thing.dietary-intake-daily" xmlns:t="urn:com.microsoft.wc.thing.types" xmlns:d="urn:com.microsoft.wc.dates" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:com.microsoft.wc.thing.dietary-intake-daily">
  <import namespace="urn:com.microsoft.wc.thing.types" schemaLocation="base.xsd" />
  <import namespace="urn:com.microsoft.wc.dates" schemaLocation="dates.xsd" />
  <annotation>
    <documentation>
      <type-id>9c29c6b9-f40e-44ff-b24e-fba6f3074638</type-id>
      <type-name>Daily Dietary Intake</type-name>
      <wrapper-class-name>DietaryDailyIntake</wrapper-class-name>
      <wrapper-class-fwlink>136089</wrapper-class-fwlink>
      <sample-xml-fwlink>136090</sample-xml-fwlink>
      <data-type-guide-fwlink>136088</data-type-guide-fwlink>
      <summary>The amount of dietary nutrients and minerals consumedin a day.</summary>
      <effective-date-element>when</effective-date-element>
    </documentation>
  </annotation>
  <element name="dietary-intake-daily">
    <complexType>
      <annotation>
        <documentation>
          <summary>The amount of dietary nutrients and minerals consumed in a day. </summary>
        </documentation>
      </annotation>
      <sequence>
        <element name="when" type="d:date">
          <annotation>
            <documentation>
              <summary>The date of consumption.</summary>
            </documentation>
          </annotation>
        </element>
        <element name="calories" type="positiveInteger" minOccurs="0">
          <annotation>
            <documentation>
              <summary>The amount of calories consumed in the day.</summary>
              <remarks>Calories are measured in kilocalories (kCal).</remarks>
            </documentation>
          </annotation>
        </element>
        <element name="total-fat" type="t:weight-value" minOccurs="0">
          <annotation>
            <documentation>
              <summary>The total amount of fat consumed in the day.</summary>
              <remarks>Fat is usually measured in grams (g).</remarks>
            </documentation>
          </annotation>
        </element>
        <element name="saturated-fat" type="t:weight-value" minOccurs="0">
          <annotation>
            <documentation>
              <summary>The total amount of saturated fat consumed in theday.</summary>
              <remarks>Fat is usually measured in grams (g).</remarks>
            </documentation>
          </annotation>
        </element>
        <element name="trans-fat" type="t:weight-value" minOccurs="0">
          <annotation>
            <documentation>
              <summary>The total amount of trans fat consumed in theday.</summary>
              <remarks>Fat is usually measured in grams (g).</remarks>
            </documentation>
          </annotation>
        </element>
        <element name="protein" type="t:weight-value" minOccurs="0">
          <annotation>
            <documentation>
              <summary>The amount of protein consumed in the day.</summary>
              <remarks>Protein is usually measured in grams (g).</remarks>
            </documentation>
          </annotation>
        </element>
        <element name="total-carbohydrates" type="t:weight-value" minOccurs="0">
          <annotation>
            <documentation>
              <summary>The amount of carbohydrates consumed in the day.</summary>
              <remarks>Carbohydrates are usually measured in grams (g).</remarks>
            </documentation>
          </annotation>
        </element>
        <element name="dietary-fiber" type="t:weight-value" minOccurs="0">
          <annotation>
            <documentation>
              <summary>The amount of dietary fiber consumed in the day.</summary>
              <remarks>Dietary fiber is usually measured in grams (g).</remarks>
            </documentation>
          </annotation>
        </element>
        <element name="sugars" type="t:weight-value" minOccurs="0">
          <annotation>
            <documentation>
              <summary>The amount of sugars consumed in the day.</summary>
              <remarks>Sugar is usually measured in grams (g).</remarks>
            </documentation>
          </annotation>
        </element>
        <element name="sodium" type="t:weight-value" minOccurs="0">
          <annotation>
            <documentation>
              <summary>The amount of sodiam consumed in the day.</summary>
              <remarks>Sodium is usually measured in milligrams (mg).</remarks>
            </documentation>
          </annotation>
        </element>
        <element name="cholesterol" type="t:weight-value" minOccurs="0">
          <annotation>
            <documentation>
              <summary>The amount of cholesterol consumed in the day.</summary>
              <remarks>Cholesterol is usually measured in milligrams (mg).</remarks>
            </documentation>
          </annotation>
        </element>
      </sequence>
    </complexType>
  </element>
</schema>


Columns

Columns describe this type in the STT and MTT transformations.

Columns
TagLabelTypeWidth
whenDateString100
caloriesCaloriesString100
total-fatTotal FatString100
proteinProteinString100
total-carbohydratesCarbsString100
wc-idIDString50
wc-versionVersion StampString50
wc-noteNoteString100
wc-tagsTagsString100
wc-dateEffective DateDateTime50
wc-typeType NameString50
wc-typeidType IDString50
wc-sourceSourceString100
wc-brandsBrandsString100
wc-relatedthingsRelated ItemsString100
wc-ispersonalIs PersonalBoolean40
wc-audit-personnameChanged byString100
wc-audit-dateDateDateTime100
wc-audit-actionActionString100
wc-audit-appnameProgramString100
wc-issignedSignedBoolean50
wc-isdownversionedDown VersionedBoolean50
wc-isupversionedUp VersionedBoolean50
wc-stateItem StateString50