Calorie Guideline

Return to types list

Type Properties

Properties
PropertyValue
idd3170d30-a41b-4bde-a116-87698c8a001a
nameCalorie Guideline
uncreatablefalse
immutablefalse
singletonfalse
transformsform, mtt, stt, wpd2-25595388-EEAA-42F9-8193-457FBA0F425E, include-hvcc-mapping, hvcc-display, include-hvcc-props

Type Details

calorie-guideline  Stores suggested calorie intake guidelines.
NameTypeIsRequiredDescription
whend:approx-date-timeYesDate and time the guidelines were created.
namet:codable-valueYesDefines the guideline. Examples: Maintain weight, Lose weight slowly, Gain weight slowly, Basal metabolic rate (BMR).
caloriest:general-measurementYesThe number of calories to support the guideline. This value expresses the number of calories for a specific time period. For example, 2716 calories per day could be coded as follows: Display = "2716 calories/day" Structured Value = "2716" Structured Units = "calories-per-day" using the calorie-guideline-units vocabulary.

Schema

Open schema as a file

Verify XML against this schema

<schema xmlns:t="urn:com.microsoft.wc.thing.types" xmlns:d="urn:com.microsoft.wc.dates" xmlns:this="urn:com.microsoft.wc.thing.calorie-guideline" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:com.microsoft.wc.thing.calorie-guideline">
  <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>d3170d30-a41b-4bde-a116-87698c8a001a</type-id>
      <type-name>Calorie Guideline</type-name>
      <wrapper-class-name>CalorieGuideline</wrapper-class-name>
      <wrapper-class-fwlink>136068</wrapper-class-fwlink>
      <sample-xml-fwlink>136069</sample-xml-fwlink>
      <data-type-guide-fwlink>136067</data-type-guide-fwlink>
      <summary>Stores suggested calorie intake guidelines.</summary>
      <remarks>Examples: Daily calories suggested for weight loss, calories needed for weight maintenance, BMR.</remarks>
      <effective-date-element>when</effective-date-element>
    </documentation>
  </annotation>
  <element name="calorie-guideline">
    <complexType>
      <annotation>
        <documentation>
          <summary>Stores suggested calorie intake guidelines.</summary>
          <remarks>Examples: Daily calories suggested for weight loss, calories needed for weight maintenance, BMR.</remarks>
        </documentation>
      </annotation>
      <sequence>
        <element name="when" type="d:approx-date-time">
          <annotation>
            <documentation>
              <summary>Date and time the guidelines were created.</summary>
            </documentation>
          </annotation>
        </element>
        <element name="name" type="t:codable-value">
          <annotation>
            <documentation>
              <summary>Defines the guideline.</summary>
              <remarks>Examples: Maintain weight, Lose weight slowly, Gain weight slowly, Basal metabolic rate (BMR).</remarks>
              <preferred-vocabulary>calorie-guideline-names</preferred-vocabulary>
            </documentation>
          </annotation>
        </element>
        <element name="calories" type="t:general-measurement">
          <annotation>
            <documentation>
              <summary>The number of calories to support the guideline.</summary>
              <remarks>This value expresses the number of calories for a specific time period.<br />For example, 2716 calories per day could be coded as follows:<br /><br />Display = "2716 calories/day"<br />Structured Value = "2716"<br />Structured Units = "calories-per-day"<br /><br />using the calorie-guideline-units vocabulary.</remarks>
              <preferred-vocabulary>calorie-guideline-units</preferred-vocabulary>
            </documentation>
          </annotation>
        </element>
      </sequence>
    </complexType>
  </element>
</schema>


Columns

Columns describe this type in the STT and MTT transformations.

Columns
TagLabelTypeWidth
whenWhenString100
nameNameString100
caloriesCaloriesString100
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