Datasets to practice app
From Research Dataset to Practice App: The Compliance Gap Nobody Warns You About
Last reviewed: . Vendor facts checked against each vendor's own pages on the dates shown.
Short answer: The gap is that two rulebooks apply at once: research data properly de-identified under HIPAA is not PHI (HHS (HIPAA Privacy Rule), § 164.502 Uses and disclosures of protected health information: General rules., verified November 15, 2026), yet the dataset's license still limits its use, and your patients' information is PHI from their first login. Before launch, keep research data out of the production app and put every service touching patient data under a business associate agreement.
You trained a model on an open dataset, liked the results, and asked an AI app builder to wrap it in screens patients can use. Every step felt like the same project. Legally, it was not. Research data, research habits and research tools sit on one side of a line; your practice's patients sit on the other. The trouble starts when things cross that line without anyone deciding they should.
This page maps the crossings: what changes between a dataset you found in the PAHL datasets catalog and an app your patients touch, which rules govern each side, and who makes the call. It is practical guidance, not legal advice; your counsel and privacy officer decide. For the dataset-specific detail, see the PhysioNet and MIMIC guide and the OpenNeuro guide.
What HHS, PhysioNet and OpenNeuro say, in their own words (checked November 15, 2026)
Rulebook 1: HIPAA, which stops at de-identified data
The Privacy Rule says this about data that has been properly stripped of identifiers:
“Health information that meets the standard and implementation specifications for de-identification under § 164.514(a) and (b) is considered not to be individually identifiable health information, i.e., de-identified.”
There are two recognized ways to get there. Safe Harbor removes a list of identifiers, including all date elements except the year (HHS (HIPAA Privacy Rule), § 164.514 Other requirements relating to uses and disclosures of protected health information., verified November 15, 2026), and also requires that the organization have no actual knowledge that what remains could identify someone, alone or combined with other information (HHS (HIPAA Privacy Rule), § 164.514 Other requirements relating to uses and disclosures of protected health information., verified November 15, 2026). Expert Determination relies on a qualified expert who finds the re-identification risk very small and documents why (HHS (eCFR), 45 CFR 164.514 -- Other requirements relating to uses and disclosures of protected health information., verified November 15, 2026). The protection switches back on if the data is linked to people again: “If de-identified information is re-identified, a covered entity may use or disclose such re-identified information only as permitted or required by this subpart.” (HHS (HIPAA Privacy Rule), § 164.502 Uses and disclosures of protected health information: General rules., verified November 15, 2026)
Rulebook 2: the dataset's own license, which does not stop
De-identified does not mean unrestricted. PhysioNet's credentialed data use agreement (DUA, the contract you sign to download credentialed data such as MIMIC-IV (PhysioNet (MIT-LCP), MIMIC-IV v3.1, verified November 15, 2026)) is explicit about purpose: “I have requested access to PhysioNet restricted data for the sole purpose of lawful use in scientific research, and I will use my privilege of access, if it is granted, for this purpose and no other.” (PhysioNet (MIT-LCP), PhysioNet Credentialed Health Data Use Agreement 1.5.0 (License for MIMIC-IV v3.1), verified November 15, 2026) It also bars sharing access with anyone else (PhysioNet (MIT-LCP), PhysioNet Credentialed Health Data Use Agreement 1.5.0 (License for MIMIC-IV v3.1), verified November 15, 2026) and prohibits trying to identify anyone in the data (PhysioNet (MIT-LCP), PhysioNet Credentialed Health Data Use Agreement 1.5.0 (License for MIMIC-IV v3.1), verified November 15, 2026). PhysioNet's FAQ adds that each person needs individual access, and sharing within teams is not permitted (PhysioNet (MIT-LCP), FAQs - PhysioNet, verified November 15, 2026). On online tools, PhysioNet says:
“The PhysioNet Credentialed Data Use Agreement explicitly prohibits sharing access to the data with third parties, including sending it through APIs or using it on online platforms.”
PhysioNet also says models and datasets derived from MIMIC should be treated as containing sensitive information and, if shared, shared on PhysioNet under the same agreement (PhysioNet (MIT-LCP), MIMIC-IV v3.1, verified November 15, 2026).
Open datasets come with terms too. OpenNeuro, which hosts sets such as the Healthy Brain Network EEG releases, says reuse is governed by the license each dataset was deposited under (General Policies - OpenNeuro documentation, verified November 15, 2026), and it provides data as-is, with no warranty of accuracy or fitness for a particular purpose (General Policies - OpenNeuro documentation, verified November 15, 2026).
Rulebook 3: your practice's HIPAA program, which starts with patients
HIPAA's protected health information (PHI) is individually identifiable health information kept or sent in any form (HHS (HIPAA), § 160.103 Definitions., verified November 15, 2026). CMS says providers who submit HIPAA transactions such as claims electronically are covered entities, the organizations HIPAA regulates directly (Are You a Covered Entity? | CMS, verified November 15, 2026). If that is your practice, any company that creates, receives, maintains or transmits PHI for it is a business associate (HHS (eCFR), 45 CFR 160.103 -- Definitions., verified November 15, 2026). Before that company handles PHI, the practice needs its assurance that it will safeguard the information (HHS (eCFR), 45 CFR 164.502 -- Uses and disclosures of protected health information: General rules., verified November 15, 2026), documented in a written agreement: the business associate agreement (BAA) (HHS, 45 CFR 164.502 -- Uses and disclosures of protected health information: General rules., verified November 15, 2026).
The gap, mapped: six things that change between the dataset and the app
The obvious change is real patients arriving. Five less obvious changes come with it.
| What changes | Research side | Practice side | Who decides |
|---|---|---|---|
| 1. The data | De-identified rows, not PHI | Your patients' names, logins, readings, messages: PHI | HIPAA, through your practice |
| 2. The purpose | Research, if that is what you signed for | Patient care and practice operations | The dataset's license; ask the data host and counsel |
| 3. The people | You, under your own credentials | Staff, contractors, vendors, maybe a co-founder | DUA for research data; HIPAA access rules for patient data |
| 4. The tools | Your own machine, local notebooks | Cloud app builder, hosting, AI model APIs | DUA for research data; BAAs for anything holding PHI |
| 5. The model | A research artifact | A file that runs on patient inputs | License terms on derived models; possibly FDA |
| 6. The return trip | Data flowed in from the dataset | Patient data flowing back into training or a shared dataset | Your privacy officer, under HIPAA |
Rows 2 and 5 are the quiet ones. PhysioNet's credentialed license limits use to lawful scientific research and no other purpose (PhysioNet (MIT-LCP), PhysioNet Credentialed Health Data License 1.5.0, verified November 15, 2026). Whether running a model trained under that license inside a clinical app fits that purpose is a question for the data host and your counsel, not for you or your app builder. PhysioNet's position that derived models carry the source data's sensitivity (PhysioNet (MIT-LCP), MIMIC-IV v3.1, verified November 15, 2026) is the place to start that conversation. Get the answer in writing.
Row 5 has a second question: whether the app is a medical device. FDA's device definition covers products intended for use in diagnosing disease or other conditions, or in treating or preventing disease (How to Determine if Your Product is a Medical Device | FDA, verified November 15, 2026), and FDA says to start by defining your product's intended use (How to Determine if Your Product is a Medical Device | FDA, verified November 15, 2026). How to read FDA-cleared competitors' submissions walks through what cleared products in your area reveal, and the Is it a device? tool gives a first pass.
Row 6 is where good intentions cause incidents. Patient uploads are PHI, so copying them into a training set is a new use of that PHI, and it needs a HIPAA basis. Except where the Privacy Rule otherwise permits it, a covered entity needs a valid authorization from the patient to use or disclose PHI (U.S. Department of Health and Human Services (HHS), eCFR :: 45 CFR 164.508 -- Uses and disclosures for which an authorization is required, verified November 15, 2026). Publishing a cleaned version is a separate step: OpenNeuro, for example, makes uploaders agree their dataset contains no identifiable health information as HIPAA defines it, naming dates of birth, acquisition dates and facial features on scans among the examples (Frequently Asked Questions - OpenNeuro documentation, verified November 15, 2026).
What this means for your app
In a vibe-coded app built around a dataset-trained model, research material and PHI tend to meet in a handful of places. Check each one.
- Seed and demo data. Builders fill tables with sample rows. If you gave the builder dataset rows to make the screens look real, those rows now sit on an online platform, which PhysioNet says its agreement prohibits for credentialed data (PhysioNet (MIT-LCP), Use of MIMIC Data with Large Language Models and Online Services, verified November 15, 2026). Use invented patients instead; describe the table layout, not the rows.
- The builder chat. Pasting a few rows into the chat to explain a bug sends them to an online platform. Once patients exist, the same habit sends PHI. See what to do if patient information went into a coding tool.
- The model call. Every request that sends a patient's readings to the model is PHI in transit, wherever the model runs. A hosted AI API needs a BAA before it sees patient data; the OpenAI API guide covers one example.
- The training folder. If the app can save patient uploads where your research files live, the folder is now a PHI store, and everyone with access to it is part of your HIPAA picture.
- Old research access. Shared drives, code repositories and accounts a co-resident or mentor could reach during the research phase can quietly survive into production.
- Logs and error tools. A failed prediction can copy a patient's full inputs into a third-party error tracker.
Then do the HIPAA basics for the patient side. If your practice is a covered entity, it must run an accurate and thorough risk analysis of the electronic PHI it holds (HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards., verified November 15, 2026) (a template: The Physician Builder's HIPAA Risk Analysis Template (Free Download)), and should send each service only the PHI it needs (HHS (eCFR), 45 CFR 164.502 -- Uses and disclosures of protected health information: General rules., verified November 15, 2026). Check your builder, database, hosting and AI services against the BAA Matrix or the Stack Checker.
How this goes wrong: the sleep app whose training folder filled with patients
Imagine a sleep physician (hypothetical) who trains a sleep-stage model on research polysomnography (overnight sleep study) recordings, such as the Sleep-EDF Expanded recordings found under sleep staging in the catalog. PhysioNet describes that set as 197 whole-night sleep recordings (PhysioNet, Sleep-EDF Database Expanded v1.0.0, verified November 15, 2026) and lets anyone use the files who follows its attribution license (PhysioNet, Sleep-EDF Database Expanded v1.0.0, verified November 15, 2026). No data use agreement, no credentialing. So the research phase is relaxed, and legitimately so: a laptop, a notebook, a code repository she made public so others could reproduce the work, and a shared cloud folder with a former co-resident who helped label recordings. Openness was the point.
A year later she asks an AI app builder for a home sleep follow-up app. Patients upload exports from their wearables; the app returns a sleep-stage summary. She asks the builder to make the model keep improving. It writes a nightly job that copies each new upload into the training folder, the same shared folder from the research days, and a script that refreshes the repository's sample files from that folder.
Within weeks, the public repository holds recordings named with patients' surnames and dated by night. Dates other than the year are on HIPAA's Safe Harbor list of identifiers (HHS (HIPAA Privacy Rule), § 164.514 Other requirements relating to uses and disclosures of protected health information., verified November 15, 2026). The co-resident, who is not part of the practice and has no BAA, can open every upload. Nothing was hacked. Every step followed a habit the open license allowed for the research recordings. An attribution license governs what you may do with someone else's open data; it says nothing about your own patients' recordings, which HIPAA governs from the moment they are uploaded.
Now the practice has a possible breach to assess: an impermissible disclosure is presumed to be a breach unless a risk assessment shows a low probability the PHI was compromised (HHS (eCFR), 45 CFR 164.402 -- Definitions., verified November 15, 2026). And the physician cannot easily tell which files are open data and which are patients, because they share one folder. Her privacy officer and counsel, not the app, decide what happens next. The fix that would have prevented it fits on one line: patient data never goes where research data lives.
Closing the gap before the first patient
- Write down every dataset you used, with its version and license or DUA. One line each.
- Ask the purpose question in writing for any research-only dataset: may a model trained on it run in a clinical app? Send it to the data host and your counsel.
- Split the worlds. Research data stays on your own machine under your own credentials. The production app gets its own cloud account, with no dataset rows in it.
- Close old access. Remove collaborators from anything that will hold patient data. Make repositories private before any patient file could reach them.
- Put the patient side under BAAs: database, hosting, file storage, email or SMS, AI model calls, error tracking.
- Decide the return trip in advance. If you want patient data to improve the model, your privacy officer picks the HIPAA path first, whether de-identification or another path the Privacy Rule permits. Until then, the app does not save uploads for training.
- Answer the device question before you describe what the app does on your website (FDA-Cleared Competitors in Your Specialty: What Their Submissions Mean for the App You're Building).
- Run the clinical safety review: open data comes with no promise of fitness for your use (General Policies - OpenNeuro documentation, verified November 15, 2026). See clinical safety review for AI-built medical tools.
This is the kind of separation Fabrica is built around: physicians build on synthetic patient data, PHI stays in infrastructure covered by BAAs in a cloud account the practice owns, and an expert reviews every release that touches PHI. For patient-facing apps, each release also gets a clinical safety review and a medical-device assessment.
Keep, refactor, or rebuild?
The screens and workflow you built on the dataset can usually stay. What gets refactored is the plumbing that blurred the line: shared research folders, seed rows, model-improvement jobs and AI calls that touch patients. If the data host's answer on shipping a derived model is no, the model is what gets rebuilt, not the app.
Sort the app into two piles. The first pile is what patients see: screens, forms, the order of steps, the wording of results. That was built on invented or open data and can usually stay. The second pile is what moves data: the database, file storage, the model-improvement job, the AI calls, the logs, and any folder or repository that existed before the app did. That pile gets moved onto BAA-covered services in an account the practice owns, with research data kept out.
The model sits between the piles. If the data host and your counsel say a model trained under a research agreement may ship in a clinical app, it moves across with the rest. If they say no, retrain it on data you are permitted to use for patient care, and keep the app around it. See how to decide between keep, refactor and rebuild for the general method.
Frequently asked questions
My model was trained on de-identified data. Does that make my app's data de-identified too?
No. De-identification describes the training data, not what patients type or upload. Information a patient enters into your practice's app is individually identifiable health information, which HIPAA treats as PHI (HHS (HIPAA), § 160.103 Definitions., verified November 15, 2026).
Can the colleague who helped with my research keep access once the app is live?
Not by default. For credentialed PhysioNet data, PhysioNet says each person needs individual access (PhysioNet (MIT-LCP), FAQs - PhysioNet, verified November 15, 2026). Patient data is a separate question: letting someone outside the practice see it is a disclosure that needs a HIPAA basis. If the colleague will do work for the practice that involves PHI, they become a business associate (HHS (eCFR), 45 CFR 160.103 -- Definitions., verified November 15, 2026) and need a BAA first. Your privacy officer decides.
Can I add my patients' data to the open dataset I trained on, or publish it?
Only after your privacy officer approves a HIPAA path. The default is that a covered entity may not use or disclose PHI without a valid authorization unless the Privacy Rule permits it another way (U.S. Department of Health and Human Services (HHS), eCFR :: 45 CFR 164.508 -- Uses and disclosures for which an authorization is required, verified November 15, 2026). Repositories set their own bar too: OpenNeuro requires uploaders to agree the data has no HIPAA identifiers (Frequently Asked Questions - OpenNeuro documentation, verified November 15, 2026).
If a dataset is CC0 or open access, does anything still apply?
Yes. OpenNeuro releases newly published datasets under CC0 (Frequently Asked Questions - OpenNeuro documentation, verified November 15, 2026), but it still says reuse follows each dataset's deposit license (General Policies - OpenNeuro documentation, verified November 15, 2026) and gives no warranty of accuracy or fitness for purpose (General Policies - OpenNeuro documentation, verified November 15, 2026). Read the license on each dataset page, and test the model on your own patients' kind of data before anyone relies on it.
Does using a trained model make my practice app a medical device?
It can, depending on what the app is intended to do. FDA's device definition covers products intended for diagnosing, treating or preventing disease (How to Determine if Your Product is a Medical Device | FDA, verified November 15, 2026), and intended use can be shown by labeling, advertising, or written or spoken statements (FDA (21 CFR 801.4), 21 CFR 801.4 Meaning of intended uses (eCFR), verified November 15, 2026), including your website. FDA also lists AI-enabled devices authorized for marketing (U.S. FDA, List of Artificial Intelligence-Enabled Medical Devices | FDA, verified November 15, 2026). Start with reading cleared competitors' submissions and the Is it a device? tool, then confirm with regulatory counsel.
What if my app accidentally links a dataset record to a real patient?
Stop using the link and tell your privacy officer the same day. Re-identified information may be used or disclosed only as the Privacy Rule allows, the same as PHI (HHS (HIPAA Privacy Rule), § 164.502 Uses and disclosures of protected health information: General rules., verified November 15, 2026). For PhysioNet data, the agreement bars attempts to identify anyone (PhysioNet (MIT-LCP), PhysioNet Credentialed Health Data Use Agreement 1.5.0 (License for MIMIC-IV v3.1), verified November 15, 2026), and the license requires you to report promptly to PhysioNet any information you believe might identify a person (PhysioNet (MIT-LCP), PhysioNet Credentialed Health Data License 1.5.0, verified November 15, 2026).
Palo Alto Health Labs Fabrica
Keep building. We make it safe.
Built your model on a research dataset and now want patients using the app? Drawing the line between research data and PHI is the conversation to have first.
Fabrica moves the patient data in your vibe-coded app into an environment your practice owns, built for HIPAA compliance, with a BAA. You keep building in the tool you already use. Start with a 30-minute call about what you have built and where patient data goes today.
See how Fabrica works and book a 30-minute call
Please do not send patient information when you get in touch. The call is a conversation, not an audit or legal advice.
Sources
Every vendor statement on this page comes from the vendor's own terms, documentation or trust pages, or from the regulator, opened and read on the date shown. Vendor terms change; confirm the current version and your own signed agreement before relying on it. This page is general information, not legal advice.
- HHS (HIPAA Privacy Rule), § 164.502 Uses and disclosures of protected health information: General rules.. Checked November 15, 2026. Page dated current (eCFR).
- HHS (HIPAA Privacy Rule), § 164.514 Other requirements relating to uses and disclosures of protected health information.. Checked November 15, 2026. Page dated current (eCFR).
- HHS (eCFR), 45 CFR 164.514 -- Other requirements relating to uses and disclosures of protected health information.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
- PhysioNet (MIT-LCP), MIMIC-IV v3.1. Checked November 15, 2026. Page dated Published Oct. 11, 2024 (Version 3.1).
- PhysioNet (MIT-LCP), PhysioNet Credentialed Health Data Use Agreement 1.5.0 (License for MIMIC-IV v3.1). Checked November 15, 2026.
- PhysioNet (MIT-LCP), FAQs - PhysioNet. Checked November 15, 2026.
- PhysioNet (MIT-LCP), Use of MIMIC Data with Large Language Models and Online Services. Checked November 15, 2026. Page dated Sept. 24, 2025.
- General Policies - OpenNeuro documentation. Checked November 15, 2026. Page dated 2026-10-13.
- HHS (HIPAA), § 160.103 Definitions.. Checked November 15, 2026. Page dated current (eCFR).
- Are You a Covered Entity? | CMS. Checked November 15, 2026. Page dated Page Last Modified: 03/16/2026.
- HHS (eCFR), 45 CFR 160.103 -- Definitions.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
- HHS (eCFR), 45 CFR 164.502 -- Uses and disclosures of protected health information: General rules.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
- PhysioNet (MIT-LCP), PhysioNet Credentialed Health Data License 1.5.0. Checked November 15, 2026.
- How to Determine if Your Product is a Medical Device | FDA. Checked November 15, 2026. Page dated 2022-09-29.
- U.S. Department of Health and Human Services (HHS), eCFR :: 45 CFR 164.508 -- Uses and disclosures for which an authorization is required. Checked November 15, 2026. Page dated eCFR current text.
- Frequently Asked Questions - OpenNeuro documentation. Checked November 15, 2026.
- HHS (eCFR), 45 CFR 164.308 -- Administrative safeguards.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
- PhysioNet, Sleep-EDF Database Expanded v1.0.0. Checked November 15, 2026. Page dated 2013-10-24.
- HHS (eCFR), 45 CFR 164.402 -- Definitions.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
- FDA (21 CFR 801.4), 21 CFR 801.4 Meaning of intended uses (eCFR). Checked November 15, 2026.
- U.S. FDA, List of Artificial Intelligence-Enabled Medical Devices | FDA. Checked November 15, 2026. Page dated Content current as of: 09/04/2026.