Health​Record​Info Class

Definition

Represents the APIs and information about a health record for an individual.

public class HealthRecordInfo : Microsoft.Health.HealthRecordAccessor, Microsoft.Health.IMarshallable
Inheritance
HealthRecordInfo
Implements

Inherited Members

Microsoft.Health.HealthRecordAccessor

Remarks

A HealthRecordInfo represents a person's view of a health record and information about the health record such as the state, name, date of expiration, and so on. This view may vary based upon the access rights the person has to the record and multiple people may have access to the same record but have different views. For instance, a husband may have a HealthRecordInfo instance for himself and another for his wife's health record which she shared with him.

Constructors

Health​Record​Info(​Application​Connection, ​Guid)

Creates a new instance of the HealthRecordInfo class, providing a new view of a personal health record.

Properties

Application​Specific​Record​Id

Gets the application specific record id for the specified record and application.

Date​Authorization​Expires

Gets the date/time that the authorization for the record expires.

Date​Created

Gets the date the record was created, in UTC.

Date​Updated

Gets the date the record was updated, in UTC.

Display​Name

Gets the display name of the record.

Has​Authorization​Expired

true if the authorization of the authenticated person has expired for this record; otherwise, false.

Health​Record​Authorization​Status

Gets the HealthRecordAuthorizationStatus for the record.

Is​Custodian

Gets a value indicating whether or not the person is a custodian of the record.

Latest​Operation​Sequence​Number

Gets the record's latest operation sequence number.

Name

Gets the name of the record.

Quota​In​Bytes

Gets the maximum total size in bytes that the HealthRecordItems in the HealthRecordInfo can occupy.

Quota​Used​In​Bytes

Gets the total size in bytes that the HealthRecordItems in the HealthRecordInfo currently occupy.

Record​App​Auth​Created​Date

Gets the date when the user authorized the application to the record, in UTC.

Relationship​Name

Gets the localized string representing the relationship between the person authorized to view this record and the owner of the record.

Relationship​Type

Gets the relationship the person authorized to view this record has with the "owner" of the record.

State

Gets the state of a HealthRecordInfo.

Methods

Create​From​Xml(​Application​Connection, ​XPath​Navigator)

Creates an instance of a HealthRecordInfo object using the specified XML.

Get​From​Alternate​Id(​Application​Connection, ​String)

Look up the record that were previously associated with this alternate id.

Get​Xml()

Gets the XML representation of the HealthRecordInfo.

Marshal(​Xml​Writer)

Writes the record information into the specified writer as XML.

Refresh()

Updates the HealthRecordInfo instance with data from the server using the Id.

To​String()

Gets the name of the record.

Unmarshal(​Xml​Reader)

Populates the data of the class from the XML in the specified reader.