How to keep patient data from leaving your EHR, and record who accessed it
HIPAA has no blanket ban on patient data leaving your practice. It requires access limits, device and media rules, activity records, and regular review of them.
HIPAA’s Security Rule doesn’t have one rule that stops patient data from leaving your practice. It asks for four things that work together. Limit who can see which records, and control the devices and media that carry data. Record activity in your systems, and review those records regularly. HHS’s Office for Civil Rights (OCR), which enforces HIPAA, has written guidance on how insiders take data and has settled cases where they did.
How patient data leaves a practice
OCR’s Summer 2019 cybersecurity newsletter lists several ways an insider can get data out. They can send it in encrypted messages or copy it to a phone or USB drive. They can also take a laptop or other equipment out of the building. The same newsletter says laptops, phones, and thumb drives are harder to protect and control, especially when staff own them.
The people in question aren’t only employees. HIPAA’s definition of “workforce” in 45 CFR 160.103 also covers volunteers, trainees, and others whose work is under your direct control, paid or not. OCR’s breach report for 2024 lists employees opening records outside their job duties among the year’s unauthorized access breaches.
With a web-based EHR, data can leave without any device moving. A staff member signs in from a home laptop and saves a file or a screenshot.
Limit who can see each record
The access rules come first, because a record a person can’t open is a record they can’t copy. Under 45 CFR 164.308(a)(3) and (a)(4), you set policies so each workforce member has appropriate access and no more. Most of the detailed steps under these two standards are “addressable”, including access authorization and access establishment and modification. Addressable means you assess whether the step is reasonable for you. If it isn’t, you document why and use an equivalent measure if one is reasonable.
The Privacy Rule’s minimum necessary standard adds a role-by-role list. Under 164.514(d)(2), you identify the people or job roles that need patient data. For each one, you list the kinds of data they need and any conditions on that access. Then you make reasonable efforts to keep each role inside those limits.
OCR’s 2019 newsletter turns this into a practical question: does the job need to write, download, or change data, or is read-only enough? A scheduler, a biller, and a nurse need different things. If your EHR can separate viewing from exporting, use that setting.
Control the devices and media that carry data
45 CFR 164.310(d)(1) is the device and media standard. It asks for policies on hardware and electronic media that hold patient data as they come into and leave a facility, and as they move inside it. Under it, disposal and media re-use are required. Keeping a record of each item’s movements and who is responsible for it is addressable.
The 2019 newsletter suggests limiting mobile devices nobody needs. It also suggests controls that stop staff from copying data to external devices without permission. If you do let staff use a phone or USB drive, the newsletter says you must protect the data on it.
A media log has a limit. It tracks drives and laptops, not files that leave over the internet. For downloads from a browser, you need the system’s own settings and records.
Record activity and review the records
Audit controls, in 164.312(b), are a standard that every practice covered by HIPAA must meet. You put in place hardware, software, or procedures that record and examine activity in systems that hold patient data. Information system activity review, in 164.308(a)(1)(ii)(D), is required. It means you regularly review records such as audit logs and access reports.
OCR’s 2024 breach report lists the review failures its investigations found. Some practices didn’t review records at all. Others reviewed them only after a breach, or now and then with no schedule. The report says regular review gives you a baseline of normal activity, so unusual activity stands out. The rule doesn’t list which events a log must capture. So ask your EHR vendor whether exports, prints, and downloads appear in the log you review.
A log only names a person if each person has their own login. Unique user identification, in 164.312(a)(2)(i), is required. OCR’s Summer 2021 newsletter explains why. With a shared username, the system records one name for everyone, so it can be very hard to find who entered, changed, or deleted information. Can staff share an EHR login? covers the rest of that question.
End access when people leave or change roles
Termination procedures, in 164.308(a)(3)(ii)(C), are addressable. They cover ending access to patient data when someone’s job or other arrangement with you ends. The 2019 newsletter singles out involuntary separations. Before the person leaves, it says to disable all of their computer and application accounts, including remote and admin access. It also says to change facility codes they know and collect keys, devices, and media. Which accounts to close when someone leaves a medical practice, and how fast walks through the accounts.
OCR’s case records show what happens otherwise. OCR has settled cases with a city health department and with a hospital that it says failed to end a former employee’s access. Its 2024 breach report describes a medical practice fined after a former contractor kept getting into its record system. OCR found no procedures for regularly reviewing system activity or for ending former workforce members’ access.
Frequently asked questions
Does HIPAA forbid staff from taking patient data home?
The Security Rule has no single ban. It asks you to set who may access what, govern devices and media that leave the building, record system activity, and review those records regularly.
Is downloading a chart from a web-based EHR covered by the media rules?
The device and media controls in 164.310(d) cover hardware and electronic media. A download over the internet won't show up in a media log, so you need the EHR's own records and download settings for it.
How often do we have to review audit logs?
The rule says "regularly" and sets no interval. OCR has faulted practices that reviewed logs only after a breach or on an ad hoc basis.
Can a shared login pass an activity review?
The log shows one name for everyone who used it, so a review can't tell who opened a record. Unique user identification is a required part of the Security Rule.
How Junify handles this
- Doing this by hand
- You give every clinician and staff member their own login, open and close access for each per-diem shift and vendor staff change, and keep a record of who used which system and when for someone to review.
- With Junify
- A written ban on downloads still leaves you checking odd exports after the fact. For EHRs and portals your staff open in a browser, Junify can block file downloads for each account, so staff who only view charts can't save files. Uploads are detected and reported to an admin. Your admin changes the password when adding the login, so only Junify holds it and staff can't sign in another way. Each use is recorded under the person's own name.
Sources
- 45 CFR 164.308, Administrative safeguards (eCFR)
- 45 CFR 164.310, Physical safeguards (eCFR)
- 45 CFR 164.312, Technical safeguards (eCFR)
- 45 CFR 164.514, Other requirements relating to uses and disclosures of protected health information (eCFR)
- 45 CFR 160.103, Definitions (eCFR)
- HHS OCR, Summer 2019 OCR Cybersecurity Newsletter: Managing Malicious Insider Threats
- HHS OCR, Summer 2021 OCR Cybersecurity Newsletter: Controlling Access to ePHI
- HHS OCR, Annual Report to Congress on Breaches of Unsecured Protected Health Information for Calendar Year 2024
-
Can staff use personal devices to access clinical systems?
HIPAA allows it with safeguards. Treat each personal laptop or phone as a workstation, write a device policy, and protect both the device and the login.
-
Who is responsible for user accounts in your practice's cloud software?
The vendor secures its service. Your practice decides who gets a login and removes it when they leave. HHS says to sign a BAA and put the split in writing.
-
The HHS cybersecurity performance goals for accounts and logins
Four of HHS's 10 essential goals cover logins: MFA, revoking departing staff's access, unique credentials and separate admin accounts. HHS calls them voluntary.