De-identifying data for reports and sharing
Organizations often want to share statistics, research data or examples without exposing individuals. Here is how de-identification works, why simply removing names is rarely enough and how to reduce re-identification risk.

Why de-identify
There are many good reasons to use information about people without identifying them. A clinic reports patient volumes to a funder. A non-profit shares program outcomes with a grant agency. A business sends sample data to a software vendor for testing. A manager shares a case study at a conference. If the information truly cannot identify anyone, privacy obligations become much lighter.
Alberta's PIPA applies to information about an identifiable individual. Information that has been properly de-identified so that individuals cannot reasonably be identified generally falls outside it. The key word is properly. Many datasets that look anonymous can be linked back to real people with surprisingly little effort.
Removing names is not enough
Direct identifiers such as names, addresses, phone numbers, email addresses and account numbers are the obvious things to remove. But indirect identifiers, sometimes called quasi-identifiers, can be just as revealing in combination. A record showing a person's age, postal code and occupation may point to only one person in a small Alberta town. A rare medical condition, a distinctive job title or an unusual date can do the same.
Small numbers are the classic trap. A report saying that one employee in the Lethbridge office took medical leave in March identifies that person to everyone who works there. The smaller the community or group, the greater the risk.
Photographs, video and audio are especially hard to de-identify. Faces, voices, vehicles, tattoos and distinctive surroundings can all identify a person, so treat media with extra caution when sharing it for training or marketing purposes.
Practical techniques
De-identification is about reducing detail until individuals cannot reasonably be singled out, while keeping the data useful. Several simple techniques cover most everyday needs.
Apply these techniques together rather than relying on one. Removing names but leaving exact dates and small counts rarely protects anyone. The goal is that no one in the intended audience could reasonably work out who a record belongs to.
- Remove direct identifiers entirely
- Generalize details: age ranges instead of birth dates, regions instead of postal codes
- Suppress small counts, for example reporting fewer than five instead of an exact number
- Replace identifiers with codes, keeping the key separate and secure
- Remove free-text fields, which often contain names and details
- Round dates to the month or year
Coded data is not anonymous
Replacing names with codes, while keeping a key that links the codes back to people, is often called pseudonymization. It is useful for reducing exposure when data is used internally or shared with a trusted partner. But because the organization can re-identify the data, it is still personal information. It needs the same protections, just with a reduced risk if the coded data alone is exposed.
Keep the key separate from the coded data, with tighter access controls. Never send both to the same recipient unless they are entitled to the identified information.
Pseudonymized data is a good choice for testing software or sharing with an analyst, because it lowers the stakes without destroying the link you may need later. Delete the key when you no longer need to re-identify the records.
Check before you share
Before sharing de-identified data, ask who will receive it and what else they might know. A dataset that is safe to publish broadly may be identifying for a recipient who knows your staff or clients personally. Consider whether the data could be combined with other publicly available information to identify people.
Have someone other than the person who prepared the data review it with fresh eyes, looking for small counts, unusual values and free text. For sensitive information such as health data, or for large datasets shared externally, get specialist advice. Health custodians in particular have specific rules under the Health Information Act about non-identifying and de-identified health information. Document what you did, so you can explain your approach if questions are raised later.
- Age, location and job together can identify a person.
- Generalize details and suppress small counts before sharing.
- Coded data with a key is still personal information.