HealthRecordItem HealthRecordItem HealthRecordItem Class

Definition

Represents a health record item.

public class HealthRecordItem
type HealthRecordItem = class
Public Class HealthRecordItem
Inheritance
HealthRecordItemHealthRecordItemHealthRecordItem
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

HealthRecordItem(Guid) HealthRecordItem(Guid) HealthRecordItem(Guid)

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

HealthRecordItem(Guid, IXPathNavigable) HealthRecordItem(Guid, IXPathNavigable) HealthRecordItem(Guid, IXPathNavigable)

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

Properties

CommonData CommonData CommonData

Gets the common data for the HealthRecordItem.

Created Created Created

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

EffectiveDate EffectiveDate EffectiveDate

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

EffectivePermissions EffectivePermissions EffectivePermissions

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

Flags Flags Flags

Gets the HealthRecordItem flags.

HealthRecordItemSignatures HealthRecordItemSignatures HealthRecordItemSignatures

Gets the signatures for the HealthRecordItem.

IsDownVersioned IsDownVersioned IsDownVersioned

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

IsImmutable IsImmutable IsImmutable

Gets a value indicating whether the HealthRecordItem is immutable.

IsPersonal IsPersonal IsPersonal

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

IsReadOnly IsReadOnly IsReadOnly

Gets a value indicating whether HealthRecordItem is read-only.

IsUpVersioned IsUpVersioned IsUpVersioned

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

Key Key Key

Gets the key of the health record item.

LastUpdated LastUpdated LastUpdated

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

Sections Sections Sections

Gets the data sections that this HealthRecordItem represents.

State State State

Gets the state of the HealthRecordItem.

Tags Tags Tags

Gets the list of tags on the HealthRecordItem.

TransformedXmlData TransformedXmlData TransformedXmlData

Gets the transformed XML data of the HealthRecordItem.

TypeId TypeId TypeId

Gets the type identifier for the health record item type.

TypeName TypeName TypeName

Gets the health record item type name.

TypeSpecificData TypeSpecificData TypeSpecificData

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

UpdatedEndDate UpdatedEndDate UpdatedEndDate

Gets or sets the date when HealthRecordItem is not relevant.

Methods

Deserialize(String) Deserialize(String) Deserialize(String)

Create a HealthRecordItem instance from the item XML.

GetBlobStore(ConnectPackageCreationParameters) GetBlobStore(ConnectPackageCreationParameters) GetBlobStore(ConnectPackageCreationParameters)

Gets the BLOB store for this health record item.

GetBlobStore(HealthRecordAccessor) GetBlobStore(HealthRecordAccessor) GetBlobStore(HealthRecordAccessor)

Gets the BLOB store for this health record item.

GetItemXml() GetItemXml() GetItemXml()

Gets the XML representation of the health record item.

GetItemXml(HealthRecordItemSections) GetItemXml(HealthRecordItemSections) GetItemXml(HealthRecordItemSections)

Gets the XML representation of the health record item.

GetItemXml(String) GetItemXml(String) GetItemXml(String)

Gets the XML representation of the health record item.

GetItemXml(HealthRecordItemSections, String) GetItemXml(HealthRecordItemSections, String) GetItemXml(HealthRecordItemSections, String)

Gets the XML representation of the health record item.

GetSizeInBytes() GetSizeInBytes() GetSizeInBytes()

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

IsSignatureValid() IsSignatureValid() IsSignatureValid()

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

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

Parses the type-specific XML data for the item.

Serialize() Serialize() Serialize()

Gets the XML representation of the item for serialization.

Sign(X509Certificate2) Sign(X509Certificate2) Sign(X509Certificate2)

Signs the HealthRecordItem with a digital signature.

ValidateCertificate() ValidateCertificate() ValidateCertificate()

Checks if the certificates are valid.

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

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

Applies to