
PHI (Protected Health Information)
PHI is any patient data that can identify an individual and relates to their health, treatment, or payment for care. Systems that touch PHI need specific safeguards around storage, transmission, and access, which shapes almost every architecture decision in a healthcare platform.
Key takeaways
- Identifiable patient data tied to health, care, or payment
- Includes many identifiers beyond name and diagnosis
- Shapes storage, transmission, access, and retention choices
- Isolate and minimize PHI to shrink the compliance surface
- Watch for PHI leaking into logs, analytics, and test data
What PHI means
PHI is the data HIPAA protects, and its scope is broader than expected: any information that identifies a person and relates to their health, care or payment. Beyond name and diagnosis, that includes dates, contact details, device IDs and IP addresses tied to health context.
Because PHI can touch almost any part of a healthcare platform, teams isolate it in well-guarded stores and limit how far it spreads. Watch for leaks into logs, error reports, analytics and test data; de-identification, tokenization and separate lower environments keep PHI contained.
When does this matter for a software build?
PHI matters for a software build whenever a feature makes a new copy of patient data or sends it somewhere new: an export, a search index, a message queue, a push notification or a support ticket. Each copy is another store that needs encryption, access rules and a retention decision, so the data flow map becomes part of the scope. Small details count too: a patient ID in a URL, a diagnosis in a lock screen notification or a file name in a storage bucket can all expose PHI.
What we would check first
- Which fields in the data model are PHI, and which services, queues and caches receive them.
- What the mobile app stores on the device, shows in notifications and sends to analytics or crash reporting SDKs.
- How long each store keeps PHI, and how a record is deleted or returned when a customer contract ends.
Explore this on Agnotic
Where PHI shows up in how we build.