Compose coherent Overview snapshots and preserve access ordering

This commit is contained in:
Steffen committed 2026-10-14 12:06:52 +02:00
1 parent cab10c5306
commit cc7f87105d
16 files changed
+38314 -5

No files matched your search

@@ -0,0 +1,6 @@
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);
}