Skip to content

Include the backfill tag in glucose datum payloads - #43

Merged
ps2 merged 2 commits into
next-devfrom
glucose-backfill-flag
Oct 14, 2026
Merged

ps2 merged 2 commits into
next-devfrom
glucose-backfill-flag

Conversation

@ps2

@ps2 ps2 commented Oct 13, 2026 •

Copy link
Copy Markdown

Glucose data carry, in the datum payload:

  • isBackfill: true for samples marked isBackfill.
  • receivedTime (ISO 8601, when Loop received the reading) for every sample with a received date, so lag on live readings can be compared with backfill.

I used the payload rather than an annotation because annotation codes are a defined vocabulary.

Depends on LoopKit/LoopKit#646.

CBG data for samples marked isBackfill carry isBackfill and receivedTime in their payload.
Previously only backfilled samples carried it; live samples now do too, so lag can be compared against backfill.
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