Understanding PHI Scope and Technical Safeguards
Under the HIPAA Security Rule (45 CFR Part 164), 18 specific identifiers (names, dates, medical records, IP addresses) constitute Protected Health Information when linked to health status. Technical safeguards require unique user identification, emergency access procedures, automatic session termination, and cryptographic encryption mechanisms.
Database Isolation and Key Management Architecture
PHI databases should never reside on public subnets. We deploy PostgreSQL within private AWS VPC subnets with AWS KMS envelope encryption. Every patient record is encrypted using unique data keys, and database backups are encrypted with automated point-in-time recovery to guarantee data integrity.
Audit Logging and Incident Telemetry
A compliant web application must generate immutable audit trails capturing user ID, timestamp, patient record ID, action taken (view, edit, delete), and IP address. These logs are streamed directly to write-once-read-many (WORM) S3 buckets with CloudTrail and CloudWatch alerts configured for anomalous access spikes.