Application​Connection Class

Definition

Base class that represents a connection of an application to the HealthVault service for either online or offline operations.

public class ApplicationConnection : Microsoft.Health.HealthServiceConnection
Inheritance
ApplicationConnection
Derived

Inherited Members

Microsoft.Health.HealthServiceConnection

Remarks

You must connect to the HealthVault service to access its web methods. This class does not maintain an open connection to the service, but uses XML over HTTP to make requests and receive responses from the service. The connection only maintains the data necessary for the request.

For operations that require authentication, use the AuthenticatedConnection class.

Constructors

Application​Connection()

Creates an instance of the ApplicationConnection class with default values taken from the application or web configuration file.

Application​Connection(​Health​Service​Instance)

Creates an instance of the ApplicationConnection class for the application having the specified HealthVault web-service instance.

Application​Connection(​Guid)

Creates an instance of the ApplicationConnection class for the application having the specified globally unique identifier (GUID).

Application​Connection(​Guid, ​Health​Service​Instance)

Creates an instance of the ApplicationConnection class for the application having the specified globally unique identifier (GUID) and HealthVault web-service instance.

Application​Connection(​Guid, ​String)

Creates an instance of the ApplicationConnection class for the application having the specified globally unique identifier (GUID) and string representing the HealthVault service uniform resource locator (URL).

Application​Connection(​Guid, ​Uri)

Creates an instance of the ApplicationConnection class for the application having the specified globally unique identifier (GUID) and HealthVault service uniform resource locator (URL).

Methods

Create​Request(​Health​Record​Accessor, ​String, ​Int32)

Represents a simple wrapper around the XML request for the web service.

Get​Application​Info()

Gets the application configuration information for the calling application.

Get​Application​Info(​Boolean)

Gets the application configuration information for the calling application.

Get​Authorized​People()

Gets information about people authorized for an application.

Get​Authorized​People(​Get​Authorized​People​Settings)

Gets information about people authorized for an application.

Get​Authorized​Records(​IList<​Guid>)

Gets the HealthRecordInfo for the records identified by the specified recordIds.

Get​Meaningful​Use​Timely​Access​Document​Report(​Date​Range)

Retrieves the Meaningful Use Timely Access Report for the application.

Get​Meaningful​Use​Timely​Access​DO​PU​Document​Report(​Date​Range)

Retrieves the Meaningful Use Timely Access Report for applications that use DOPU to transfer CCDA documents to HealthVault.

Get​Meaningful​Use​VD​TReport(​Date​Range)

Retrieves the Meaningful Use View, Download, and Transmit (VDT) Report for the application.

Get​Person​Info()

Gets the information about the person specified.

Get​Updated​Record​Info​For​Application(​Nullable<​Date​Time>)

Gets a list of HealthRecordUpdateInfo objects for the current application, that optionally have been updated since a specified date.

Get​Updated​Records​For​Application(​Nullable<​Date​Time>)

Gets a list of health record IDs for the current application, that optionally have been updated since a specified date.

Get​Vocabulary(​String)

Retrieves a list of vocabulary items for the specified vocabulary.

Get​Vocabulary(​Vocabulary​Key, ​Boolean)

Retrieves a list of vocabulary items for the specified vocabulary and culture.

Get​Vocabulary(​IList<​Vocabulary​Key>, ​Boolean)

Retrieves lists of vocabulary items for the specified vocabularies and culture.

Get​Vocabulary​Keys()

Retrieves a collection of key information for identifying and describing the vocabularies in the system.

New​Signup​Code()

Generates a new signup code that should be passed to HealthVault Shell in order to create a new user account.

Search​Vocabulary(​Vocabulary​Key, ​String, ​Vocabulary​Search​Type, ​Nullable<​Int32>)

Searches a specific vocabulary and retrieves the matching vocabulary items.

Search​Vocabulary​Keys(​String, ​Vocabulary​Search​Type, ​Nullable<​Int32>)

Searches the keys of vocabularies defined by the HealthVault service.

Select​Instance(​Location)

Gets the instance where a HealthVault account should be created for the specified account location.

Send​Insecure​Message​From​Application(​IList<​Mail​Recipient>, ​String, ​String, ​String, ​String, ​String)

Sends an insecure message originating from the application to the specified message recipients.

Send​Insecure​Message​From​Application(​IList<​Guid>, ​Boolean, ​String, ​String, ​String, ​String, ​String)

Sends an insecure message originating from the application to the specified message recipients.

Send​Insecure​Message​To​Custodians​From​Application(​Guid, ​Boolean, ​String, ​String, ​String, ​String, ​String)

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