feat(medications): add mental health as a medication category

Antidepressants, anxiolytics, mood stabilisers and ADHD medication had no
category of their own and ended up under "Other". MENTAL_HEALTH joins the
clinical category list: the add and edit wizard offers it as its own row
with a brain icon, the card badge names it, and it is translated in all
seven languages.

The category is a text value, so no migration is needed. Clients that
read the category as a string show the new value; an app that does not
know it yet falls back to its own label for it.
This commit is contained in:
Marc-André Bombeck committed 2026-09-27 13:51:39 +02:00
1 parent 8295dfe9b6
commit a224875ed9
14 files changed
+53 -4

No files matched your search

+3
View File
@@ -23985,6 +23985,7 @@ components:
- SLEEP_AID
- DIABETES
- ANTIBIOTIC
- MENTAL_HEALTH
- OTHER
treatmentClass:
type: string
@@ -24321,6 +24322,7 @@ components:
- SLEEP_AID
- DIABETES
- ANTIBIOTIC
- MENTAL_HEALTH
- OTHER
treatmentClass:
type: string
@@ -44086,6 +44088,7 @@ components:
- SLEEP_AID
- DIABETES
- ANTIBIOTIC
- MENTAL_HEALTH
- OTHER
description: Clinical taxonomy stored in the `medication_categories` side-table. Orthogonal to `MedicationTreatmentClass`.
CreateMedicationResponse: