mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-15 23:12:04 +00:00
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:
1 parent
8295dfe9b6
commit
a224875ed9
14 files changed
+53
-4
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user