# How medical practices sell de-identified patient data for AI training

> A medical practice can usually license de-identified records for AI training, but not identifiable patient information. HIPAA bars selling protected health information (PHI) without each patient's written authorization, while data properly de-identified under 45 CFR 164.514(b) is no longer PHI and falls outside that rule. Pergola checks your rights, de-identifies your records to the HIPAA standard, finds buyers and handles the license, and you approve the final deal.

## What records a medical practice holds, and where they live

Most practices hold far more than they think. Ten years of outpatient care leaves a detailed record of how real medicine is documented, coded, billed and followed up, spread across a handful of systems.

- **The chart.** Visit notes, problem lists, medications, allergies, orders, lab results, vitals and referral letters. This lives in your EHR, such as [Epic](https://pergoladata.com/sell/epic), [athenahealth](https://pergoladata.com/sell/athenahealth), [eClinicalWorks](https://pergoladata.com/sell/eclinicalworks) or [NextGen](https://pergoladata.com/sell/nextgen).
- **Billing and claims.** Diagnosis and procedure codes, claims, remittances, denials and appeal letters. Usually in the practice management side of the same system, or with a billing service.
- **Patient communication.** Portal messages, refill requests, appointment reminders and, if your phones record, calls held in a system like [RingCentral](https://pergoladata.com/sell/ringcentral).
- **Scanned documents.** Outside records, faxed referrals, prior authorization forms and intake paperwork, often stored as PDFs attached to the chart.
- **The back office.** Email and files in [Microsoft 365](https://pergoladata.com/sell/microsoft-365) or [Google Workspace](https://pergoladata.com/sell/google-workspace), staff chat, policies, protocols and scheduling templates.

Imaging is often kept in a separate system from the EHR, and some practices on a hospital's shared EHR don't control their own instance. Both affect what can be exported and by whom, which is part of the rights review.

## Why AI companies want records from medical practices

Companies building healthcare AI are working on documentation assistants that draft a note from a visit, coding tools that suggest codes from a note, tools that write prior authorization requests and denial appeals, and systems that sort and draft replies to patient messages. Textbooks and published research teach medical facts. They don't show how a real outpatient visit is written up, coded and paid, or how a busy front desk answers a refill request. Only practices have that.

What makes a practice's records especially useful is the links between them: a note, the codes billed for it, whether the claim was paid, and what happened at the next visit. A model learning to code or to appeal a denial learns from exactly those pairs. More on this in [why AI companies buy private business data](https://pergoladata.com/questions/why-do-ai-companies-buy-private-business-data).

## The rules that apply: HIPAA, de-identification and the sale of PHI

Almost every medical practice is a HIPAA covered entity, because it bills insurance electronically. Four things decide what's possible.

- **The sale-of-PHI rule.** 45 CFR 164.502(a)(5)(ii) generally prohibits a covered entity or business associate from receiving payment in exchange for PHI unless each patient has signed an authorization that says the disclosure involves payment. Collecting that from thousands of past patients isn't realistic, so identifiable records are off the table.
- **De-identification.** 45 CFR 164.514(b) gives two methods. **Safe Harbor** removes 18 kinds of identifiers, including names, geographic units smaller than a state, all parts of dates except the year, phone numbers, email addresses, medical record and account numbers and full-face photos, and requires that you have no actual knowledge the rest could identify someone. **Expert Determination** has a qualified expert apply statistical methods and document that the risk of re-identification is very small. Data de-identified either way is not PHI, so the sale rule doesn't reach it. See [Safe Harbor vs Expert Determination](https://pergoladata.com/questions/hipaa-safe-harbor-vs-expert-determination).
- **A business associate agreement.** De-identifying records means handling PHI first. HIPAA requires anyone doing that on your behalf to work under a business associate agreement (BAA), so one is signed before any export.
- **State law and contracts.** Some states add health-privacy laws of their own. California, for example, requires certain contract terms, including a ban on re-identification, when de-identified patient information is sold or licensed. Payer contracts often treat negotiated rates as confidential, and your EHR vendor's terms can affect how data is exported.

> This is general information, not legal advice. Pergola's rights review checks your contracts, your notice of privacy practices and your state's rules for your specific practice, with your own counsel involved wherever you want them.

## What usually can't be sold

- **Anything identifiable.** If a note can't be reliably cleaned, for example because the story itself would identify the patient, it's dropped.
- **Psychotherapy notes** and any records you've promised patients extra protection for. Practices almost always exclude these.
- **Substance use disorder records** covered by 42 CFR Part 2, which carry their own federal rules. These are reviewed separately and are usually left out.
- **Identifying images.** Full-face photos, and clinical photos that show tattoos or other distinguishing features, unless an expert determination specifically covers them.
- **Records you hold on someone else's terms.** A hospital's shared EHR instance, a billing company's system or an acquired practice's archive may need the other party's agreement first. See [what if my software vendor holds the data](https://pergoladata.com/questions/what-if-my-software-vendor-holds-the-data).
- **Payer fee schedules and contracted rates**, which payer contracts commonly make confidential.
- **Very small groups.** A rare condition in a small town can identify someone even without a name. These records are generalized or removed.

## How a sale works for a medical practice

1. **Confidential call under mutual NDA.** You describe your specialty, your systems, roughly how many patients and how many years of records you have. No patient data is shared.
2. **Free written valuation.** You get an indicative range in writing, with no obligation to sell.
3. **Rights review.** We read your notice of privacy practices, payer and vendor contracts, any research or registry agreements and the relevant state rules. Anything that can't be sold is excluded before you sign.
4. **BAA and export.** With your administrator or EHR vendor, we export the agreed records through reports, bulk export, an API or a database backup, depending on the system. Your originals and daily workflow don't change.
5. **De-identification.** Records are de-identified to the HIPAA standard by Safe Harbor or Expert Determination. Free-text notes get the most attention, because names, dates and places hide in prose.
6. **Buyers, license and payment.** We find buyers and negotiate. Your practice's name is never disclosed. You approve the final deal, buyers receive a de-identified copy under license, and we're paid a share only when you are.

Most of the elapsed time goes into the rights review and de-identification. See [how long a data sale takes](https://pergoladata.com/questions/how-long-does-a-data-sale-take).

## What makes medical practice data more valuable

- **Years and volume.** A decade of notes across tens of thousands of visits is worth much more than a single year.
- **Specialty.** Specialty practices often hold records that AI developers can't find anywhere else.
- **Linked records.** Notes tied to codes, claim outcomes, labs and follow-up visits are worth more than notes alone.
- **Real narrative.** Written notes and patient messages carry more signal than checkbox templates.
- **Clean, consistent exports.** Structured data and consistent templates cost less to prepare than piles of scanned PDFs.
- **Clear rights.** Fewer exclusions mean more of what you hold can be licensed.

For a whole business, total payouts are typically in the range of $100K to $2M, indicative only and depending on volume, quality and rights. The estimator below gives a rough starting point, and [how much company data is worth](https://pergoladata.com/questions/how-much-is-company-data-worth-for-ai-training) explains the factors.

## Frequently asked questions

### Do we have to tell patients or get their permission?

HIPAA doesn't require patient authorization or notice to disclose data that has been properly de-identified, because it's no longer PHI. Some practices choose to mention it anyway. The rights review checks whether anything you've told patients, in your notice of privacy practices or elsewhere, changes the picture.

### We're owned by a group or affiliated with a hospital. Can we still sell?

Possibly, but the decision may not be yours alone. Management services agreements, purchase agreements and shared-EHR arrangements often say who controls the records. We start by working out who has the right to license the data, then talk to the right people.

### Doesn't de-identification remove what makes the data useful?

Less than you'd expect. Diagnoses, medications, results, codes and the clinical story stay. Names, contact details, record numbers and exact dates go. Under Safe Harbor, dates are reduced to the year; Expert Determination can sometimes keep more timing detail, such as the interval between visits, if the expert finds the risk is still very small.

### Will buyers know the data came from our practice?

No. Your practice's name is never disclosed to buyers, and identifying details about the practice itself, such as clinician names in note signatures, are removed along with patient identifiers.

## Related

- [Can a medical practice sell de-identified patient data?](https://pergoladata.com/questions/can-a-medical-practice-sell-de-identified-data)
- [HIPAA Safe Harbor vs Expert Determination: which fits AI training data?](https://pergoladata.com/questions/hipaa-safe-harbor-vs-expert-determination)
- [Sell your Epic EHR data to AI companies](https://pergoladata.com/sell/epic)
- [Sell your athenahealth practice data to AI companies](https://pergoladata.com/sell/athenahealth)
- [Can a dental practice sell its data for AI training?](https://pergoladata.com/industries/dental-practices)
- [Will my customers find out if I sell my data for AI training?](https://pergoladata.com/questions/will-my-customers-find-out)

---

Pergola Data Partners. Last updated 2026-10-14. Web version: https://pergoladata.com/industries/medical-practices

Get a free, confidential valuation: https://pergoladata.com/#contact

General information, not legal advice. Pergola reviews each seller's contracts, policies and applicable law before anything is sold.
