PatientConnection Class
HealthVault
Methods for accessing the patient connection APIs of HealthVault.
Namespace: Microsoft.Health.PatientConnectAssembly: Microsoft.Health (in Microsoft.Health.dll) Version: 2.0.0.0 (1.12.1030.8622)
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.
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.