Awareness article
What Is an Audit Trail Under HIPAA?
HIPAA requires audit controls for systems containing PHI and a compliance documentation record for the program itself. This article explains both and what clinics must actually maintain.
Short answer
An audit trail under HIPAA refers to two distinct things: system-level logs of who accessed PHI and when, and the operational compliance documentation record showing the clinic ran a functional program. Both are reviewed in OCR investigations.
Two different things get called “audit trails” in a HIPAA context, and a clinic needs both: system-level logs of who accessed PHI, and the operational compliance record showing the clinic ran a real program.
System-Level Audit Controls
The HIPAA Security Rule (45 CFR § 164.312(b)) requires covered entities to implement hardware, software, and procedural mechanisms that record and examine activity in information systems containing or using electronic PHI.
Every system that stores or processes electronic PHI — the EHR, the scheduling system, the billing system, cloud storage where scanned records live — must have mechanisms to log activity.
What a system audit log captures:
| Activity | What the Log Records |
|---|---|
| User login | User ID, timestamp, IP address or device |
| Record access | Which patient record was accessed, by whom, at what time |
| Record modification | What was changed, when, and by which user |
| Record export or print | Which records were exported, by whom |
| Failed login attempts | User ID, timestamp, source |
| Privileged actions | Admin account changes, user creation/deletion |
What Clinics Must Do with This
Most modern EHR systems generate these logs automatically. The clinic’s responsibility is to:
-
Confirm audit logging is enabled. Some EHR systems have audit logging turned off by default or set to a limited configuration. Confirm with your vendor that logging is active.
-
Retain the logs. System logs should be retained for the same period as compliance documentation, typically six years.
-
Review them periodically. The requirement to “examine” activity means the clinic should have a process for periodic log review. Reviewing every entry is not required. A quarterly review focused on anomalous patterns (after-hours access, access from unfamiliar IP addresses, unusually high record volumes per user) satisfies the requirement.
-
Act on findings. If a log review reveals unexpected access, that finding should trigger an incident investigation.
The Operational Compliance Record
Separate from system logs, the clinic must maintain a documentation record of its compliance program — sometimes called the “operational audit trail.” It shows the clinic ran a real program, not just an EHR with logging turned on.
The operational compliance record contains:
Training records. A log of every workforce member’s HIPAA training completion: who trained, when, what content was covered, and a signature or electronic attestation confirming completion. This must exist for current and departed employees, retained for six years.
Policy versions. A record of the clinic’s current privacy and security policies, plus prior versions with effective dates and any revision notes. When a policy is updated, the prior version should be retained, not destroyed.
Executed BAAs. Signed business associate agreements with every vendor who handles PHI. The clinic should maintain copies with execution dates and know where to find them quickly.
Risk analysis documentation. The written risk analysis documenting the assessment of threats and vulnerabilities, along with the corresponding risk management plan. Its absence is cited in nearly every OCR resolution agreement.
Incident log. A record of every security incident the clinic has experienced, whether or not it rose to the level of a reportable breach. Each entry should document what happened, the four-factor breach risk assessment outcome, and what action was taken.
Sanction log. Documentation of workforce sanctions applied for HIPAA policy violations. Even minor sanctions (a verbal warning, required re-training) should be recorded.
Why Immutability Matters
An audit trail is only useful as evidence if it cannot be retroactively changed. A training log in a shared spreadsheet — where any staff member can quietly edit past entries — is not audit-quality evidence. When OCR asks for training records and the clinic hands over a spreadsheet, the first follow-up question is how the clinic can show entries were never altered.
Audit-quality compliance records should be stored in a system where:
- Entries, once created, cannot be silently modified (changes create a visible revision history, or entries are locked)
- Access to add or modify entries is controlled (not every staff member can edit the training log)
- The system itself has a record of who created each entry and when
Compliance platforms designed for healthcare produce records that hold up as evidence. Generic task and document tools produce records that are convenient but not audit-quality.
What OCR Asks for in Investigations
In a complaint investigation or audit, OCR requests:
- The covered entity’s current privacy and security policies
- Training records for workforce members
- The executed BAA with any vendor connected to the incident (if applicable)
- The most recent risk analysis and risk management plan
- Incident log entries related to the complaint period
- System audit logs showing PHI access during the period in question
A clinic that maintains both types of records is in a position to respond to OCR’s requests. A clinic that has one but not the other is partially exposed — and OCR will find out which half is missing.
The Practical Starting Point
For most small clinics, EHR systems handle the system audit log automatically. The gap is the operational compliance record. If your clinic doesn’t currently have a training log showing every employee’s completion history, an organized set of executed BAAs, a written risk analysis from the past two years, and an incident log — those are the priority.
The system logs from the EHR can be retrieved when needed. The operational records have to be built and maintained over time. They cannot be reconstructed after the fact.
HIPAA Basics
Core definitions, rules, and operating concepts small clinics need before they can evaluate vendors or workflows.
What Is a Business Associate Agreement Under HIPAA?
Business associate agreement (BAA) explained: what it is, when HIPAA requires it, required contract elements under 45 CFR §164.504(e), and OCR penalty risk.
HIPAA Authorization vs Consent: What's the Difference?
HIPAA authorization vs consent explained: when each is required, the required elements of a valid authorization under 45 CFR §164.508, and how the TPO...