Skip to content

Add bolusOrigin to bolus treatments#3

Open
bjorkert wants to merge 1 commit into
LoopKit:mainfrom
bjorkert:bolus-origin
Open

Add bolusOrigin to bolus treatments#3
bjorkert wants to merge 1 commit into
LoopKit:mainfrom
bjorkert:bolus-origin

Conversation

@bjorkert

@bjorkert bjorkert commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Adds an optional bolusOrigin field (remote / watch / manual / shortcut) to bolus treatments so an uploader can record where a user-initiated bolus came from. Round-trips through the dictionary representation and parses from existing entries; absent for automatic boluses.

Used by LoopKit/NightscoutService#27 and LoopKit/Loop#2455; the shared LoopKit side is LoopKit/LoopKit#594.

Carry an optional machine-readable origin (remote/watch/manual/shortcut) on
bolus treatments so an uploader can record where a user-initiated bolus came
from. Round-trips through the dictionary representation and parses from
existing entries; absent for automatic boluses.
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