Can You License De-Identified Medical Data to Train AI?
Learn how HIPAA, state health privacy laws, data licensing agreements and AI model ownership affect the commercialization of medical datasets.

Sergei Tokmakov, Esq.Admitted in California (Bar No. 279869) and Washington (WSBA No. 65720). My law firm won the 2026 American Legal Technology Awards, Law Firm category. I am a member of the American Health Law Association and completed its 2026 AI in Health Care eProgram (December 2026).
Medical datasets are valuable commercial assets for companies developing artificial intelligence. Clinical records, diagnostic images, treatment histories, laboratory results and patient-generated measurements can support model development, validation and new healthcare products.
But acquiring access to medical data is different from acquiring the legal right to train and commercialize an AI model using that data. A defensible transaction requires an analysis of the original data source, applicable privacy laws, de-identification methods, upstream contractual restrictions and the proposed downstream use. This guide addresses those questions under U.S. law, with authorities reviewed on December 4, 2026.
Key takeaways
- HIPAA generally permits the use and disclosure of properly de-identified information, but other privacy laws and contractual restrictions can still apply.
- Removing patient names does not, by itself, satisfy HIPAA's de-identification requirements. The two recognized methods are Safe Harbor and Expert Determination.
- A business associate must have contractual permission to de-identify protected health information. Permission to process information for a healthcare customer is not necessarily permission to commercialize it.
- A limited data set remains protected health information and is subject to narrower permitted uses and a required data use agreement.
- California imposes specific contractual requirements on certain transactions involving de-identified patient information, including restrictions on downstream disclosure.
- Consumer health applications outside HIPAA may still face substantial obligations under state privacy laws and the FTC Health Breach Notification Rule.
- A medical data license should expressly address training, fine-tuning, model commercialization, output restrictions, re-identification, intellectual property and termination.
HIPAA does not regulate every business that collects health information. Under 45 CFR 160.103, covered entities include health plans, healthcare clearinghouses and healthcare providers that conduct specified electronic transactions. Business associates perform qualifying activities or services involving protected health information on behalf of covered entities.
Protected health information, or PHI, generally consists of individually identifiable health information maintained or transmitted in the circumstances covered by HIPAA, subject to statutory and regulatory exclusions.
Consider three different businesses:
- A hospital maintains identifiable patient records in its electronic health record system.
- A healthcare analytics vendor processes those records on the hospital's behalf under a business associate agreement.
- A direct-to-consumer wellness application independently collects information about its users' sleep, diet and exercise.
The first two examples ordinarily involve HIPAA-regulated information. The third does not necessarily involve HIPAA at all if the application is neither a covered entity nor acting as a business associate. The distinction follows from the regulatory definitions in 45 CFR 160.103.
A company can also operate in multiple capacities. Its enterprise product might handle PHI for hospitals, while its independent consumer application collects health information outside that relationship. Analyze each data flow separately rather than assigning one privacy classification to the entire company.
For an initial assessment, see Does HIPAA Apply to My Startup?.
HIPAA recognizes two methods for establishing that information is no longer individually identifiable. Both are described in 45 CFR 164.514(a)-(b) and explained in the HHS Office for Civil Rights de-identification guidance.
Safe Harbor
Safe Harbor requires removal of the 18 specified identifier categories relating to individuals and their relatives, employers or household members. The covered entity must also lack actual knowledge that the remaining information can identify an individual, either independently or when combined with other information.
The identifier categories cover names, contact details, detailed geographic information, most individual-related dates other than years, certain information concerning advanced age, government identifiers, medical record and account numbers, device identifiers, biometric identifiers, photographs and other unique identifying characteristics.
The complete regulatory list and its exceptions appear in 164.514(b)(2). Dataset preparation should follow that list rather than an informal anonymization checklist.
Safe Harbor can be restrictive for AI development. A model evaluating the progression of a chronic condition might need precise treatment intervals. A medical imaging dataset might contain identifying information in metadata. Clinical narratives might describe unusual events that make individual patients recognizable.
These issues should be resolved before the data is delivered to the training environment.
Expert Determination
Under 164.514(b)(1), an appropriately qualified person applies accepted scientific and statistical methods to determine that identification risk is very small in the anticipated disclosure environment. The analysis must be documented.
This pathway may accommodate datasets that retain certain information that would otherwise need to be removed under Safe Harbor. Its suitability depends on the actual data, intended recipients, available external information and safeguards.
The HHS guidance explains why risk assessment may depend on the recipient and other reasonably available information. A determination supporting disclosure to a restricted research environment should not automatically be treated as supporting unlimited distribution to commercial AI developers.
For a licensing transaction, request the determination, its assumptions, applicable dataset version and recipient restrictions. The legal agreement should reflect those conditions. Statistical and scientific assessment is a separate discipline from legal contract review.
A limited data set is a separate HIPAA category under 45 CFR 164.514(e). It excludes specified direct identifiers but can retain certain dates and geographic information that are valuable for research and analysis.
It remains PHI. Its permitted purposes are research, public health and healthcare operations, and its disclosure requires a data use agreement meeting the regulatory requirements.
The agreement must address authorized purposes and recipients, safeguards, reporting of unauthorized activity, restrictions on agents and prohibitions on identifying or contacting individuals.
A startup should not assume that describing general-purpose commercial model development as research makes it permissible under a limited data set agreement. Review the actual activity against the applicable legal pathway and contractual purpose.
For example, permission to develop a model for a specified cardiovascular research project may not extend to using the same data to train an unrelated commercial foundation model.
Generally, yes under HIPAA, provided the de-identification is lawful and the resulting information meets the regulatory standard. But the authority to create the dataset and the authority to commercialize it are distinct questions.
HHS addresses this issue directly in its guidance concerning business associates and de-identification.
De-identifying PHI is itself a use of PHI. A business associate must therefore have permission under its business associate agreement, or BAA, to perform that activity. Once the information is properly de-identified, HIPAA generally no longer restricts its use or disclosure, although other legal obligations can remain.
Under 45 CFR 164.504(e), the BAA establishes permitted and required uses and disclosures of PHI. The commercial agreement may impose additional restrictions concerning derived information.
For an AI vendor, I recommend addressing three permissions separately:
- Permission to access and process PHI while providing contracted services.
- Permission to create de-identified information using an agreed method.
- Permission to retain, combine, license or use the resulting information for the vendor's own model development and commercial purposes.
The first permission does not establish the other two. Review the master services agreement, data ownership provisions, BAA, customer policies and upstream licensing arrangements together.
A hospital licensing dataset access should also investigate whether particular records, images or annotations were obtained subject to restrictions imposed by another institution, research sponsor or technology provider.
HIPAA de-identification is not a universal exemption from U.S. privacy law. State statutes differ in their definitions, covered businesses, exemptions and treatment of secondary uses.
Washington My Health My Data Act
Washington's My Health My Data Act, chapter 19.373 RCW, regulates covered consumer health information, including certain health inferences derived from otherwise nonhealth information.
Under RCW 19.373.010, qualifying de-identified data is excluded from personal information. The definition requires reasonable protective measures, a public commitment against re-identification and contractual obligations binding recipients to the applicable de-identification criteria.
The Act separately establishes collection and sharing consent requirements, subject to statutory exceptions, and requires a valid authorization for covered sales of consumer health data under RCW 19.373.070.
A company should document its exemption analysis, including the healthcare-related exemptions in RCW 19.373.100, rather than assuming that working with a HIPAA-regulated customer exempts every dataset it maintains.
See also Washington My Health My Data Act for Wellness Apps.
Nevada SB 370
Nevada's consumer health data legislation is codified in NRS 603A.400-603A.550. It regulates covered collection, sharing, processing and sale of consumer health data.
NRS 603A.490 includes an exemption for information de-identified in accordance with HIPAA's de-identification requirements. For covered information that does not qualify for an exemption, NRS 603A.500 addresses collection and sharing consent, while NRS 603A.535 generally requires written authorization for sales.
Merely assigning internal identifiers or replacing names with customer numbers should not be treated as establishing the statutory exemption.
Connecticut
Connecticut's data privacy statutes, including the amendments effective July 1, 2026, contain specific consumer health data protections. Section 42-526 addresses matters including sales of consumer health data and restrictions on access.
Section 42-517 identifies healthcare-related exemptions, including certain HIPAA-de-identified information and qualifying limited data sets. Separately, section 42-523 establishes duties relating to de-identified information, including protective measures, public commitments and contractual restrictions on recipients.
Review the exemptions and controller obligations together when structuring a Connecticut-related transaction.
California CMIA and CCPA
California's Confidentiality of Medical Information Act, or CMIA, can reach certain consumer-facing health software businesses. Civil Code section 56.06, as expanded by AB 658, addresses businesses offering software or hardware designed to maintain medical information for specified healthcare and information-management purposes.
For de-identified patient information, the California Consumer Privacy Act contains a particularly important framework in Civil Code sections 1798.146 and 1798.148.
Section 1798.146(a)(4) exempts qualifying information from the CCPA where it meets HIPAA's de-identification standard and originates from patient information handled by an entity regulated under HIPAA, CMIA or the federal Common Rule.
However, section 1798.148 generally prohibits re-identification and attempted re-identification of that information, subject to enumerated exceptions. Re-identified information loses the applicable exemption.
For qualifying sale or licensing contracts involving a party residing or doing business in California, section 1798.148(c) requires provisions substantially addressing:
- The inclusion of de-identified patient information in the transaction.
- The statutory prohibition on identifying or attempting to identify individuals.
- Equivalent or stronger contractual restrictions on subsequent recipients, except where disclosure is legally required.
These are statutory contract requirements, not simply optional confidentiality protections.
The FTC Health Breach Notification Rule, 16 CFR Part 318, applies to covered vendors of personal health records, related entities and their service providers. Its scope can include health applications with the technical ability to draw information from multiple sources.
The rule does not apply to HIPAA-covered entities or to activities undertaken in a business associate capacity. Where it applies, unauthorized disclosure of unsecured, identifiable personal health record information can constitute a breach. A conventional cybersecurity intrusion is not required.
Two enforcement matters illustrate the importance of controlling secondary uses:
- GoodRx: In 2023, federal authorities alleged unauthorized sharing of consumers' health information and failures to provide required breach notifications. A federal court entered a stipulated order imposing injunctive relief and a civil penalty. See the FTC complaint and entered order.
- BetterHelp: The FTC alleged that the company disclosed sensitive consumer information to advertising businesses despite privacy representations. A final administrative consent order restricted data sharing and required payment of $7.8 million. See the FTC complaint and final order.
These were enforcement resolutions, not trial findings establishing all allegations. Neither establishes that every use of health information for AI training is unlawful. They illustrate the importance of aligning representations, actual data transfers and permitted secondary uses.
| Data type | Main legal pathway | Typical contract terms |
|---|---|---|
| Identifiable PHI processed for a healthcare customer | Permitted HIPAA activity and appropriate BAA | Purpose limitations, safeguards, subcontractor obligations, incident reporting and return or destruction. |
| Identifiable PHI licensed for independent commercial development | Applicable HIPAA authorization or other lawful basis, including sale-of-PHI analysis | Authorization verification, permitted uses, recipient restrictions and remuneration provisions. |
| HIPAA limited data set | 164.514(e) and qualifying data use agreement | Restricted research or other permitted purposes, authorized recipients and identification prohibitions. |
| Safe Harbor de-identified dataset | 164.514(b)(2), applicable state laws and upstream rights | Data provenance, no re-identification, training rights and redistribution restrictions. |
| Expert Determination dataset | 164.514(b)(1) and documented risk determination | Recipient limitations, secure environment, linkage controls and reassessment triggers. |
| Consumer application health information | Applicable consumer health privacy laws, permissions and FTC requirements | Consent documentation, purpose restrictions, downstream obligations and deletion assistance. |
| Qualifying California de-identified patient information | Civil Code 1798.146 and 1798.148 | Statutory data description, re-identification prohibition and downstream contractual protections. |
The pathways summarized above are based on the federal and state authorities discussed in this guide. A dataset may require analysis under more than one row.
Removing identifiers from the original dataset is only part of the risk management process. Consider whether combining datasets, generating embeddings, retaining detailed clinical sequences or exposing model outputs could disclose information about identifiable individuals.
The HHS de-identification guidance explains the significance of linkage risk and the information available to anticipated recipients.
I recommend addressing the following commercial controls in a medical data license:
- Prohibit unauthorized re-identification, patient contact and dataset linkage.
- Limit training and processing to approved environments and recipients.
- Require prior approval before transferring data to external model providers.
- Extend relevant restrictions to contractors, sublicensees and infrastructure vendors.
- Establish technical testing expectations for unintended disclosure through model outputs.
- Provide audit, incident notification, suspension and remediation rights.
- Specify deletion obligations for datasets, working copies, logs and backups.
Distinguish deleting source data from addressing information retained in trained models. The agreement should identify available remediation measures and allocate their costs rather than promise technically unverified model deletion or unlearning.
A data license should answer this question expressly. Permission to access a dataset does not establish the commercial allocation of rights in a resulting model.
Copyright law separately distinguishes protectable expression, underlying facts and preexisting material. See 17 U.S.C. 102-103, section 201 and section 204. Copyright ownership transfers generally require a signed writing.
Negotiate separate rights in the original dataset, annotations, existing software, newly developed code, model weights, fine-tuned models, evaluation materials and generated outputs.
The agreement should also specify whether the licensee may distribute trained models, provide commercial inference services, transfer rights in an acquisition or continue using a model after termination.
Contractual allocation does not make every generated output copyrightable. The U.S. Copyright Office's January 2025 announcement concerning AI output copyrightability explains the continuing importance of human authorship.
For investors, the central diligence question is whether the company can continue operating and commercializing its models after its original data access arrangement ends. An apparently valuable model may be commercially restricted by an overlooked upstream contract.
Data provenance and permissions
- Identify every original data provider and intermediary.
- Determine whether the source information is PHI, consumer health information or another regulated category.
- Obtain upstream licenses, BAAs, privacy notices, authorizations and relevant research documentation.
- Confirm that the proposed training and commercial uses fall within the available permissions.
De-identification and security
- Document the applicable de-identification method and dataset version.
- Obtain any supporting statistical determination and identify its limitations.
- Review applicable state definitions, exemptions and mandatory contractual provisions.
- Identify third-party model providers, permitted linkage activities and access controls.
Commercial rights and exit planning
- Define training, evaluation, fine-tuning, deployment and sublicensing rights separately.
- Allocate intellectual property rights in datasets, modifications, models and outputs.
- Address royalties, exclusivity, liability, audits and unauthorized disclosure.
- Specify post-termination model rights, data deletion and remediation procedures.
How I can help
I advise healthcare technology companies, AI developers and data providers on the legal and commercial structure of medical data transactions. My Medical Data Licensing & AI Training Rights service addresses data provenance, contractual permissions, privacy restrictions, model ownership and commercialization. I can also review related hospital agreements through my Healthcare AI Contracting & Hospital Procurement service. Engagements are conducted entirely in writing.
Medical Data Licensing & AI Training Rights
Legal assessment and contract development for acquiring, licensing and commercializing medical datasets, including permitted AI training, data provenance, privacy restrictions, derived models, intellectual property and downstream usage rights.
Request this packageSee what is includedHealthcare AI Contracting & Hospital Procurement
Attorney-drafted enterprise agreements and procurement redlines for healthcare AI vendors and providers, addressing data rights, clinical responsibilities, model changes, commercial liability, security obligations and institutional purchasing requirements.
Request this packageSee what is includedEach fee is a starting fee. The engagement letter confirms the exact scope, jurisdictions and fee in writing before any payment. Packages do not include clinical or scientific validation, FDA submissions, litigation or outside expert fees.
Can a hospital sell de-identified medical records without patient authorization?
HIPAA generally permits disclosure of properly de-identified information without a HIPAA authorization. Other laws, upstream permissions and contractual restrictions must still be considered. See HHS guidance.
Is removing patient names sufficient to de-identify a dataset?
No. HIPAA requires satisfaction of one of the two recognized methods under 45 CFR 164.514. Replacing names with identification codes does not automatically satisfy either method.
Does a BAA automatically permit AI model training?
No. The activity must fall within legally permissible and contractually authorized uses of PHI. Independent commercial training and de-identification rights require separate review under 45 CFR 164.504.
Can I train AI using a HIPAA limited data set?
Potentially, if the specific activity serves a qualifying purpose and complies with the required data use agreement under 164.514(e). A limited data set is not an unrestricted commercial dataset.
Does California regulate licenses of de-identified patient information?
Yes. Civil Code 1798.148 imposes specific contractual requirements and re-identification restrictions on qualifying information and transactions.
Who owns a model trained using licensed medical data?
Review the license, underlying intellectual property rights and development agreements. Define ownership and commercialization rights in the trained model expressly rather than relying on the fact that the company performed the training.
- 45 CFR 160.103 - HIPAA definitions, covered entities, business associates and protected health information.
- 45 CFR 164.514 - Safe Harbor, Expert Determination, limited data sets and data use agreements.
- HHS Guidance Regarding Methods for De-identification of PHI - interpretation of de-identification requirements and identification risk.
- 45 CFR 164.504 - business associate agreement requirements.
- 45 CFR 164.508 - authorizations and sale-of-PHI restrictions and exceptions.
- 45 CFR 164.512 - research-related uses and disclosures without individual authorization.
- HHS Business Associate De-identification FAQ - authority to de-identify PHI and subsequent uses of properly de-identified information.
- Washington My Health My Data Act, ESHB 1155 - chapter 19.373 RCW, consumer health data, de-identification, consent, sale authorizations and exemptions.
- Nevada Revised Statutes, chapter 603A - codified consumer health data legislation enacted through SB 370.
- Connecticut General Statutes, 2026 Supplement, chapter 743jj - consumer health privacy provisions and healthcare-related exemptions, including 2026 amendments.
- Connecticut General Statutes, chapter 743jj - section 42-523 concerning de-identified and pseudonymous data.
- California AB 658 - expansion of CMIA section 56.06 to specified consumer health technology businesses.
- California Consumer Privacy Act, statutory text effective January 1, 2026 - Civil Code 1798.146 and 1798.148, exemptions, re-identification and required licensing provisions.
- 16 CFR Part 318 - FTC Health Breach Notification Rule.
- FTC GoodRx enforcement proceeding - complaint and entered stipulated federal court order.
- FTC BetterHelp administrative proceeding - complaint and final administrative consent order.
- 17 U.S.C. 102-103 - copyrightable subject matter, compilations and derivative works.
- 17 U.S.C. 201 - copyright ownership.
- 17 U.S.C. 204 - execution of copyright ownership transfers.
- U.S. Copyright Office, January 29, 2025 announcement concerning AI copyrightability - human authorship and copyright protection for AI-assisted outputs.
Ask the AI Legal Analyst a follow-up question
Describe your product in a few sentences for general legal information on how these rules may apply.

Sergei Tokmakov, Esq., Terms.Law. Admitted to practice in California (State Bar No. 279869) and Washington (WSBA No. 65720). My law firm won the 2026 American Legal Technology Awards in the Law Firm category.
I handle matters in writing: no calls or video meetings. Contact: owner@terms.law.