Bridge FEMM
Bridge
Client-side bridge: imports JSON exports from the FEMM Health App into HDS via direct browser upload (no server-side component).
Data Synced
Section titled “Data Synced”- Cycle days, period bleeding, brown/dark coloration
- Cervical mucus observations (via the data-model
cervical-fluidconverter, FEMM v0 method) - Basal body temperature (auto-converted F → °C when needed)
- Cycle phase, peak day, fertile window
- Sexual activity, LH and pregnancy test events
- Physical symptoms (cramps, headache, nausea, …)
- Emotional symptoms (anxiety, mood swings → mood vectors; cant_focus, insomnia → dedicated items)
- Custom medications with time-of-day placement
- User notes
- Profile metadata (cycle/period averages, FEMM-specific goal/stage)
- User uploads a FEMM JSON export in the bridge webapp
- Webapp authenticates to the user’s Pryv account via web auth flow
- Browser parses the export, runs a diff against existing raw events, and lets the user preview new / changed / deleted entries
- On confirm, raw
raw-events/femm-day-v1events are written and converted into standard HDS events
Tech Stack
Section titled “Tech Stack”- TypeScript conversion library (browser-friendly, no server)
- React 19 + Vite test webapp (forthcoming)
- Depends on
hds-libanddata-modeldirectly (nolib-bridge-js)
Status
Section titled “Status”In active development — see plan 33 in the macro workspace.