Marc-André Bombeck
feb8058233
fix(medications): tally the cadence chips from the compliance ledger
...
`/api/medications/[id]/cadence` computed its adherence chip from a
private copy of the compliance ledger that ignored pause eras, courses
and auto-missed doses, and read only the chart's window of intakes. A
medication paused for a week read 77 % there and 100 % on the detail
page. The chips now tally `trailingComplianceLedger`, the ledger the
compliance payload builds, over the same window, with the medication's
pauses and courses; the copy is removed and a guard freezes the set of
files that build dose rows.
2026-10-20 04:37:44 +02:00
..
2026-10-16 00:28:29 +02:00
2026-10-08 22:37:57 +02:00
2026-10-18 13:10:20 +02:00
2026-10-11 13:09:12 +02:00
2026-10-03 18:18:56 +02:00
2026-09-10 08:39:09 +02:00
2026-10-20 03:35:03 +02:00
2026-10-16 05:36:42 +02:00
2026-10-17 09:17:03 +02:00
2026-10-15 22:22:40 +02:00
2026-09-25 21:55:14 +02:00
2026-09-10 03:55:46 +02:00
2026-10-16 05:45:06 +02:00
2026-10-16 17:11:04 +02:00
2026-09-26 19:46:01 +02:00
2026-10-15 23:16:11 +02:00
2026-10-05 12:19:41 +02:00
2026-10-20 03:35:19 +02:00
2026-10-16 01:23:26 +02:00
2026-10-08 14:31:13 +02:00
2026-10-15 23:57:34 +02:00
2026-10-15 23:57:34 +02:00
2026-10-16 01:20:53 +02:00
2026-10-16 06:05:08 +02:00
2026-09-24 07:49:14 +02:00
2026-09-26 22:21:43 +02:00
2026-10-15 11:01:16 +02:00
2026-10-19 17:25:57 +02:00
2026-10-03 23:46:40 +02:00
2026-10-15 23:57:34 +02:00
2026-10-16 03:57:46 +02:00
2026-10-08 10:32:11 +02:00
2026-10-20 03:41:54 +02:00
2026-10-19 17:25:57 +02:00
2026-10-11 12:27:53 +02:00
2026-10-15 23:57:34 +02:00
2026-10-08 22:37:57 +02:00
2026-10-15 23:12:59 +02:00
2026-10-09 16:05:32 +02:00
2026-10-16 06:58:48 +02:00
2026-10-20 04:36:54 +02:00
2026-10-20 04:37:44 +02:00
2026-10-16 01:24:56 +02:00
2026-10-01 10:06:39 +02:00
2026-10-04 15:13:52 +02:00
2026-10-15 23:39:11 +02:00
2026-10-16 03:57:46 +02:00
2026-10-15 11:01:16 +02:00
2026-10-14 18:57:06 +02:00
2026-10-15 23:37:26 +02:00
2026-09-10 18:58:21 +02:00
2026-10-15 11:15:06 +02:00
2026-10-15 23:18:58 +02:00
2026-10-15 11:15:06 +02:00
2026-09-27 09:59:34 +02:00
2026-10-16 05:49:58 +02:00
2026-10-11 15:17:43 +02:00
2026-10-15 22:05:06 +02:00
2026-09-26 19:54:38 +02:00
2026-10-01 09:59:57 +02:00
2026-10-15 11:01:16 +02:00
2026-10-17 11:00:02 +02:00
2026-10-11 13:56:28 +02:00
2026-09-26 22:07:11 +02:00
2026-10-09 15:02:14 +02:00
2026-09-30 22:21:46 +02:00
2026-10-04 10:42:59 +02:00
2026-10-15 23:57:34 +02:00
2026-10-09 10:44:18 +02:00
2026-10-15 11:15:06 +02:00
2026-10-15 11:01:16 +02:00
2026-10-20 04:37:39 +02:00