Already put patient data in

I Pasted Patient Information into ChatGPT to Help Build My App. What Now?

Last reviewed: . Vendor facts checked against each vendor's own pages on the dates shown.

Short answer: If you pasted patient information into ChatGPT on a Free, Plus, Pro or Business plan, which OpenAI says are not eligible services under its BAA, stop today but do not delete the chats yet. (OpenAI, HIPAA Implementation and Configuration Guide, verified November 27, 2026) Write down what you pasted and when, delete any shared links, and call your privacy officer or counsel.

This happens because ChatGPT is genuinely useful for building. You wanted it to see the real columns from your EHR export, or the error message with a patient's name in it, so it could write the right code. What matters now is doing things in the right order, starting today. The steps below protect your patients first and keep the record your counsel will need.

This page is not legal advice, and it will not tell you whether you broke a rule. That decision belongs to your privacy officer and a healthcare attorney. The goal here is to get you to that conversation with the facts written down.

The first five things to do today

  1. Stop pasting real patient details. Tell anyone who shares your account or helps you build to stop too. Do not paste more records into a new chat to ask ChatGPT for help with the problem. If you want to keep building tonight, switch to made-up (synthetic) patients with fake names and dates.

  2. Do not delete the chats yet. Deleting feels like the responsible move, but it destroys your own record and does not make the data disappear on the spot. When you delete a chat, “OpenAI schedules it for permanent deletion from its systems within 30 days, unless the chat was already de-identified and disassociated from your account or OpenAI must retain it longer for security or legal obligations.” (Chat and file retention in ChatGPT | OpenAI Help Center, verified November 15, 2026) And there is no undo: “You cannot restore a deleted chat in ChatGPT or through OpenAI Support.” (Chat and file retention in ChatGPT | OpenAI Help Center, verified November 27, 2026) That chat is the best evidence of exactly what you pasted and when. Archiving is not a fix either. “Archiving a chat does not change its retention period.” (Chat and file retention in ChatGPT | OpenAI Help Center, verified November 15, 2026)

  3. Write down the facts while they are fresh. One page is enough. Which chats (titles and dates). What kinds of data went in: names, dates of birth, record numbers, diagnoses, screenshots of the EHR, a spreadsheet export. Roughly how many patients. The first and last dates. Which account you used, which plan it was on, and whether a BAA was signed and when. (A BAA, or business associate agreement, is the contract HIPAA requires with a vendor that handles patient data.) Whether Improve the model for everyone was on; on personal Free, Plus and Pro workspaces it is on by default. (Data controls in ChatGPT | OpenAI Help Center, verified November 27, 2026) Who else can log into the account. Whether any chat was shared, put in a project or custom GPT, and whether any of the pasted rows ended up in your app's code or database.

  4. Close the doors, and note the time you did it. Open Settings, then Data controls, then Shared links, and select Manage. (Sharing conversations and scheduled tasks in ChatGPT | OpenAI Help Center, verified November 15, 2026) Before you delete anything there, write down or screenshot the list: which chats were shared and who you sent the links to. Then delete the links. Anyone who has a link created from a personal account can view the shared conversation. (Sharing conversations and scheduled tasks in ChatGPT | OpenAI Help Center, verified November 27, 2026) Deleting a link stops future access but does not delete the original conversation, so your record stays. (Sharing conversations and scheduled tasks in ChatGPT | OpenAI Help Center, verified November 15, 2026) Change your password if anyone else knows it. If the app you built is published and contains any of the pasted rows, take it offline. Then turn off model training going forward; that does not delete your chats. (Data controls in ChatGPT | OpenAI Help Center, verified November 27, 2026)

  5. Call your privacy officer or counsel today. If your practice has a privacy officer, start there. If that is you, call a healthcare attorney. Bring your one-page notes. Do not email the patient details themselves to anyone while you set this up, including to us.

Do not ask ChatGPT to forget it and call it done. Memory is its own store. “Saved memories are stored separately from chat history. Deleting the original chat does not automatically delete a separate saved memory.” (Memory in ChatGPT | OpenAI Help Center, verified November 27, 2026) Clearing one place leaves the others, and every deletion should be on counsel's advice, after your notes are written.

What OpenAI says, in its own words (checked November 15, 2026)

