# AI on health data: how the data is protected before the model sees it

*Health-tech, work for a client under NDA and a data processing agreement. No client name, data or results are published.*

**Short answer:** in health-tech projects with real client data, we work under GDPR and a data processing agreement, remove or mask identifying details before any model sees the data, and keep the processing inside the client's environment or the EU.

## What was the work?

**Short answer:** three kinds of tasks on real client data: protecting personal data, a language-model assistant for medical documents, and forecasting and analysis on patient data.

- **Protecting personal data:** de-identification and masking.
- **A language-model assistant for medical documents.**
- **Forecasting and analysis on patient data.**

This is not clinical care, not clinical decision support and not medical-device evidence.

## Under which conditions do we work?

**Short answer:** a data processing agreement with the client and GDPR as the legal frame. Without them the work does not start.

Real data stays under NDA. We publish no data and no client details.

## How is the data protected?

**Short answer:** in two ways, both applied before the model works on the data.

1. **De-identification or masking before the model.** Identifying details are removed or masked first, so the model works on data that no longer points to a person.
2. **Processing in the client's environment or in the EU.** The data stays in the client's environment or the EU region.

## What does it mean for your project?

**Short answer:** if an AI feature touches health data, decide the protection before the first model call, not after the first test.

Our [AI Security Review](/ai-security) checks retrieval access, logs and outputs against this kind of rule. The open research [WardBench](https://github.com/WardBench/wardbench) tests it on synthetic records. To run the first security tests yourself, see the [free checklist series](/checklist-series).

<!--series-card:main:guide-health-data-->

**Next:** [Twelve security tests](/guides/ai-security-twelve-tests) · [Cross-tenant retrieval](/guides/cross-tenant-retrieval) · [LLM logging and privacy](/guides/llm-logging-privacy) · [AI Security Review](/ai-security) · [Request scope](/#scope)
