Skip to main content

last updated: March 2014

SDKs for HealthVault

HealthVault is a web service and has native support for an XML-over-HTTP interface.

There are SDKs for HealthVault available for various development platforms including .NET, Windows Phone, Java, iOS, Android, Ruby and PHP. The .NET SDK is Microsoft provided and supported. Other SDKs are provided as open source by Microsoft as is the case with Java, Android, and iOS and there are also SDKs provided by third-party community developers as is the case for Ruby and PHP.

When new HealthVault releases are available, the HealthVault .NET SDK ships simultaneously to take advantage of new features. The other available SDKs (open source and third-party) are not normally updated on the same timeline, which means developers have to do a little more work to invoke HealthVault by crafting and parsing their own XML, rather than using language specific objects. For more information about the XML API, see the XML types and methods browsers on the HealthVault developer center.

If an appropriate SDK is not available for the platform on which you are developing, your application could host a private web service that encapsulates an existing SDK. For example, your application could host a .NET or Java web service that handles the communication with HealthVault. Your application could then use the encapsulated web service to make calls to HealthVault.

The following sections contain more information.

.NET SDK

The .NET SDK provides language-specific objects and abstractions for working with the HealthVault web service. The .NET SDK is provided and supported by Microsoft.

When new HealthVault releases are available, the HealthVault .NET SDK ships simultaneously to take advantage of new features.

You can download the .NET SDK from the Microsoft Download Center. For more information about the members defined in the .NET SDK, see Microsoft HealthVault SDK Overview on the MSDN Library.

Microsoft open source libraries

The following libraries for HealthVault are made available by Microsoft to simplify HealthVault development on the listed platforms. These libraries are community supported and questions should be submitted on the associated project site.

Changes to these libraries are not made at the same time as changes to the HealthVault web service. Thus, for certain functionality, you may need to extend these libraries and provide your own wrappers.

LibraryProject siteDescription
iOS library https://github.com/microsoft-hsg/HVMobile_VNextProvides a framework for implementing a HealthVault-enabled application on iPhone or iPad.
Java and Android library http://healthvaultjavalib.codeplex.com/Provides a framework for implementing a HealthVault-enabled application on Android or in Java.
HealthVault Library for Windows 8 http://healthvaultwin8.codeplex.com/Provides a framework for implementing a HealthVault-enabled application on Windows 8.
Windows Phone library http://healthvaultwp7.codeplex.com/Provides a framework for implementing a HealthVault-enabled application on Windows Phone.

Other libraries for HealthVault

The following table lists some of the third party libraries for HealthVault. These libraries are not supported by Microsoft. If you are creating a new library for HealthVault you’d like to share, let us know.

LibraryProject siteDescription
Drupal library https://drupal.org/project/healthvault_connectA Drupal connector for HealthVault.
PHP library http://mkalkbrenner.github.io/HVClientLibPHPAn open source library for developing HealthVault-enabled applications in PHP.
Python library http://code.google.com/p/pyhealthvault/An open source library for developing HealthVault-enabled applications in Python.
Ruby library http://healthvaultrubylib.codeplex.com/An open source library for developing HealthVault-enabled applications in Ruby.