Health​Record​Item​Relationship Class

Definition

Represents a loose relationship between health record item instances.

public class HealthRecordItemRelationship
Inheritance
HealthRecordItemRelationship

Remarks

The relationship defined is not maintained by HealthVault. It is completely up to the application defining and consuming the relationship to ensure the related item exists and is in the same health record.

Constructors

Health​Record​Item​Relationship()

Creates a new instance of the HealthRecordItemRelationship instance with default values.

Health​Record​Item​Relationship(​Health​Record​Item​Key)

Constructs a HealthRecordItemRelationship instance for a relationship to the item with the specified key.

Health​Record​Item​Relationship(​Guid)

Constructs a HealthRecordItemRelationship instance for a relationship to the item with the specified ID.

Health​Record​Item​Relationship(​String)

Constructs a HealthRecordItemRelationship instance for a relationship to the item with the specified key.

Health​Record​Item​Relationship(​Health​Record​Item​Key, ​String)

Constructs a HealthRecordItemRelationship instance for a relationship to the item with the specified key and relationship type.

Health​Record​Item​Relationship(​String, ​String)

Constructs a HealthRecordItemRelationship instance for a relationship to the item with the specified client ID and relationship type.

Properties

Client​Id

Gets and sets a client assigned identifier for the related HealthRecordItem.

Item​Key

Gets or sets the key for the related HealthRecordItem.

Relationship​Type

Gets or sets the type of relationship between the items.