Understanding HealthVault Data Types
A comprehensive list of all HealthVault data types is available from the HealthVault developer center at http://developer.healthvault.com/types/types.aspx. Each type has properties that determine to a great extent how items are created and used. To understand a type better, let’s take a deeper look at the example of the Weight Measurement type.
Type Properties
Figure 4-6 shows
the properties of the Weight Measurement data type that are common to
every data type from the HealthVault developer center (http://developer.healthvault.com/types/type.aspx?id=3d34d87e-7fc1-4153-800f-f56592cb0d17).
Each HealthVault type has a unique identifier; this
id is used by the HealthVault APIs to identify the
type. In the case of Weight, it is 3d34d87e-7fc1-4153-800f-f56592cb0d17.
A type sets the uncreateable property to true if no
application can create such a type in a user’s HealthVault record; a
good example of this is the Basic type. The immutable
property is true if no application can modify or update an instance of
that type in the user’s HealthVault record; a good example of this is
the CCR type. The property singleton is true if only
one instance of that type can exist in a user’s HealthVault record; a
good example of this is the Basic Demographic type.

Figure 4-6. Properties of the Weight Measurement type
Type transforms
Additionally, the list of transforms is ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access