HealthRecordAccessor Class

Definition

Represents the API set used to access a health record for an individual.

public class HealthRecordAccessor
Inheritance
HealthRecordAccessor
Derived

Remarks

A HealthRecordAccessor represents a person's view of a health record. This view can vary based upon the access rights the person has to the record. More than one person might have access to the same record but have different views. For instance, a husband might have a HealthRecordAccessor instance for himself and another for his wife's health record to which she granted him access.

Constructors

HealthRecordAccessor(ApplicationConnection, Guid)

Creates a new instance of the HealthRecordAccessor class.

Properties

Connection

Gets a reference to the HealthVault service that created this HealthRecordAccessor.

Id

Gets the record identifier.

Location

Gets the location of the person that this record is for.

Methods

AssociateAlternateId(String)

Associates an alternate ID with this record.

CreateFromXml(ApplicationConnection, XPathNavigator)

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

CreateSearcher()

Creates a new HealthRecordSearcher for this record.

CreateSearcher(Guid[])

Creates a new HealthRecordSearcher for a list of specific types.

DisassociateAlternateId(String)

Disassociates an alternate ID with a record.

GetAlternateIds()

Gets the list of alternate IDs that are associated with a record.

GetItem(Guid)

Gets the health record item specified by its ID.

GetItem(Guid, HealthRecordItemSections)

Gets the health record item specified by its ID.

GetItemsByType(Guid)

Gets the health record items related to this record filtered on the specified type.

GetItemsByType(Guid, HealthRecordItemSections)

Gets the health record items related to this record filtered on the specified type.

GetItemsByType(Guid, HealthRecordView)

Gets the health record items related to this record filtered on the specified type.

GetValidGroupMembership(IList<Guid>)

Gets valid group memberships for a record.

GetXml()

Retrieves the XML representation of the HealthRecordAccessor.

NewItem(HealthRecordItem)

Creates a new health record item associated with this record in the HealthVault service.

NewItems(IList<HealthRecordItem>)

Creates new health record items associated with the record.

QueryPermissions(IList<HealthRecordItemTypeDefinition>)

Returns a list of HealthRecordItemTypePermission objects which represent the permissions that the current authenticated person has for the HealthRecordItemTypes specified in the current health record when using the current application.

QueryPermissions(IList<Guid>)

Gets the permissions which the authenticated person has when using the calling application for the specified item types in this health record.

QueryPermissionsByTypes(IList<Guid>)

Gets the permissions which the authenticated person has when using the calling application for the specified item types in this record.

QueryRecordPermissions(IList<Guid>)

Gets the permissions which the authenticated person has when using the calling application for the specified item types in this health record as well as the other permission settings such as MeaningfulUseOptIn.

RemoveApplicationAuthorization()

Releases the authorization of the application on the health record.

RemoveItem(HealthRecordItem)

Marks the specified health record item as deleted.

RemoveItem(HealthRecordItemKey)

Marks the specified health record item as deleted.

RemoveItems(IList<HealthRecordItem>)

Marks the specified health record item as deleted.

RemoveItems(IList<HealthRecordItemKey>)

Marks the specified health record item as deleted.

SendMessageToCustodiansFromApplication(Boolean, String, String, String, String, String)

Sends an insecure message originating from the application to custodians of the health record.

UpdateItem(HealthRecordItem)

Updates the specified health record item.

UpdateItems(IList<HealthRecordItem>)

Updates the specified health record items in one batch call to the service.