ForMyMedical Architecture

Architecture • v0.33.0

Patient-owned data, clinic-aware workflows.

The production design separates patient-owned Personal Health Record data from clinic/provider workflow records, with explicit access, sharing, export and deletion controls.

← FMM home

1 • EXPERIENCE

Patient • Family • Provider • Clinic

One application shell, different role-aware workspaces. Patients see only their own authorized record and relationships.

2 • IDENTITY & ACCESS

Login, roles, consent

Authenticated accounts, multi-factor authentication direction, role-based access, patient sharing grants and revocation.

3 • APPLICATION API

Patient-centric services

Accounts, care team, medications, appointments, labs, documents, learning, requests, follow-up and notifications behind a stable API.

4 • DATA & AUDIT

PostgreSQL + secure files

Structured records in PostgreSQL, encrypted document/object storage, immutable-style audit events, source provenance and consent history.

5 • CONNECTIONS

FHIR, labs, devices

FHIR APIs, approved provider/lab integrations, phone/wearable sources and secure notification providers. Availability differs by organization.

6 • AI ADAPTER

Optional, replaceable AI

1min.AI, OpenAI, Gemini or other providers sit behind an adapter. Sensitive patient data is not sent until privacy, contracts and controls are approved.

PATIENT DATA LIFECYCLE
1. Save

Manual entry, upload or authorized import.
2. Use

Today, labs, meds, visits, learning and follow-up.
3. Share

Explicit patient grant to caregiver/provider/clinic.
4. Export

Download a portable copy of patient-owned data.
5. Revoke

Stop future sharing/connection access.
6. Delete

Delete eligible ForMyMedical patient-owned data and account.

Deletion must be precise

Patient-owned Personal Health Record data should have clear export and deletion controls. If a clinic/provider is legally required to retain its own clinical/business record, ForMyMedical must identify that separately rather than claiming the clinic’s regulated record has been erased.

PATIENT CONTROL
My Data Controls →

SYNTHETIC SCALE
200 clinics / 2,000 patients →

Architecture direction only. Production health-data handling requires privacy, security, regulatory and legal review before real patient data is stored.