# Sell your NextGen EHR data to AI companies

> A practice on NextGen can license de-identified clinical documentation, scheduling and billing records to AI companies as training data. The practice is the HIPAA covered entity and decides, and the data must be de-identified under HIPAA before a buyer receives it. If NextGen hosts your system, export goes through the vendor; if it runs on your servers, your license terms still apply. Pergola handles the export with your administrator, the de-identification and the sale.

## What NextGen holds that AI buyers want

NextGen's ambulatory EHR and practice management software is common in specialty and multi-specialty groups. Documentation in NextGen is often template-driven, which produces a useful mix: structured fields for findings and free text for the clinician's reasoning.

- **Specialty documentation.** Structured exam findings and narrative notes from specialties that are under-represented in public data.
- **Assessments and plans,** the free-text reasoning that ties findings to decisions.
- **Orders, results and referrals** between your providers and others.
- **Scheduling and practice management** history, including visit types, durations and no-shows.
- **Billing and claims,** with procedure and diagnosis codes, denials and adjustments.

The pairing of structured template fields with narrative text is a selling point. Structured fields act as labels, so a buyer can train a model to produce or check the narrative.

## Who uses NextGen

NextGen is used by ambulatory [medical practices](https://pergoladata.com/industries/medical-practices), from smaller offices on its cloud product to large specialty and multi-specialty groups running its enterprise system. Groups with many providers and a long history on NextGen tend to have the volume buyers look for.

## HIPAA and your agreements

Your practice is the covered entity, and NextGen, like any EHR vendor, works with your records on your behalf. Under 45 CFR 164.502(a)(5)(ii), selling PHI without patient authorization is generally prohibited. Records de-identified under 45 CFR 164.514(b) are no longer PHI, which is why only a de-identified copy is licensed.

- **Hosted deployments:** the data sits on infrastructure the vendor or a hosting partner operates, so export runs through them.
- **On-site deployments:** the database is on your servers, but your license may set conditions on extraction, and those are checked first.
- **Behavioral health records:** if your group provides behavioral health care, psychotherapy notes have extra protection under HIPAA, and substance use disorder records may fall under 42 CFR Part 2. These are usually excluded.

Your agreement with NextGen may address data ownership, export and fees. Pergola reads it during the rights review rather than assuming. This is general information, not legal advice.

## How the export and sale work

1. Confidential call under mutual NDA, then a free written valuation.
2. Rights review of your NextGen agreement, hosting terms, privacy notice and state law.
3. Export planned with your administrator or IT provider: reports, database extracts or vendor-assisted exports, depending on deployment.
4. De-identification by Safe Harbor or Expert Determination, covering template fields and free text alike.
5. Buyer matching, negotiation and licensing. You approve the final deal; your practice is never named to buyers.

## What makes NextGen data more valuable

- **Consistent template use.** If your providers used the same templates for years, the structured fields line up across visits and are easier to train on.
- **Narrative alongside structure.** Notes where clinicians wrote real assessments, not only template output.
- **Specialty depth.** Thousands of visits in one specialty are worth more than a thin spread across many.
- **Outcomes.** Links from notes to results, follow-up visits and claims.

## What gets removed

- All 18 Safe Harbor identifiers, including names, addresses, dates other than year, phone numbers and record numbers.
- Identifiers in custom template fields and free text, which are easy to miss with simple field-based scrubbing.
- Provider and practice names that could point back to your group.
- Scanned documents, images and specially protected record types unless separately cleared.

> Custom template fields are where identifiers hide. A practice's templates often include free-text boxes for family history, employer or contacts, and those are cleaned as carefully as the notes themselves.

## Frequently asked questions

### Does it matter which NextGen product we use?

It affects how the export is done, not whether a sale is possible. Hosted and on-site systems take different export routes, and both are planned with your administrator.

### Do our providers have to agree?

The practice decides as the covered entity, but provider employment or partnership agreements sometimes address records. The rights review checks for anything that applies.

### How long does it take?

It varies with volume and how the export runs. See [how long a data sale takes](https://pergoladata.com/questions/how-long-does-a-data-sale-take) for the usual stages.

## Related

- [How medical practices sell de-identified patient data for AI training](https://pergoladata.com/industries/medical-practices)
- [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)
- [How is business data cleaned for AI training?](https://pergoladata.com/questions/how-is-data-cleaned-for-ai-training)
- [Sell your Epic EHR data to AI companies](https://pergoladata.com/sell/epic)

---

Pergola Data Partners. Last updated 2026-10-14. Web version: https://pergoladata.com/sell/nextgen

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.
