Erasing an End User's Account
When one of your end users asks you to erase their personal data (GDPR Article 17, Swiss FADP), MedBackend erases their identity and keeps their clinical record without the identity attached. This page states what happens to each kind of data, so you can describe it accurately in your own privacy notice.
This applies to accounts on the default identity provider, medbackend-oauth. If your project signs users in through a different provider, that provider holds their account and you erase it there.
Requesting an erasure
Ask MedBackend to erase the account, giving your project and the email address the request came from. You are the controller and you receive the request; MedBackend carries it out as your processor. There is no API for this; erasure is carried out on request.
An erasure covers one project. If the same person has an account in another MedBackend project, that account belongs to a different controller and is not touched.
What happens to each kind of data
| Data | What happens |
|---|---|
| The account: email, name, password, verification and password-reset links, invitations, linked Google sign-in, sessions | Erased. The person can no longer sign in or renew a session, and nothing in the account identifies them. An access token issued before the erasure stays valid until it expires, at most one hour. A record that an account existed and was erased is kept, without anything identifying the person |
| The Patient resource | Kept, so every clinical resource that refers to it still resolves. Its name, contact details, identifiers and other demographics are removed, including from its earlier versions. It is marked inactive |
| Clinical resources (observations, conditions, documents and the rest of the patient's compartment) | Kept unchanged |
| The audit trail | Kept unchanged. One entry recording the erasure is added |
A practitioner's account is erased the same way. The Practitioner resource is kept unchanged, including the name and contact details written at sign-up, because other patients' records attribute their care to it.
What this does not do
- Clinical content is not rewritten. If a note or document in the record names the patient, or a rare combination of facts identifies them, the kept record can still identify them. Check whether your records contain such content before you tell the person their data is anonymous.
- The clinical record is not deleted. Where you have a legal duty to keep medical records, this is what you need. MedBackend does not offer deletion of the clinical record itself, including where no retention duty applies.