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 GetAsync(AuthorizedPatientContext scope, DateTime from, DateTime to, ContextSelection selection, CancellationToken ct); }