fix(doctor-report): label the adherence denominator column as Expected

The dose-ledger adherence rate divides taken by taken + missed (deliberate
skips excluded), so the PDF compliance table's denominator column no longer
equals Taken + Skipped + Missed. Relabel it "Expected" so each row stays
internally coherent — Taken + Missed = Expected, with Skipped shown alongside
as informational and the rate reading Taken / Expected.

Also tighten the coach adherence-block wording: the headline is the
dose-weighted pool of taken / (taken + missed) across the user's scheduled
medications — exactly one medication's card rate for a single-med user, and the
honest overall adherence for several — never a per-day or per-week denominator
of its own.
This commit is contained in:
Marc-André Bombeck committed 2026-06-14 13:27:21 +02:00
1 parent 8e50a9b4cd
commit 461ed5b5e0
8 files changed
+28 -12

No files matched your search

+1
View File
@@ -75,6 +75,7 @@
"colSkipped": "Übersprungen",
"colMissed": "Verpasst",
"colTotal": "Gesamt",
"colExpected": "Erwartet",
"colComplianceRate": "Therapietreue",
"moodTitle": "Stimmungsverlauf",
"moodSummary": "Durchschnitt: {avg} / 5,0 · Einträge: {count} · Bereich: {min}–{max}",
+1
View File
@@ -75,6 +75,7 @@
"colSkipped": "Skipped",
"colMissed": "Missed",
"colTotal": "Total",
"colExpected": "Expected",
"colComplianceRate": "Adherence rate",
"moodTitle": "Mood trajectory",
"moodSummary": "Average: {avg} / 5.0 · Entries: {count} · Range: {min}–{max}",
+1
View File
@@ -75,6 +75,7 @@
"colSkipped": "Omitida",
"colMissed": "Perdida",
"colTotal": "Total",
"colExpected": "Esperadas",
"colComplianceRate": "Tasa de cumplimiento",
"moodTitle": "Evolución del estado de ánimo",
"moodSummary": "Promedio:{avg} / 5.0 · Entries: {count} · Range: {min}–{max}",
+1
View File
@@ -75,6 +75,7 @@
"colSkipped": "Sauté",
"colMissed": "Manqué",
"colTotal": "Total",
"colExpected": "Attendues",
"colComplianceRate": "Taux d'observance",
"moodTitle": "Évolution de l’humeur",
"moodSummary": "Moyenne:{avg} / 5.0 · Entries: {count} · Range: {min}–{max}",
+1
View File
@@ -75,6 +75,7 @@
"colSkipped": "Saltata",
"colMissed": "Persa",
"colTotal": "Totale",
"colExpected": "Attese",
"colComplianceRate": "Tasso di aderenza",
"moodTitle": "Andamento dell’umore",
"moodSummary": "Media:{avg} / 5.0 · Entries: {count} · Range: {min}–{max}",
+1
View File
@@ -75,6 +75,7 @@
"colSkipped": "Pominięte",
"colMissed": "Pominięte",
"colTotal": "Razem",
"colExpected": "Oczekiwane",
"colComplianceRate": "Wskaźnik przestrzegania",
"moodTitle": "Przebieg nastroju",
"moodSummary": "Średnia:{avg} / 5.0 · Entries: {count} · Range: {min}–{max}",