8 lines
502 B
C#
8 lines
502 B
C#
namespace HealthApp.Contracts;
|
|
|
|
public sealed record HealthOverviewDto(PatientDto Patient, ObservationDto? LatestObservation, HealthInsight? Insight, DateTime PeriodStart, DateTime PeriodEnd, ContextSelection InsightSelection, int InsightContributingCount, string LatestObservationBasis, string InsightExplanation);
|
|
public interface OverviewQueries
|
|
{
|
|
Task<HealthOverviewDto?> GetAsync(AuthorizedPatientContext scope, DateTime from, DateTime to, ContextSelection selection, CancellationToken ct);
|
|
}
|