AI Dictionary of Terms

PHI (Protected Health Information)

Any individually identifiable health information held or transmitted by a covered entity or its business associate, in any form or media, whether electronic, paper, or oral, as defined by the HIPAA Privacy Rule in the United States.

The Simple Version

PHI is any piece of health data that can be used to figure out who the patient is. It’s not just the medical diagnosis; it’s the diagnosis plus the patient’s name, birth date, address, or even their IP address. If you can link the health information back to a specific person, it’s PHI, and it is heavily protected by law.

Detailed Explanation

Under HIPAA, there are 18 specific identifiers that, when linked with health information, constitute PHI:

  1. Names
  2. Geographic subdivisions smaller than a state (e.g., street address, city, ZIP code)
  3. All elements of dates (except year) directly related to an individual (birth date, admission date, etc.)
  4. Telephone numbers
  5. Fax numbers
  6. Email addresses
  7. Social Security numbers
  8. Medical record numbers
  9. Health plan beneficiary numbers
  10. Account numbers
  11. Certificate/license numbers
  12. Vehicle identifiers and serial numbers
  13. Device identifiers and serial numbers
  14. Web Universal Resource Locators (URLs)
  15. Internet Protocol (IP) address numbers
  16. Biometric identifiers (fingerprints, voiceprints)
  17. Full-face photographic images
  18. Any other unique identifying number, characteristic, or code

De-identification: To use health data for AI training or research without patient consent, it must be de-identified. HIPAA provides two methods:

Key Characteristics

Business Context

Handling PHI correctly is the single biggest compliance risk for Healthcare AI companies:

Real-World Analogy

A sealed, confidential personnel file. The file itself isn’t dangerous, but if it contains your name, salary, and performance reviews, it must be kept in a locked cabinet, and only authorized people can view it.

Code Example

# De-identifying text using Microsoft Presidio (Open Source PII/PHI detection)
# pip install presidio-analyzer presidio-anonymizer

from presidio_analyzer import AnalyzerEngine
from presidio_anonymizer import AnonymizerEngine

# Sample clinical note containing PHI
clinical_note = """
Patient John Doe (SSN: 123-45-6789, DOB: 1980-05-15) 
presented to Mount Sinai Hospital on 2023-10-25 with acute chest pain. 
Contact: john.doe@email.com or 555-0198.
"""

# Initialize engines
analyzer = AnalyzerEngine()
anonymizer = AnonymizerEngine()

# Analyze the text to find PHI entities
analyzer_results = analyzer.analyze(text=clinical_note, language='en')

# Anonymize (redact or replace) the identified PHI
anonymized_result = anonymizer.anonymize(
    text=clinical_note,
    analyzer_results=analyzer_results,
    operators={"DEFAULT": "replace", "PERSON": "mask"} # Custom masking rules
)

print("--- Original ---")
print(clinical_note)
print("\n--- De-identified (Safe for AI Training) ---")
print(anonymized_result.text)

# Output will replace names, SSNs, dates, and emails with tags like <PERSON>, <US_SSN>, etc.

Common Misconceptions

Sources & Further Reading