Quality, safety and people · lesson 2 of 8
Ideas in this lesson
APrivacy by designprivacy built in from the start, and on by default
BProportionalitycollect only what the purpose needs
CPrivacy impact assessmenta structured look at a system’s privacy risks

Privacy by design

Last updated

Pila knows who visits the health centre, when, and, with the vaccination reminders, about their babies' health. That's sensitive personal information under Philippine law. In this lesson you'll meet the seven principles of privacy by design, the duties the Data Privacy Act of 2012 puts on anyone who processes personal data, and the privacy impact assessment the National Privacy Commission recommends. Then you'll decide, field by field, what Pila should collect at all.

By the end of this lesson you can

  • Name the principles of privacy by design, and apply them to a feature
  • Apply the Data Privacy Act’s principles of transparency, legitimate purpose and proportionality
  • Collect only the data a feature needs

Seven principles

In the 1990s, Ann Cavoukian, later the information and privacy commissioner of Ontario, Canada, set out privacy by design: privacy built into systems from the start, not added after a complaint. Her seven principles:

Privacy by design: the seven principles
PrincipleFor Pila
Proactive, not reactive; preventive, not remedialThink about privacy in planning, before any data is collected
Privacy as the default settingA patient who does nothing has the most privacy: no reminders until they agree
Privacy embedded into designPart of the design document, not a separate add-on
Full functionality: positive-sum, not zero-sumReminders that work and protect privacy; not one or the other
End-to-end security: full life-cycle protectionFrom collection to secure deletion, backups included
Visibility and transparencyTell patients plainly what’s collected and why
Respect for user privacy: keep it user-centricEasy to opt out: text STOP

The Data Privacy Act

In the Philippines, the Data Privacy Act of 2012 (Republic Act 10173) applies to anyone processing personal information, including a barangay and the company it hires. It's enforced by the National Privacy Commission (NPC). Three of its principles shape design directly:

  • Transparency: people know what's collected, why, and by whom.
  • Legitimate purpose: data is collected for a declared, lawful purpose, and not used for others.
  • Proportionality: only the data that purpose needs, kept only as long as it's needed.

The Act defines sensitive personal information, which includes a person's health. It may only be processed in the cases the law allows, such as with the person's consent, and needs stronger protection. Pila's reminders, which reveal that a family has a baby due a vaccine, fall under that.

This is a summary for learning, not legal advice; a real project would check with the barangay's data protection officer.

What should Pila collect?

Ate Cora's first form for the reminders asked for everything the paper records have. Choose what the feature actually needs:

0 of 8 placed right

  1. The phone number to text

  2. The vaccine and the date it’s due

  3. Which health centre to go to

  4. The mother’s full name

  5. The family’s home address

  6. The baby’s full date of birth

  7. Religion

  8. PhilHealth number

Data you never collect can't leak, can't be misused, and doesn't need protecting.

A privacy impact assessment

The NPC recommends a privacy impact assessment (PIA) for systems that process personal data: a structured look at what's collected, what could go wrong for the people it's about, and what's done about it. Do a short one for the reminders:

Privacy impact assessment: vaccination remindersKept in this browser only
  • Names the data (not yet)
  • Says where it’s stored (not yet)
  • Says who can see it (not yet)
  • At least two risks (not yet)
  • Thinks about the person, not just the system (not yet)
  • At least one measure for each risk (not yet)
  • Something about consent or opting out (not yet)
  • Something about retention or deletion (not yet)
Write each part until its checks pass.

Spot the trap: “we might need it someday”

Spot the trapMarco

Designing the reminders table, Marco adds columns for address, birthday and PhilHealth number. “We don’t use them yet, but we might need them someday. Easier to collect now.”

What happens if…

Check what you learned

What does “privacy as the default” mean for Pila’s reminders?
Under the Data Privacy Act, information about a person’s health is…
Which principle says to collect only what the purpose needs?

Sources

Every claim on this page comes from these sources: the standard, the founding text of a method, a study, or the official record of a project, from the body that publishes it. Industry reports are labelled as such.

All sources for Simple Software Development