The first question your counsel will ask is which ChatGPT you used. Only some OpenAI products can be used with protected health information (PHI, the patient data HIPAA protects) under a BAA. OpenAI's HIPAA guide is direct about the everyday plans:

“For clarity, ChatGPT Services for consumers (e.g., Free, Plus, Pro) and ChatGPT Business are not Eligible Services.”

Its BAA help article adds that OpenAI does not offer a BAA for ChatGPT Business, and that BAAs for sales-managed Enterprise or Edu accounts go through sales. (Getting a Business Associate Agreement for the OpenAI API | OpenAI Help Center, verified November 27, 2026)

Some ChatGPT products do come with a BAA. OpenAI lists ChatGPT for Healthcare, ChatGPT for Enterprise with Regulated Workspace, ChatGPT FedRAMP and ChatGPT for Clinicians among its HIPAA eligible products. (HIPAA eligible products and functionality | OpenAI Help Center, verified November 27, 2026) ChatGPT for Clinicians lets eligible individual clinicians sign a BAA for their workspace under Settings, then Agreements. (ChatGPT for Clinicians | OpenAI Help Center, verified November 27, 2026) OpenAI's instruction for that product is plain: “Do not share PHI in ChatGPT for Clinicians unless a BAA is in place and you are authorized to sign a BAA for your account.” (ChatGPT for Clinicians | OpenAI Help Center, verified November 27, 2026) If you used it, the date you signed matters, so put it in your notes.

Three more facts that belong in your notes if you used a personal plan:

Where the patient data likely sits in your ChatGPT account

A pasted record does not stay in one chat. Depending on what you did while building, it can sit in several places, and each one belongs in your notes and in your written questions to OpenAI.

PlaceWhat may be thereWhat OpenAI says
Chat history, including archived chatsPasted rows, error messages with patient names, EHR screenshotsChats stay saved until you delete them or a workspace retention policy removes them. (Chat and file retention in ChatGPT | OpenAI Help Center, verified November 27, 2026)
Library or SpaceUploaded spreadsheets, PDFs, screenshotsDeleting a chat does not delete a file saved there. (Chat and file retention in ChatGPT | OpenAI Help Center, verified November 15, 2026)
Projects and custom GPTsSample patient files added as knowledge or project filesFiles given to a custom GPT stay until the GPT is deleted. Project files stay until the project or file is deleted, or a workspace retention policy removes them. (Chat and file retention in ChatGPT | OpenAI Help Center, verified November 27, 2026)
Saved memoriesDetails ChatGPT saved as useful context, such as a patient you describedStored apart from chat history. (Memory in ChatGPT | OpenAI Help Center, verified November 27, 2026)
Shared linksThe conversation, plus images and files“Supported images and uploaded files can appear in a shared conversation.” (Sharing conversations and scheduled tasks in ChatGPT | OpenAI Help Center, verified November 15, 2026) A recipient who continues a shared chat gets a separate, private copy in their own account. (Sharing conversations and scheduled tasks in ChatGPT | OpenAI Help Center, verified November 15, 2026)
Model trainingContent from personal plans with training onOpenAI may use it to train models unless you opted out. (How your data is used to improve model performance | OpenAI Help Center, verified November 27, 2026)
ChatGPT SitesAn app or page you published from ChatGPTChatGPT Sites terms bar sites that process protected health information. (ChatGPT Sites Terms | OpenAI, verified November 27, 2026)
Codex, if you used itCode, test files and logs on your own computerThe OpenAI BAA does not cover running the Codex Local client on your machines. (HIPAA eligible products and functionality | OpenAI Help Center, verified November 27, 2026)

Then look outside ChatGPT, because this is where pasted data quietly lives on. If ChatGPT wrote seed data or test files using your real rows, those rows may now be in your code, your repository history, your app builder's database or a demo screen. Check your downloads and screenshots folders too. If you export your ChatGPT data, OpenAI warns that the download can include sensitive information and should be kept secure. (Exporting your ChatGPT history and data | OpenAI Help Center, verified November 15, 2026) Treat that file as patient data.

For the broader picture of using AI tools while building, see Cursor, ChatGPT and HIPAA and can you use ChatGPT with patient data.

Is this a breach? What HHS's rules say, and who decides

