General Guide

Medical Records File Naming: HIPAA-Safe Patterns (2026)

Kirill Isachenko
Kirill Isachenko
7 min read
TL;DR: Name medical records PatientID – YYYY-MM-DD – RecordType.pdf and keep patient names out of filenames entirely — filenames leak through sync logs, previews, and email subject lines. Zush applies the pattern automatically, and its Offline AI mode analyzes files locally so content never leaves the machine.
Jump to section

Quick answer: name medical record files PatientID – YYYY-MM-DD – RecordType.pdf, for example MRN-48211 – 2026-06-12 – Lab Results.pdf. Use the medical record number or another internal identifier — never the patient’s name — because filenames travel further than file contents: they appear in sync logs, backup reports, email attachment lines, and OS search indexes. Zush can apply the pattern automatically, including with local AI that keeps every file on the machine.

This guide is about the naming layer of handling records well: what goes in the filename, what must stay out of it, and how to apply the convention to a scanner backlog without a week of manual work. It is written for small practices, clinics, billing services, and solo providers who manage records as files — not for teams inside a full EHR, where the system names things for you.

A scope note, honestly stated: HIPAA compliance is a property of your organization’s safeguards, agreements, and processes — no filename pattern and no software tool makes you compliant by itself. A naming convention is one administrative safeguard among many. Nothing here is legal advice.

Why patient names don’t belong in filenames

The instinct is to name files Smith, John - Lab Results.pdf — it is readable and it matches the paper-chart habit. The problem is where filenames go that file contents do not:

  • Sync and backup logs. Cloud sync clients, backup tools, and IT monitoring record filenames in plaintext logs that are rarely treated as PHI stores — but now they are one.
  • Email attachment lines. Attach a file and its name renders in the recipient’s inbox preview, on their phone lock screen, and in their provider’s scanning infrastructure — before anyone opens anything.
  • OS search and previews. Spotlight and Windows Search index filenames for every account on a shared machine; file-manager windows show them to anyone standing behind the desk.
  • Shared folder listings. A directory listing is visible to everyone with folder access, even people authorized for only some records in it.

A name-in-filename habit turns each of these into a potential impermissible disclosure. The fix costs nothing: identify files by medical record number (or your internal patient ID), and let the mapping from MRN to person live where it already lives — inside your practice management system, behind access control.

The pattern

PatientID – YYYY-MM-DD – RecordType[ – Detail].pdf
MRN-48211 – 2026-06-12 – Lab Results.pdf
MRN-48211 – 2026-06-12 – Referral – Cardiology.pdf
MRN-30177 – 2026-05-30 – Imaging – Chest X-Ray.pdf
MRN-30177 – 2026-06-02 – EOB – Blue Cross.pdf
  • PatientID first groups a patient’s documents in any sorted listing — the file-system equivalent of a chart. Use the ID format your practice already uses; consistency matters more than the format.
  • ISO date second orders each chart chronologically. Use the date of service or the document’s own date, not the scan date.
  • RecordType third from a fixed vocabulary: Lab Results, Imaging, Referral, Consult Note, Consent, Intake, EOB, Rx Record. A dozen consistent labels make a folder filterable; forty ad-hoc ones don’t.
  • Detail last, optional — the specialty, the payer, the study type. Keep it PHI-free: body parts and payer names are fine, diagnoses are not. A filename saying – Oncology Referral in a shared folder listing discloses more than an MRN ever will, so decide deliberately how specific this segment may be.

For billing services the same skeleton works with claim or account numbers as the identifier, and payer documents (EOB, ERA, Denial) as the type vocabulary.

Folders: partition by patient or by year, not both

Two shallow layouts cover most practices:

Records/MRN-48211/2026-06-12 – Lab Results.pdf ← chart-style
Records/2026/MRN-48211 – 2026-06-12 – Lab Results.pdf ← intake-style

Chart-style suits per-patient retrieval; intake-style suits scan-and-file workflows. Because the filename carries the full identifier-date-type triple either way, moving between layouts — or exporting a patient’s records on request — is a copy, not a renaming project.

The scanner problem, and renaming without disclosure

Most small-practice records enter as paper: the office scanner turns a day of intake forms, faxed referrals, and lab printouts into Scan0001.pdf through Scan0057.pdf. Renaming those by hand means opening every file; the usual “fix” — a web tool that renames PDFs — means uploading medical records to someone’s server, which trades a filing problem for a disclosure problem.

A desktop renamer resolves this tension, and it is the reason this site’s tool fits the medical case specifically:

  • Zush reads each scan with AI vision on the page image — no separate OCR pass — and proposes names following your Template: identifier, date of service, record type.
  • In Offline AI mode, analysis runs on local Ollama models on Mac or Windows: supported files are processed entirely on the machine and never transmitted. For records work, this is the mode to use, and it is a genuine structural difference from upload-based tools. BYOK (your own API account) is the middle option where your organization has its own terms with an AI provider; assess that against your own obligations.
  • Every batch is previewed before applying — which for records is not a convenience but a control: you confirm the proposed names contain no patient names before anything is written — and rename history can revert a batch.

A folder-monitoring Template on the scanner output folder then keeps the convention applied to every new scan automatically. The privacy and security docs describe exactly what each mode does and does not transmit.

Retention and the long horizon

Record retention rules run six to ten years or more depending on state and record type. Over that horizon, conventions outlive software: an MRN – date – type filename is self-describing in any future system, survives exports, and needs no database to interpret. That is the practical test of a good convention — it should still work after the tool that applied it is gone.

FAQ

What is a HIPAA-safe file naming convention for medical records?

PatientID – YYYY-MM-DD – RecordType.pdf, using the medical record number rather than the patient’s name. Filenames appear in sync logs, email attachment lines, and search indexes, so they should identify records only through an internal identifier that is meaningless outside your systems.

Is it a HIPAA violation to put a patient’s name in a filename?

Not automatically — HIPAA governs disclosures, not filename syntax. But a name-bearing filename creates disclosure paths that are easy to trigger accidentally (attachment previews, shared listings, log files), which is why records-management guidance consistently recommends identifier-based naming. When in doubt, ask your compliance officer; this article is not legal advice.

Can AI rename medical records without sending them to the cloud?

Yes, if the tool supports local models. Zush’s Offline AI mode analyzes supported files with local Ollama models on Mac or Windows, so the renaming pipeline — reading the scan, extracting the date and record type — runs entirely on the machine.

How should scanned records from the office scanner be named?

The same convention as everything else — the scanner’s Scan0001.pdf default is just an input. Zush reads scans with AI vision and applies the identifier-date-type pattern in a reviewed batch; see the scanned documents guide.

What record types should the vocabulary include?

Start with a dozen: Lab Results, Imaging, Referral, Consult Note, Progress Note, Intake, Consent, Insurance, EOB, Rx Record, Correspondence, Billing. Add labels only when a real pile of documents doesn’t fit — a small fixed vocabulary is what keeps filtering useful.