ValidatedPatientConnection Class

Information about a validated patient connection.

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

public class ValidatedPatientConnection

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.