Files

4.0 KiB

One platform

Diplodoctor is one health platform, not a family of apps. A shared core holds people, measurements, medicines, appointments, documents, tasks, teams and consent. Your own file, a care-home round, a practice visit and a pharmacy supply list are views on that core: each is a route and a set of permissions in the same Next.js app. ROADMAP.md has the status of each; this page says how they fit.

Hard rules that hold for every view: information, not diagnosis; flags come from arithmetic, not from a model's judgement; no real resident or patient data in this public repository or its demos (synthetic only); institutional data never mixes with a personal file except by a recorded consent.

One core, views per setting

View Uses from the core Status
Personal file Documents, measurements, medicines, appointments, profile Live
Symptom check-in A symptom note with urgency and red flags Live
Measurements Measurements and trends Live
Find care Profile (postcode, insurance model); no stored position Live
Marketplace Care team, through OrangeCat services Next
Care-home round A unit's residents, due measurements, to-dos; CSV export Next (synthetic only)
Practice The same file plus questions and an appointment Next
Care abroad Marketplace listings with legal and quality rules Later
Pharmacy Medication lists and change tasks for a supplying pharmacy Later (partner)
Hospital The same core behind the hospital's own systems Later
Devices, EPD Measurements with a device source; the national record Later

Today the file is two lists in the browser (reports and items) and, if the owner opts in, one sealed copy per signed-in account. There is no separate "person" record yet: the owner is implied. Giving the core a person, an organisation and a recorded share, without breaking existing files, is the first step of "Next".

Privacy tiers

  • Personal. The working copy lives in the browser. A report is anonymised there before a model sees it. An optional server copy is sealed; until keys only the owner holds exist, the operator could open it, and the switch says so. Nothing is used to train a model. Location (Find care) is asked for on a button press, rounded to about 1 km, and neither stored nor logged.
  • Institution. A separate deployment for one organisation (on its own premises, or hosted in Switzerland under a contract), subject to the Swiss data-protection law and, for public homes, cantonal rules and professional secrecy. Never a shared database with the personal app.
  • Handover. A person exports, or later consents to share, a defined slice with an organisation, and can receive a copy back. No silent sync.

Build order

  1. Live, shipped: personal file, symptom check-in, measurements, Find care.
  2. Core, just enough: an implied person in personal mode, organisations and units, a recorded share, all optional so existing files keep loading.
  3. Care-home round: a demo with made-up residents; vitals, one "next resident" button, a CSV at the end, flags against stated limits.
  4. Marketplace and practices: services through OrangeCat; a practice receiving a file the person chooses to hand over.
  5. Later: care abroad (after legal and quality rules), pharmacies, hospitals, devices (needs an explicit yes for hardware), the EPD.

Anything that costs money, needs hardware, or goes near real residents needs an explicit yes first.