Creado apartir del commit b888de6c92056de294456f581a56e25e734d4ab7 de develop
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using adas_core.Domain.Models;
|
||||
using adas_core.Domain.Models.MongoModels;
|
||||
using adas_core.Domain.Models.Providers;
|
||||
using Microsoft.Extensions.Options;
|
||||
|
||||
namespace adas_core.Application.Providers;
|
||||
|
||||
public abstract class BaseProvider(
|
||||
IOptions<ProvidersSettings> providerSettings,
|
||||
IHttpClientFactory httpClientFactory)
|
||||
{
|
||||
protected IHttpClientFactory HttpClientFactory = httpClientFactory;
|
||||
protected string Url { get; set; } = providerSettings.Value.Url;
|
||||
|
||||
public abstract Task<List<PatientObservation>> GetObservations(Patient patient);
|
||||
}
|
||||
Reference in New Issue
Block a user