HealthRecordItemExtension HealthRecordItemExtension HealthRecordItemExtension Class


Represents an extension to a health record item.

public class HealthRecordItemExtension
type HealthRecordItemExtension = class
Public Class HealthRecordItemExtension


Applications can augment the HealthVault defined data for a health record item type with application or vendor specific data by implementing item extensions.

Applications that implement a health record item extension should derive from this class and register their extension by calling RegisterExtensionHandler(String, Type). Whenever the HealthVault SDK reads an extension with the specified extension source an instance of the derived HealthRecordItemExtension will be created and it's ParseXml(IXPathNavigable) method will be called to populate the data of the class from the web-service XML. Common portions of the item extension data will be parsed by the base class and exposed as properties.


HealthRecordItemExtension() HealthRecordItemExtension() HealthRecordItemExtension()

Constructor used when creating an instance for XML deserialization.

HealthRecordItemExtension(String) HealthRecordItemExtension(String) HealthRecordItemExtension(String)

Constructs a health record item extension for the specified source.


ExtensionData ExtensionData ExtensionData

Gets the extension data for the extension.

Logo Logo Logo

Gets or sets the URL to a logo for display use with the extension.

Source Source Source

Gets or sets the extension source identifier.

Transform Transform Transform

Gets or sets the URL to an XSL transform which can transform the XML of the extension into HTML suitable for display in a small form or popup.

Version Version Version

Gets or sets the version of the extension.


ParseXml(IXPathNavigable) ParseXml(IXPathNavigable) ParseXml(IXPathNavigable)

Populates the extension data from the specified XML.

WriteXml(XmlWriter) WriteXml(XmlWriter) WriteXml(XmlWriter)

Writes the data portion of the extension to the specified XML writer.

Applies to