Compose coherent Overview snapshots and preserve access ordering
This commit is contained in:
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);
|
||||
}
|
||||
Reference in new issue
Block a user