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

IP Filtering Config

You may notice that the newest version of the Application Configuration Center contains fields for configuring your IP Filtering settings.  This extra security measure is not generally needed for HealthVault applications, except in special cases.  If you enter a non-null address range in this field then you will effectively turn on filtering for your application…

0

Updating an application configuration in Production

You can create and update your ApplicationId configuration in our Developer/PreProduction environment by accessing https://config.healthvault-ppe.com.  The App Manager tool in our HealthVault SDK also connects to this config site.   But this configuration site is only available in non-Production environments.  Microsoft reviews the data access for each application before it goes live, in an effort to ensure…

0

Handling HealthServiceCredentialTokenExpiredException in .NET SDK

Applications are expected to Handle the HealthServiceCredentialTokenExpiredException. The best way to handle this error is to Redirect the user to sign-on again, the best place to implement it in your basepage’s page error handler. Here is some sample code which accomplishes the same, please note this code should be in our basepage or any page…

0

More About Certificate Errors

Here is some help on diagnosing some of the common modes of failure with HealthVault certificate management. Access denied The most common cause of this error is that the application can find the certificate but the account running the app does not have the proper permissions to utilize its private key at run-time.  See the…

0

Certificate Errors

Got a good question today from a long-time HealthVault Developer — at least they are long-time in terms of the short history of HealthVault. If your application certificate is not configured correctly, either on your app server or on the HealthVault server, the first time that you will see an error is the first time…

0

HealthVault Response Paging

There is a parameter on the HealthRecordFilter object called MaxFullItemsReturnedPerRequest and it is set to 240 by default.  If your search returns more than MaxFullItemsReturnedPerRequest items then you will get full items for the first max items and then HealthRecordItemIds for the remaining items.  You can then retrieve the other items by ID. If you…

0

Certificate Management

We get a lot of questions about managing your HealthVault application certificate.  When your application initiates a connection to HealthVault, it uses its unique private key to encrypt the first handshake message that it sends.  HealthVault then uses a public key to verify that the sender of this message is indeed a trusted host.  This…

0

Email Addresses

We’ve had a few forum questions lately on email addresses so I figured I would send out some clarifying info. Most of you are aware that the Account and the Record are separate but related entities in HealthVault.  Each user account can have varying degrees of access to one or many records.  So when you…

0

Deleting a Record

It is possible for end users to delete a HealthVault record but this function is not featured prominently in the user interface.  This is by design, as we don’t want end users to accidentally delete a record. In order to delete a record: Go to the HealthVault Shell: https://account.healthvault.com in the Consumer environment or https://account.healthvault-ppe.com in…

0