HIPAA's Breach Notification Rule defines a breach as follows: “Breach means the acquisition, access, use, or disclosure of protected health information in a manner not permitted under subpart E of this part which compromises the security or privacy of the protected health information.” (HHS (eCFR), 45 CFR 164.402 -- Definitions., verified November 15, 2026)

It then sets a starting presumption. A use or disclosure the rules do not permit “is presumed to be a breach unless the covered entity or business associate, as applicable, demonstrates that there is a low probability that the protected health information has been compromised based on a risk assessment of at least the following factors:” (HHS (eCFR), 45 CFR 164.402 -- Definitions., verified November 15, 2026)

The four factors are:

  1. “(i) The nature and extent of the protected health information involved, including the types of identifiers and the likelihood of re-identification;” (HHS (eCFR), 45 CFR 164.402 -- Definitions., verified November 15, 2026)
  2. Who used the data or received it.
  3. Whether the data was actually acquired or viewed.
  4. How far the risk has been reduced (mitigated). (HHS (eCFR), 45 CFR 164.402 -- Definitions., verified November 15, 2026)

Here is how a ChatGPT incident maps onto those factors. The first is your list of data types: a first name in an error message is different from a full spreadsheet with diagnoses. The second asks who received it: OpenAI, on a plan its BAA does not cover, plus anyone who had a shared link or your login. The third asks whether anyone actually looked, which is why the list of shared links and recipients matters. The fourth is mitigation: links deleted, written confirmations from OpenAI and from anyone who received a link. If the question comes up later, the practice carries the burden of showing that notices were made or that it was not a breach. (HHS (eCFR), 45 CFR 164.414 -- Administrative requirements and burden of proof., verified November 15, 2026) Your counsel weighs all of this and decides.

Timing

If counsel concludes there was a breach, affected patients must be notified without unreasonable delay and no later than 60 calendar days after discovery. (HHS (eCFR), 45 CFR 164.404 -- Notification to individuals., verified November 15, 2026) Discovery is the first day the breach is known, or would have been known with reasonable diligence, and what any workforce member knew, other than the person who caused the breach, counts as the practice's knowledge. (HHS (eCFR), 45 CFR 164.404 -- Notification to individuals., verified November 15, 2026) So if a staff member did the pasting and told a colleague last month, tell counsel that too.

HHS must also be told. For 500 or more people, the report goes to HHS at the same time as the patient notices. (HHS (eCFR), 45 CFR 164.408 -- Notification to the Secretary., verified November 15, 2026) For fewer than 500, the practice keeps a log and reports to HHS within 60 days after the end of the calendar year. (HHS (eCFR), 45 CFR 164.408 -- Notification to the Secretary., verified November 15, 2026) State rules can add their own duties; see state AG and state-law exposure. Keep your notes. HIPAA's Privacy Rule and Security Rule each require their documentation to be kept for 6 years. (HHS (eCFR), 45 CFR 164.530 -- Administrative requirements., verified November 15, 2026) (HHS (eCFR), 45 CFR 164.316 -- Policies and procedures and documentation requirements., verified November 15, 2026) Ask counsel which of your incident records fall under that.

A BAA must require the vendor to report disclosures the contract does not allow, and, where feasible, to return or destroy patient data when the relationship ends. (HHS (eCFR), 45 CFR 164.504 -- Uses and disclosures: Organizational requirements., verified November 15, 2026) (HHS (eCFR), 45 CFR 164.504 -- Uses and disclosures: Organizational requirements., verified November 15, 2026) On a plan with no BAA, you do not have those contract terms. Ask anyway, keep the replies, and let counsel review the wording first. OpenAI's Privacy Portal is one route for a data request or other privacy rights. (Exporting your ChatGPT history and data | OpenAI Help Center, verified November 15, 2026)

  • Deletion scope. Once you delete the named chats, files, project files and memories, when will each be gone from OpenAI's systems? OpenAI says deleted chats are scheduled for deletion within 30 days unless it must keep them longer for security or legal reasons. (Chat and file retention in ChatGPT | OpenAI Help Center, verified November 15, 2026) Ask whether either exception applies to yours.
  • Memory logs. OpenAI may keep logs of deleted saved memories for up to 30 days. (Memory in ChatGPT | OpenAI Help Center, verified November 15, 2026) Ask for confirmation once they are gone.
  • Training. If training was on, ask whether these conversations were used, and what OpenAI can do about it. Get the answer in writing; do not assume either way.
  • Shared links. Ask whether OpenAI keeps any record of who opened a shared link, and for how long.

