Skip to content

Insights

What it takes to put AI into clinical documentation under GDPR

The hard part is not the model. It is where patient data goes, how long it lives and who signs off. Lessons from building MedDock for Meliva: in-memory audio, all processing in the EU, DPO sign-off and measured outcomes.

Mantas, FounderPublished Updated

Under GDPR, the hard part of putting AI into clinical documentation is not the model. It is deciding where the audio and patient data go, how long they live, and who signs off before anything ships. In MedDock, the tool we built for InMedica, now Meliva, recordings are processed in memory and destroyed within 30 seconds, all processing runs in the EU, no patient data goes into training, and every deployment shipped with the Data Protection Officer's sign-off. Doctors save 15-35% of the time per consultation.

This is what we learned building it. MedDock is a private build for one healthcare network, so read this as one team's experience, not a universal recipe.

What problem are you actually solving?

Be precise about it. Meliva did not have a shortage of doctors. About 40% of a doctor's day went to paperwork. The E025 electronic health form is the default output of every consultation, and filling it in by hand is a cost paid on every single patient.

That framing matters for everything that follows. The goal was not a clever AI feature. It was getting the E025 written while the doctor talks to the patient as usual, and giving that time back.

Should you buy a product or build for one clinic?

For Meliva the answer was to build. Every design decision was made against their own setup: their E025 form flow, their patient journey, their existing health-record stack and their DPO's sign-off procedure. A generic product would have needed all of those bent to fit it.

Building for one client also changes the privacy conversation. MedDock was built only for Meliva and is not sold or licensed to other clinics. There is no backend shared with other clinics to explain to anyone.

Where does the patient data go, and for how long?

This is the question your DPO will ask first, so answer it in the architecture, not in a policy document written afterwards. In MedDock:

  • Consultation recordings are processed in memory and destroyed within 30 seconds.
  • All processing runs in the EU.
  • No patient data enters any training corpus.
  • Every action is covered by a full audit trail.

The same goes for every provider in the stack. If a cloud host or a model API touches patient data, name it in the design, keep its processing in the EU and have a data processing agreement in place before launch.

Short retention is not only a compliance point. If audio does not exist after 30 seconds, it cannot leak later, it does not need a retention schedule, and nobody has to decide who may listen to it.

What does the Data Protection Officer need to sign off?

We treated DPO sign-off as a release gate, not a formality. No MedDock deployment shipped without it. In practice that means being able to show, plainly and for each deployment, what data is processed, where it is processed, how long it exists and how access is recorded. If you cannot draw that on one page, you are not ready to ship.

It also means involving the DPO early. Their procedure was one of the inputs to the design, not a review at the end.

How do you split the work between models?

One model doing everything is hard to check. MedDock uses four steps, each with a narrow job:

  • A fine-tuned speech-to-text model transcribes the consultation in Lithuanian, Russian, Polish or English.
  • A second model structures the transcript into the E025 fields.
  • A third suggests ICD-10 diagnosis codes based on the conversation.
  • A fourth drafts a plain-language summary for the patient.

Narrow steps make errors easier to find. If a field is wrong, you know which step to look at.

Who has the final word on the record?

The doctor, every time. MedDock drafts and the doctor decides. The flow ends with the doctor reviewing the E025 and the summary, editing if needed and only then sending the summary to the patient as an encrypted PDF. ICD-10 codes are suggestions, not entries.

This is both a safety point and a practical one. Doctors trust a tool that never writes to the record behind their back.

How do you measure whether it works?

Agree on the measures before launch and measure against what doctors already accept. For MedDock we tracked two things:

  • Summary accuracy against a doctor-reviewed baseline: 98%.
  • Time saved per consultation: 15-35%.

A range is more honest than one headline number. Consultations differ, and so does how much documentation each one needs.

What is the short checklist?

  • Name the documentation burden you are removing, such as the E025 per consultation.
  • Decide and document where processing happens, for example in the EU, and sign a data processing agreement with every provider.
  • Keep recordings for seconds, not days, and keep patient data out of training.
  • Make DPO sign-off a release gate and log every action.
  • Split the work into narrow model steps you can check one by one.
  • Keep the doctor as the final reviewer of every record.
  • Measure accuracy and time saved against a doctor-reviewed baseline.

Contact

Tell us what you need to build

Write a few sentences about the project and its constraints. A founding team member replies within one business day.