Implements OAuth code flow, subscription webhooks, and scheduled pulls. Maps sleep stages and HR/HRV to FHIR Observations with provenance.
Manages Fitbit OAuth, rate-limit compliance, and sleep/HR/steps retrieval with reconciliation for partial days and device swaps. Preserves raw vs. derived series for accurate downstream use.
Benefits
- Stable sync under vendor throttles
- Better sleep & HR fidelity
- Clear lineage from raw to derived
Great for:
- Population Health and Remote Monitoring Teams: Access normalized sleep, HR, and HRV data with clear lineage for longitudinal tracking and patient outreach.
- Platform Engineers: Maintain stable sync under vendor throttles with built-in reconciliation for partial days and device swaps.
- Data Governance Leads: Preserve raw vs. derived series for defensible analytics and downstream filtering across clinical and wellness contexts.


