Skip to content

feat(api): add log_medication method to HuckleberryAPI#40

Open
sayanm-10 wants to merge 2 commits intoWoyken:mainfrom
sayanm-10:main
Open

feat(api): add log_medication method to HuckleberryAPI#40
sayanm-10 wants to merge 2 commits intoWoyken:mainfrom
sayanm-10:main

Conversation

@sayanm-10
Copy link
Copy Markdown

@sayanm-10 sayanm-10 commented Apr 16, 2026

  • Writes medication entries to health/{child_uid}/data subcollection and updates prefs.lastMedication when the logged entry is the most recent.

  • Supports optional amount, units (ml/oz/tsp/drops), and notes fields.

Closes issue #33

Writes medication entries to health/{child_uid}/data subcollection and
updates prefs.lastMedication when the logged entry is the most recent.
Supports optional amount, units (ml/oz/tsp/drops), and notes fields.
Covers basic dose logging, optional amount/units, explicit past
timestamps, and notes fields.
@sayanm-10 sayanm-10 closed this Apr 16, 2026
@sayanm-10 sayanm-10 reopened this Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant