Add per-ingredient breakdown for combination meds & supplements #1

Merged
brian merged 1 commit from feature/medication-ingredients into master 2026-06-08 16:11:27 +00:00
Owner

Combination products (e.g. Oxycodone/Acetaminophen 10/325mg) and
multi-ingredient supplements can now record each ingredient and its
amount, linked to the medication.

  • New medication_ingredients table (FK to medications, cascade delete)
  • Medication create/update/list accept and return an ingredients array
  • Scan prompts split combination names/strengths and enumerate
    supplement facts into ingredients
  • Shared IngredientsField editor (with "split from name" helper) in the
    scan and edit modals; MedCard shows the breakdown

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

Combination products (e.g. Oxycodone/Acetaminophen 10/325mg) and multi-ingredient supplements can now record each ingredient and its amount, linked to the medication. - New medication_ingredients table (FK to medications, cascade delete) - Medication create/update/list accept and return an `ingredients` array - Scan prompts split combination names/strengths and enumerate supplement facts into ingredients - Shared IngredientsField editor (with "split from name" helper) in the scan and edit modals; MedCard shows the breakdown Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Combination products (e.g. Oxycodone/Acetaminophen 10/325mg) and
multi-ingredient supplements can now record each ingredient and its
amount, linked to the medication.

- New medication_ingredients table (FK to medications, cascade delete)
- Medication create/update/list accept and return an `ingredients` array
- Scan prompts split combination names/strengths and enumerate
  supplement facts into ingredients
- Shared IngredientsField editor (with "split from name" helper) in the
  scan and edit modals; MedCard shows the breakdown

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
brian merged commit b22d4027fb into master 2026-06-08 16:11:27 +00:00
brian deleted branch feature/medication-ingredients 2026-06-08 16:11:27 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
brian/medsync!1
No description provided.