mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-12 22:26:13 +00:00
feat(doctor-report): add sleep, HRV, steps, workouts and the medication effect
The standard report template now carries sleep duration, heart-rate variability as two labelled rows (SDNN and RMSSD), daily steps, a per-sport workout summary and the change around each medication start. Each still rides its module, and the template is still only applied by the button that names it; saved selections and share links are untouched. Two structured leaves join the catalogue: WORKOUTS (activity group, workouts module) and MEDICATION_EFFECT (medications group). The workout block reads narrow rows through the canonical-workout picker and sums them per sport. The effect block reuses the efficacy loader with the report's end as its horizon, carries a target only when that target's own measurement leaf is admitted, and is capped at eight medications. In the PDF the wearable series chart at half width, two to a row, in the units the table prints; the workout and effect blocks are compact tables with short notes. The clinician view renders both blocks from the same payload. RMSSD joins the dense day-bucket path so long windows stay aggregated.
This commit is contained in:
1 parent
1cf0582603
commit
9e2a0681b2
35 files changed
+1760
-47
No files matched your search
@@ -26155,7 +26155,7 @@ components:
|
||||
type: number
|
||||
const: 2
|
||||
leaves:
|
||||
maxItems: 104
|
||||
maxItems: 106
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
@@ -26215,7 +26215,7 @@ components:
|
||||
type: number
|
||||
const: 2
|
||||
leaves:
|
||||
maxItems: 104
|
||||
maxItems: 106
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
@@ -29248,7 +29248,7 @@ components:
|
||||
type: number
|
||||
const: 2
|
||||
leaves:
|
||||
maxItems: 104
|
||||
maxItems: 106
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
|
||||
Reference in new issue
Block a user