HealthRecordItemExtension Class
Collapse the table of content
Expand the table of content

HealthRecordItemExtension Class

Represents an extension to a health record item.

Namespace: Microsoft.Health
Assembly: Microsoft.Health (in Microsoft.Health.dll) Version: (1.15.1003.9505)

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.

© 2016 Microsoft