Privacy Policy & Data Charter
MedSync is engineered around a core principle: your medical data belongs to you alone. We practice strict data minimization, granular Row-Level Security, zero advertising tracking, and transparent alignment with India's Digital Personal Data Protection Act, 2023.
Row-Level Security
Cloud health records in Supabase PostgreSQL are cryptographically isolated per user with strict database policies.
TLS 1.3 & SecureStore
Encrypted in transit with TLS 1.3. Device session keys are stored in hardware-backed Android Keystore / iOS Keychain.
DPDP 2023 Rights
Machine-readable data export and permanent server account deletion under Section 12 of the DPDP Act 2023.
01 / Data Fiduciary & Core Philosophy
MedSync ("we", "our", or "the platform") operates as an open-source medication adherence and caregiver safety platform. Under India's Digital Personal Data Protection Act, 2023 (Act No. 22 of 2023, Republic of India), MedSync acts as the Data Fiduciary regarding the personal health data processed within the application.
We adhere strictly to purpose limitation and data minimization. We do not sell, broker, or monetize your health data, nor do we build behavioral profiles for insurance or commercial advertising purposes.
02 / Categories of Data We Process & How It Works
To deliver medication alarms, caregiver alerts, and prescription digitization, MedSync processes the following categories of data:
- Prescription Documents & AI OCR: When you snap a prescription photo, the image is transmitted securely over TLS 1.3 to Supabase Storage and parsed by our serverless AI Vision edge function to extract medication names, dosage strengths, and schedules. Images are stored securely in your private storage bucket and queued for clinician review before schedules become active. Informed consent is gathered prior to your first scan.
- Medication Schedules & Adherence Logs: Timestamps when doses are logged as taken, missed, or snoozed, along with medication inventory counts.
- Caregiver & Doctor Pairings: Cryptographic 8-character pairing codes with 15-minute expiry, status indicators, and permission links between patients, family caregivers, and verified clinicians.
- Device Push Tokens: FCM and Expo notification tokens used strictly to dispatch urgent missed-dose notifications and refill alerts.
03 / Cloud Architecture, Storage & Sub-processors
MedSync uses a defense-in-depth architecture combining cloud security with on-device hardware protections:
- In Transit: All communications between the mobile application and backend services are encrypted using Transport Layer Security (TLS 1.3 / HTTPS).
- At Rest (Cloud): Stored in an encrypted Supabase PostgreSQL database protected by Row-Level Security (RLS) policies. Patients can only query their own records, caregivers can only inspect actively linked dependents, and doctors can only access patients under clinical care.
- At Rest (Device): Authentication session tokens are stored using
expo-secure-store, backed by the hardware-isolated Android Keystore and iOS Keychain. - Zero Advertising SDKs: We never integrate Google AdMob, Facebook Pixel, Mixpanel, AppsFlyer, or data brokers.
Authorized Sub-processors
The following service providers assist in providing core platform infrastructure:
| Processor | Role | Data Processed | Location |
|---|---|---|---|
| Supabase Inc. | Database, Auth, Storage, Edge Functions | Encrypted health schedules, user profiles, prescription photos | Cloud Region (AWS/Supabase) |
| Google LLC (Gemini AI Vision API) | Prescription Optical Character Recognition (OCR) | Ephemeral image payload for text extraction; zero customer retention; never used to train public foundation models | United States / Global Cloud Infrastructure |
| OpenAI, LLC (GPT-4o Vision API) | Prescription Optical Character Recognition (OCR) | Ephemeral image payload for pharmaceutical parameter extraction; subject to enterprise API data terms; never used to train public models | United States |
| OpenStreetMap Foundation (Nominatim API) | Clinical Facility & Practice Address Geocoding | Practice address text queries during clinician verification; ephemeral transit logs only; zero patient PHI | United Kingdom / European Union |
| Google Firebase (FCM) | Push Notification Gateway | Device push tokens, dose alert titles | Global Infrastructure |
| Expo (650 Industries) | Mobile Build Pipeline & Push Relay | App build artifacts, notification routing | United States |
04 / The Doctor Care Loop & Clinical Safety
In accordance with medical safety ethics, MedSync does not permit unverified automated prescription modifications:
CLINICAL SAFETY MANDATEAI transcription is treated strictly as an initial draft. Scanned prescriptions are queued for verification by a licensed medical practitioner or confirmed by an active caregiver before dosage regimens become active in the medication schedule.
05 / Your Rights as a Data Principal (DPDP Act 2023)
Under Chapter III of India's Digital Personal Data Protection Act, 2023, you retain enforceable rights:
Right to Access (Section 11)
Inspect all recorded medication data at any time and export a standardized machine-readable JSON health report.
Right to Correction & Erasure (Section 12)
Correct inaccurate health records or trigger complete deletion of your account, database records, and prescription images.
Right to Nominate (Section 14)
Designate a family caregiver or legal guardian to access and manage your adherence schedule in the event of incapacity.
Right of Grievance Redressal (Section 13)
Direct grievance redressal through our designated security channel with resolution procedures under Indian law.
06 / Data Retention, Uninstall vs. Account Deletion
It is important to understand the difference between uninstalling the mobile app and deleting your account:
- Uninstalling the App: Removes local app sandbox storage, cached schedules, and hardware keychain tokens from your physical phone. However, encrypted records in Supabase remain associated with your registered account so your schedule is preserved if you reinstall.
- Deleting Your Account (Permanent Erasure): To permanently purge all records from both your phone and cloud servers under Section 12 of the DPDP Act 2023, navigate to Settings → Delete Account. This triggers our database procedure (
delete_user_account) which cascades deletion across prescriptions, logs, paired links, push tokens, and storage buckets.
07 / Data Fiduciary, Contact & Grievance Redressal
Under the DPDP Act 2023, the designated Data Fiduciary for MedSync is Aditya Kumawat (Lead Open-Source Maintainer). Patients and caregivers may exercise data rights or file grievances through the following verified channels: