Export (0) Print
Expand All

PatientConnection Class

HealthVault
Methods for accessing the patient connection APIs of HealthVault.

Namespace: Microsoft.Health.PatientConnect
Assembly: Microsoft.Health (in Microsoft.Health.dll) Version: 2.1.0.0 (1.15.1003.9505)

public static class PatientConnection

Some HealthVault applications maintain some of their own data storage but need a way to link their account/person identifier to a HealthVault identifier. The application can do this by calling Create(OfflineWebApplicationConnection, String, String, String, Uri, String) and passing the application's identifier and some information that is specific to the user. The user can then go to HealthVault Shell and validate the connection with their appropriate health record. The application can then query for all validated connections (usually on a daily basis) by calling GetValidatedConnections(OfflineWebApplicationConnection) or GetValidatedConnections(OfflineWebApplicationConnection, DateTime) which returns instances of ValidatedPatientConnection.

Validated connect requests are removed by HealthVault after 90 days. It is advised that applications call GetValidatedConnections(OfflineWebApplicationConnection) or GetValidatedConnections(OfflineWebApplicationConnection, DateTime) daily or weekly to ensure that all validated connect requests are retrieved.

System..::..Object
  Microsoft.Health.PatientConnect..::..PatientConnection
Show:
© 2014 Microsoft