Then write to each person who received a link: a colleague, a freelance developer, a forum. Ask them to delete any copy they continued or saved, and to confirm in writing. Deleting your link does not remove a copy someone already saved. (Sharing conversations and scheduled tasks in ChatGPT | OpenAI Help Center, verified November 15, 2026) For ready-made vendor wording, see the BAA request email templates.

Getting the data onto BAA-covered infrastructure

ChatGPT was your helper, not your app's database, so the move here is less about exporting and more about where real patient data lives from now on. Three rules cover most cases:

BAA-covered OpenAI services also have limits. OpenAI's HIPAA guide says they may not be used to maintain PHI as part of a designated record set, HIPAA's term for a defined set of patient records. (OpenAI, HIPAA Implementation and Configuration Guide, verified November 27, 2026) Ask counsel before treating any chat tool as the place your app keeps patient records.

This is the setup Fabrica provides. Patient data lives in a cloud account your practice owns, with BAAs in place with each vendor that handles it. You keep building with AI coding tools on synthetic patient data, and an expert reviews every release that touches PHI. If something goes wrong later, PAHL leads the technical investigation and your practice makes notification decisions with counsel.

Imagine a hypothetical orthopedic surgeon building a post-op follow-up tracker. To get the database right, she uploads an EHR export of 40 recent patients into a chat on her personal Plus account and asks ChatGPT to design the tables and write seed data. It works well. When she gets stuck on sign-in, she clicks Share and sends the link to a freelance developer and to a colleague who builds apps too.

Two months later a friend asks whether ChatGPT signs a BAA. She checks, panics, and deletes the chat that night. Here is what happened, and what did not:

The rule presumes a breach unless a risk assessment shows a low probability the data was compromised. (HHS (eCFR), 45 CFR 164.402 -- Definitions., verified November 15, 2026) She deleted the record that could have helped and left the copies that hurt. The safer order was slower: list the shared links, write the notes, delete the links but keep the chat, pull the app offline and strip the seed file, ask the freelancer in writing to delete his copy, call counsel, and delete the rest on counsel's advice.

Keep, refactor, or rebuild?

Verdict: Keep or Refactor

Pasting patient details into ChatGPT is an incident to handle with counsel, not proof the app is unusable. The code lives in your own project, so keep the screens and workflow, and strip any real rows ChatGPT put into seed data, tests or demo screens. If the app's database, sign-in or hosting are not covered by BAAs, refactor those parts. Keep using ChatGPT to build, with synthetic patients only.

The incident and the app are separate questions. Handle the incident first, with counsel. The code ChatGPT helped write now sits in your own project, so the screens and workflow can often stay. What changes is anything that touched the pasted data: seed files, test fixtures, demo screens and repository history, plus wherever the app keeps real records. See keep, refactor or rebuild, the related scenario an AI tool sent PHI to a model without a BAA, and, if you also pasted into another tool, patient information pasted into Cursor.

Frequently asked questions

Did I violate HIPAA by pasting patient information into ChatGPT?

A web page cannot tell you that. Under HHS's rule, an impermissible use or disclosure is presumed to be a breach unless a risk assessment shows a low probability the data was compromised. (HHS (eCFR), 45 CFR 164.402 -- Definitions., verified November 15, 2026) Your privacy officer and counsel run that assessment and decide.

Should I delete the ChatGPT chat right now?

Not yet. Delete the shared links first, which stops access without deleting the original conversation. (Sharing conversations and scheduled tasks in ChatGPT | OpenAI Help Center, verified November 15, 2026) A deleted chat cannot be restored (Chat and file retention in ChatGPT | OpenAI Help Center, verified November 27, 2026), and it may be the record your counsel needs. Delete on counsel's advice.

I used temporary chat. Does that mean nothing was kept?

No. OpenAI may keep a copy of a temporary chat for up to 30 days for safety purposes. (Temporary chat in ChatGPT | OpenAI Help Center, verified November 27, 2026) Write it down like any other chat and tell counsel.

I have ChatGPT for Clinicians. Is my situation different?

