Multi-Clinic Setup with Tenant Isolation
Usetenant_id to isolate events by clinic or healthcare organization. Each clinic’s staff only sees their own audit trail.
- JavaScript
- Python
- Laravel
Tracking PHI Access Events
Patient Record Viewed
- JavaScript
- Python
- cURL
Never store actual PHI (patient names, SSNs, diagnoses) in audit log metadata. Use opaque identifiers like MRN numbers and record IDs. The audit log tracks who accessed what, not the PHI content itself.
Prescription Created
- JavaScript
- Python
- cURL
Lab Results Accessed and Record Exported
- JavaScript
- Python
- cURL
IP Geolocation Tracking
Immutable automatically enriches every event with IP geolocation data. This is critical for healthcare compliance — you can detect when PHI is accessed from unexpected locations. Every event response includes:Alert Rules for Suspicious Access
Off-Hours Access Alert
Detect when patient records are accessed outside of clinic hours:New Country Login Alert
Detect when a staff member accesses the system from an unfamiliar country:Retention Settings for HIPAA
HIPAA requires covered entities to retain audit logs for a minimum of 6 years. Immutable’s Enterprise plan provides unlimited retention.For HIPAA compliance, you need the Enterprise plan with unlimited retention configured to at least 7 years (the most conservative interpretation of HIPAA’s 6-year requirement). Contact support to configure your retention policy.
Querying Access History for Audits
When a HIPAA audit or breach investigation requires you to produce all access records for a specific patient:- JavaScript
- Python
- cURL
What’s Next
Geolocation
Learn how IP geolocation enrichment works.
Alert Rules
Configure alerts for off-hours and new country access.
Retention
Configure retention policies for long-term compliance.
Suspicious Login Detection
Full guide to detecting suspicious access patterns.