Class BaseProvider
- Namespace
- adas_core.Application.Providers
- Assembly
- adas-core.Application.dll
public abstract class BaseProvider
- Inheritance
-
BaseProvider
- Derived
- Inherited Members
- Extension Methods
Constructors
BaseProvider(IOptions<ProvidersSettings>, IHttpClientFactory)
protected BaseProvider(IOptions<ProvidersSettings> providerSettings, IHttpClientFactory httpClientFactory)
Parameters
providerSettingsIOptions<ProvidersSettings>httpClientFactoryIHttpClientFactory
Fields
HttpClientFactory
protected IHttpClientFactory HttpClientFactory
Field Value
Properties
Url
protected string Url { get; set; }
Property Value
Methods
GetObservations(Patient)
Asynchronously retrieves the list of clinical observations associated with the specified patient.
public abstract Task<List<PatientObservation>> GetObservations(Patient patient)
Parameters
patientPatientThe patient whose observations are being requested.
Returns
- Task<List<PatientObservation>>
A task that represents the asynchronous operation, containing a list of PatientObservation entries for the patient.