feat(anamnesis): life-circumstances card with AUDIT-C, screening hints and free-text take-over

This commit is contained in:
Marc-André Bombeck committed 2026-10-16 01:09:50 +02:00
1 parent db750ef246
commit 28a8737124
27 files changed
+3427 -877

No files matched your search

+3
View File
@@ -53,6 +53,7 @@
* map the shared snapshot builder uses (`disabledSummaryTypes`); the filter
* runs OUTSIDE the cache because a module toggle does not evict it.
*/
import { loadFreeWeekdaySpans } from "@/lib/profile/life-circumstances";
import { apiHandler, requireRecordAuth } from "@/lib/api-handler";
import { apiSuccess } from "@/lib/api-response";
import { annotate } from "@/lib/logging/context";
@@ -717,6 +718,8 @@ async function buildDashboardSummary(
sleepPriorityJson,
),
sleepNeedMinutes(sleepProfile.ageYears),
"COMPUTED",
await loadFreeWeekdaySpans(userId),
);
const metrics: MetricCard[] = [];