Possibly. ChatGPT for Clinicians is on OpenAI's list of HIPAA eligible products (HIPAA eligible products and functionality | OpenAI Help Center, verified November 27, 2026), and eligible clinicians can sign a BAA for their workspace. (ChatGPT for Clinicians | OpenAI Help Center, verified November 27, 2026) OpenAI says not to share PHI there unless a BAA is in place. (ChatGPT for Clinicians | OpenAI Help Center, verified November 27, 2026) Tell counsel the date you signed and the dates you pasted.

Was my patient data used to train ChatGPT?

On Free, Plus and Pro, OpenAI may use your content for training unless you opt out (How your data is used to improve model performance | OpenAI Help Center, verified November 27, 2026), and that setting is on by default. (Data controls in ChatGPT | OpenAI Help Center, verified November 27, 2026) Whether your specific chats were used is a question to put to OpenAI in writing.

Can I keep using ChatGPT to build my app?

Yes, with made-up patients. It is useful for designing screens, tables and code. Real patient data belongs in the app's own BAA-covered systems, which is what Fabrica sets up while you keep building.

Palo Alto Health Labs Fabrica

Keep building. We make it safe.

Pasted patient details into ChatGPT and still want to finish the app? Once counsel has your notes, this 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.

  1. OpenAI, HIPAA Implementation and Configuration Guide. Checked November 27, 2026. Page dated Posted: July 9, 2026.
  2. Chat and file retention in ChatGPT | OpenAI Help Center. Checked November 15, 2026. Page dated Updated: 11 days ago (relative date as displayed on 2026-11-15, i.e. ~2026-11-04).
  3. Data controls in ChatGPT | OpenAI Help Center. Checked November 27, 2026. Page dated Updated: 4 days ago (relative date as displayed on 2026-11-15, i.e. ~2026-11-11).
  4. Sharing conversations and scheduled tasks in ChatGPT | OpenAI Help Center. Checked November 15, 2026. Page dated Updated: 24 days ago (relative date as displayed on 2026-11-15, i.e. ~2026-10-22).
  5. Memory in ChatGPT | OpenAI Help Center. Checked November 27, 2026. Page dated Updated: 14 days ago (relative date as displayed on 2026-11-15, i.e. ~2026-11-01).
  6. Getting a Business Associate Agreement for the OpenAI API | OpenAI Help Center. Checked November 27, 2026. Page dated Updated: 13 days ago (relative date as displayed on 2026-11-15, i.e. ~2026-11-02).
  7. HIPAA eligible products and functionality | OpenAI Help Center. Checked November 27, 2026. Page dated Updated: 5 days ago (relative date as displayed on 2026-11-15, i.e. ~2026-11-10).
  8. ChatGPT for Clinicians | OpenAI Help Center. Checked November 27, 2026. Page dated Updated: yesterday (relative date as displayed on 2026-11-15, i.e. ~2026-11-14).
  9. How your data is used to improve model performance | OpenAI Help Center. Checked November 27, 2026. Page dated Updated: 26 days ago (relative date as displayed on 2026-11-15, i.e. ~2026-10-20).
  10. Temporary chat in ChatGPT | OpenAI Help Center. Checked November 27, 2026. Page dated Updated: 14 days ago (relative date as displayed on 2026-11-15, i.e. ~2026-11-01).
  11. ChatGPT Sites Terms | OpenAI. Checked November 27, 2026. Page dated Updated: November 6, 2026.
  12. Exporting your ChatGPT history and data | OpenAI Help Center. Checked November 15, 2026. Page dated Updated: 27 minutes ago (as displayed on 2026-11-15).
  13. 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).
  14. HHS (eCFR), 45 CFR 164.414 -- Administrative requirements and burden of proof.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11 (versioner API).
  15. HHS (eCFR), 45 CFR 164.404 -- Notification to individuals.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
  16. HHS (eCFR), 45 CFR 164.408 -- Notification to the Secretary.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
  17. HHS (eCFR), 45 CFR 164.530 -- Administrative requirements.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-01.
  18. HHS (eCFR), 45 CFR 164.316 -- Policies and procedures and documentation requirements.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
  19. HHS (eCFR), 45 CFR 164.504 -- Uses and disclosures: Organizational requirements.. Checked November 15, 2026. Page dated eCFR text current as of 2026-11-12 (Title 45 up to date as of 2026-11-12).
  20. HIPAA Compliance - Amazon Web Services (AWS). Checked November 15, 2026.