Health​Record​Item Class

Definition

Represents a health record item.

public class HealthRecordItem
Inheritance
HealthRecordItem
Derived

Remarks

A health record item is a single piece of data in a health record that is accessible through the HealthVault service. Examples of health record items include a blood pressure measurement, an exercise session, or an insurance claim.

Health record items are typed and have XML data that adheres to the schema for the type.

Constructors

Health​Record​Item(​Guid)

Derived classes must call this method when their default constructor is called.

Health​Record​Item(​Guid, ​IX​Path​Navigable)

Creates a new instance of the HealthRecordItem class with the specified type identifier and type-specific data.

Properties

Common​Data

Gets the common data for the HealthRecordItem.

Created

Gets the audit information associated with the creation of this health record item.

Effective​Date

Gets or sets the date and time that the health record item data was taken.

Effective​Permissions

Gets the effective permissions on the item granted to the person retrieving the HealthRecordItem.

Flags

Gets the HealthRecordItem flags.

Health​Record​Item​Signatures

Gets the signatures for the HealthRecordItem.

Is​Down​Versioned

Gets the value indicating if the HealthRecordItem is down-versioned.

Is​Immutable

Gets a value indicating whether the HealthRecordItem is immutable.

Is​Personal

Gets or sets the value indicating if the HealthRecordItem is private.

Is​Read​Only

Gets a value indicating whether HealthRecordItem is read-only.

Is​Up​Versioned

Gets the value indicating if the HealthRecordItem is up-versioned.

Key

Gets the key of the health record item.

Last​Updated

Gets the audit information associated with the last update of this health record item.

Sections

Gets the data sections that this HealthRecordItem represents.

State

Gets the state of the HealthRecordItem.

Tags

Gets the list of tags on the HealthRecordItem.

Transformed​Xml​Data

Gets the transformed XML data of the HealthRecordItem.

Type​Id

Gets the type identifier for the health record item type.

Type​Name

Gets the health record item type name.

Type​Specific​Data

Gets or sets the XML representation of the type-specific data for the HealthRecordItem.

Updated​End​Date

Gets or sets the date when HealthRecordItem is not relevant.

Methods

Deserialize(​String)

Create a HealthRecordItem instance from the item XML.

Get​Blob​Store(​Connect​Package​Creation​Parameters)

Gets the BLOB store for this health record item.

Get​Blob​Store(​Health​Record​Accessor)

Gets the BLOB store for this health record item.

Get​Item​Xml()

Gets the XML representation of the health record item.

Get​Item​Xml(​Health​Record​Item​Sections)

Gets the XML representation of the health record item.

Get​Item​Xml(​String)

Gets the XML representation of the health record item.

Get​Item​Xml(​Health​Record​Item​Sections, ​String)

Gets the XML representation of the health record item.

Get​Size​In​Bytes()

Gets the size of the health record item which will be added to the quota used in the person's health record.

Is​Signature​Valid()

Checks if the health record item's signature is valid.

Parse​Xml(​IX​Path​Navigable)

Parses the type-specific XML data for the item.

Serialize()

Gets the XML representation of the item for serialization.

Sign(​X509​Certificate2)

Signs the HealthRecordItem with a digital signature.

Validate​Certificate()

Checks if the certificates are valid.

Write​Xml(​Xml​Writer)

Writes the XML for the type-specific data of the item to the specified XmlWriter.