mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-13 06:32:03 +00:00
feat(medications,coach,insights): record the dose you actually took
An intake can carry the dose that was actually taken — editable in the quick-add and log dialogs, shown as a quiet deviation line in the history. The measurements and mood lists refresh by pull on touch, the insight sub-pages gain the same customize entry as the overview, and an answered coach follow-up offers to adopt the answer into the matching self-context field.
This commit is contained in:
1 parent
ce3b4c70c8
commit
7e7e17c68c
29 files changed
+886
-744
No files matched your search
@@ -4709,6 +4709,13 @@ components:
|
||||
type: string
|
||||
format: date-time
|
||||
pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
|
||||
doseTaken:
|
||||
description: Dose actually consumed for THIS intake when it deviates from (or documents) the medication's configured
|
||||
dose, e.g. a half tablet or a titration step. Free text, max 50 characters. Omit to record the take under
|
||||
the medication's configured dose.
|
||||
type: string
|
||||
minLength: 1
|
||||
maxLength: 50
|
||||
required:
|
||||
- medicationId
|
||||
description: Per-medication intake log body. Idempotent via `idempotencyKey`; the server also dedupes by a 60-second
|
||||
|
||||
Reference in new issue
Block a user