Calorie Guideline
Return to types list
Type Properties
Properties
| Property | Value |
| id | d3170d30-a41b-4bde-a116-87698c8a001a |
| name | Calorie Guideline |
| uncreatable | false |
| immutable | false |
| singleton | false |
| transforms | form, 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.
| Name | Type | IsRequired | Description |
| when | d:approx-date-time | Yes | Date and time the guidelines were created. |
| name | t:codable-value | Yes | Defines the guideline. Examples: Maintain weight, Lose weight slowly, Gain weight slowly, Basal metabolic rate (BMR). |
| calories | t:general-measurement | Yes | The 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
| Tag | Label | Type | Width |
| when | When | String | 100 |
| name | Name | String | 100 |
| calories | Calories | String | 100 |
| wc-id | ID | String | 50 |
| wc-version | Version Stamp | String | 50 |
| wc-note | Note | String | 100 |
| wc-tags | Tags | String | 100 |
| wc-date | Effective Date | DateTime | 50 |
| wc-type | Type Name | String | 50 |
| wc-typeid | Type ID | String | 50 |
| wc-source | Source | String | 100 |
| wc-brands | Brands | String | 100 |
| wc-relatedthings | Related Items | String | 100 |
| wc-ispersonal | Is Personal | Boolean | 40 |
| wc-audit-personname | Changed by | String | 100 |
| wc-audit-date | Date | DateTime | 100 |
| wc-audit-action | Action | String | 100 |
| wc-audit-appname | Program | String | 100 |
| wc-issigned | Signed | Boolean | 50 |
| wc-isdownversioned | Down Versioned | Boolean | 50 |
| wc-isupversioned | Up Versioned | Boolean | 50 |
| wc-state | Item State | String | 50 |
|