The flow below describes the existing arrangement, not an endorsement of its eligibility for patient data. Patient audio and text currently pass through Lovable-hosted application processing and the AI Gateway, not only through storage.
User device (web or mobile app)
Recording after participant-consent reminder,
or deliberate upload / paste / reviewed import
↓
Unpack application hosted by Lovable
↓
Lovable Cloud: audio, transcripts, outputs,
accounts and consent records (Frankfurt)
↓
Lovable AI Gateway → OpenAI transcription
↓
Transcript quality checks; bounded retry;
failed quality checks block analysis
↓
Lovable AI Gateway → OpenAI / Google Gemini
analysis, preparation and answers
(current user AI agreement required)
↓
Saved outputs → authorised users only
(explicit patient linkage and role-based sharing)
↓
User deletion / account-deletion process;
audio deletion after successful processing;
failed-audio deletion assurance remains open
Notifications: Firebase Cloud Messaging receives
device tokens and short notification text.
Provider backup and log deletion periods remain
unconfirmed.Device-local audio may be held temporarily while recording or upload completes. Retention and deletion assurance must cover device copies as well as application storage and provider copies.