Microsoft.Health.HealthServiceException: The thing type specified in the update, 'bf516a61-5252-4c28-a979-27f45f62f78d', is an older version than the type of the existing instance.

You will see the error above if you try to update an instance of the BasicDemographicInformation HealthRecordItem type that is stored in the v2 type schema from an application that “speaks” the v1 type schema. In our recent 0910 release we updated the Basic Demographic Information HealthRecordItem type to use Codable Values for State/Province and…

0

More about data type versioning

This is a supplement to Eric’s blog post on Data Type Versioning in HealthVault.  The HealthVault platform is capable of converting V2 items into the V1 schema and vice versa.  In order to simplify things for app developers, the platform will convert all versions of a type into versions that it believes this app understands.  It makes…

0

Recognizing that a file is a CCD

If an end user uses the “Upload a file” workflow in the HealthVault shell (https://account.healthvault.com/viewitems.aspx?typeid=bd0403c5-4ae2-4b0e-a8db-1888678e4528&additem=True) to upload a CCR or CCD file, the HealthVault shell recognizes that the file is a CCR or CCD and stores a CCR or CCD item to the record instead of storing a File item. This logic is part of…

0

Identifying data type versions

Some of our developers have asked how to identify the most recent version of a HealthVault data type that has been revised. We are working to improved our naming conventions and documentation in this space, but until then here is a workaround: Go to the HealthVault Data Type Schema Browser at http://developer.healthvault.com/types/types.aspx Click on each version…

1

Energy Burn from Pedometer Data

With the release of HealthVault 0901 (late January 2009), applications that access data uploaded from Omron 720ITC pedometers are no longer able to retrieve a value for calories burned during exercise.    Applications that use the Exercise data type (the replacement for the AerobicSession type in the 0901 release) are impacted by an issue with the…

1

Where do I put my bits?

An application developer recently asked how much of a HealthVault-compatible application and its data are hosted on Microsoft servers versus servers that the developer maintains.  Here is an answer: The application resides on a server that you maintain Consumer health data resides on a HealthVault server.  Your app server can read from and write to…

1