Trust & compliance

How your patients' data is actually handled

Health information carries the highest stakes of any personal data. This page describes what Medoc does — not what it intends to do.

Architecture

Every practice is a sealed world

Many unrelated doctors use Medoc independently, the way many unrelated businesses use the same accounting software. Nothing about one doctor's patients is ever visible to another, even though both run on shared infrastructure.

Every clinical record lives under your practice. Every write re-derives which practice you are from your verified session — never from the request — so a crafted request cannot reach another practice's data. Firestore Security Rules enforce the same boundary at the database layer as a second, independent line of defence, so a bug in application code still cannot leak data across practices.

There is no global "patients" collection to leak by accident. The only cross-practice pointer that exists anywhere in the system is a link a patient created themselves by redeeming a code you gave them.

Documents

No clinical document ever has a permanent URL

Lab reports, scans, discharge summaries and generated prescriptions live in a private object store with no public access. Every single view or download mints a fresh, signed link that expires in five minutes, issued only after re-checking that the person asking still has permission for that exact document.

Uploads go straight from the browser to storage using a short-lived signed link, so a 40 MB scan never streams through our servers. The storage key is generated on the server — never accepted from the browser — and the server verifies the file actually landed, at its real size, before writing any record of it.

Clinic logos and profile photos live in a separate public bucket. Nothing patient-identifiable is ever written there.

Regulation

The DPDP Act, 2023

India's Digital Personal Data Protection Act applies to every SaaS company and every healthcare provider processing personal data of Indian residents. There is no small-business carve-out, and penalties are assessed per violation.

  • Explicit, purpose-specific consent is captured at both doctor sign-up and patient sign-up, and logged immutably with a timestamp.
  • An append-only audit trail records who accessed or changed what — the evidence required in a breach inquiry. Reads are logged, not just writes.
  • Patients have a rights centre that implements Data Principal rights end to end: see everything held, export it, request correction, request erasure, and see exactly which doctors currently hold a link.
  • Ecogenius Technology Pvt. Ltd. is the data fiduciary as platform operator. Each doctor is a co-controller of their own patients' data — a relationship spelled out in the doctor Terms of Service at sign-up.
Erasure requests on clinical records are filed to the treating doctor rather than executed automatically. Medical-council retention norms require treatment records to be kept, and that judgement belongs to the doctor who authored them — not to us.

Identity

The verification gate

Before any patient data can leave the platform — before a doctor can invite a patient to the portal or issue an e-prescription — we confirm their medical council registration number. A real person reviews it, and the decision is written into that practice's own audit trail.

Verifiedis a claim backed by a human decision, not a self-assertion.

Security baseline

The rest of the floor

  • TLS everywhere, enforced at the edge.
  • Database records encrypted at rest with Google-managed keys; stored objects encrypted at rest with Cloudflare-managed keys.
  • Passwords are a minimum of 10 characters with leaked-password protection enabled, hashed by Firebase Authentication — we never see or store one.
  • Session cookies are httpOnly and Secure, checked for revocation on every request, so disabling an account or forcing a sign-out takes effect immediately rather than at cookie expiry.
  • Rate limiting on the invite-code claim endpoint, so a 6-character code cannot be brute-forced.
  • Role and practice are checked at three independent layers: the edge, the server action, and the database rules.

Portability

Your records are yours to take

A doctor never loses access to their own clinical records. There is no subscription to lapse and no billing state that can lock a chart: export is always available, and nothing is ever deleted out from under you.

Patients can export everything held about them, across every linked doctor, as a single file, at any time.

Roadmap

ABDM / ABHA

The Ayushman Bharat Digital Mission is a federated, consent-based exchange layer — it does not centralise records. That is architecturally the same shape as Medoc's own tenant model, which was a deliberate choice: ABDM support arrives as a thin adapter (ABHA capture, HFR/HPR registration, FHIR R4 export) rather than a rebuild. Clinic Pro subscribers get early access.

Grievance officer

Raising a concern

Under the DPDP Act, every Data Principal has the right of grievance redressal. Write to the grievance officer at Ecogenius Technology Pvt. Ltd. and you will receive an acknowledgement within three working days.

grievance@ecogenius.tech

This page describes the platform's technical and organisational measures. It is not legal advice, and it does not replace the Terms of Service or Privacy Policy you accept at sign-up.