Module 1 · Start safely
Patient data never goes into the model
In short
In a clinic, patient data does not go into a general AI service: not notes with the name removed, not invented examples that look real. AI helps with schedules, stock, SOPs and general drafts. Not medical or legal advice.
After this lesson you can
- Apply the clinic rule that patient data never goes into a general AI service
- Explain why clinic notes with the name removed can still identify a patient
- Separate clinic work that AI can safely help with from work that touches patient data
Terms in this lesson
Understand
The first rule in this track is short: patient data never goes into a general AI service. Patient data is not only what is in the medical record. Names, medical record numbers, dates of birth, addresses, phone numbers, complaints, lab results, wound photos, medicine lists, one person's follow-up schedule, even what was said at the registration desk: all of it is patient data. A general AI service means a chat service or assistant that your clinic has not set up and contracted to hold health data, including free accounts and your own paid personal account.
Why so strict? Health data is specific personal data under Law No. 27 of 2022 on Personal Data Protection. Law No. 17 of 2023 on Health protects the confidentiality of patients' health information, and Minister of Health Regulation No. 24 of 2022 governs medical records, including electronic medical records, and who may open them. Once patient data is pasted into a service outside the clinic's systems, you no longer know where it is stored, for how long, or who can read it. Data that has left cannot be pulled back. The third lesson of this module explains those rules in plain words.
The rule does not make AI useless in a clinic. Most clinic administration can be helped without a single item of patient data: building a duty roster from staff numbers and opening hours, planning appointment slots from visits per hour, computing stock needs from per-item usage summaries, tidying SOPs, and drafting notices or message templates with general content. This track is built on work like that.
The most common temptation sounds like this: "I removed the name, so it is safe." For ordinary office data, the lesson on masking data already explains that replacing names with codes does not make data anonymous. In a clinic the problem is sharper, because clinic notes are free text and full of unique details.
A visit note can mention age, job, village, the date of an event, family relationships, a rare illness, or an event people nearby know about, such as an accident at a factory last week. One detail alone may not be enough, but two or three together are often enough to point to one person, especially in a small town where the clinic serves residents who know each other. Removing names by hand also misses things easily: a name can reappear mid-sentence, in a file name or in a photo.
That is why this track does not teach how to "anonymise" patient notes so they can be pasted. Real anonymisation of free text takes expertise, tools and a formal clinic decision, and the result still has to be assessed by someone authorised. For daily work the answer is simpler: do the task without the note at all. If a task can only be done by reading one patient's note, it stays inside the clinic system with the people entitled to it, without a general AI service.
Before
The prompt
I am pasting this morning's patient visit note, with the name removed: [visit note]. Please make a summary for a referral letter.
What came back
[BAD OUTPUT EXAMPLE — UNCHECKED — NOT MEDICAL INFORMATION] Of course. Here is a referral summary based on that note: [complaint, history and findings copied from the note], plus [two follow-up tests suggested by the model].
After
The prompt
I am clinic admin staff and I will not give any patient data. Goal: a blank referral cover letter template, to be filled in by the doctor in the clinic system. Reader: admin staff at the receiving facility. Material: the required sections from the receiving facility's list: [list of sections]. Limits: do not fill in a sample patient and do not write clinical advice. Mark every clinical section with [filled in by the doctor]. Shape: one page, bold section headings. Check: list at the end which sections the doctor must fill in before the letter is sent.
What came back
Referral cover letter template. Sections: sending facility details; referral destination; reason for referral [filled in by the doctor]; examination summary [filled in by the doctor]; treatment given so far [filled in by the doctor]; doctor's signature. Must be filled in by the doctor before sending: reason for referral, examination summary, treatment given so far.
What changed
- The first request sends a clinic note outside the clinic's systems; removing the name does not change that.
- The model also added suggested tests, a clinical decision nobody asked for.
- The second request asks for the document's shape, not its content. Clinical content is still written by the doctor in the clinic system.
Common mistake
- Mistake
- Assuming a patient note is safe to paste into AI because its name and record number were removed.
- Why it hurts
- Free text holds age, place, dates and events that can point to one person, especially in a small community. The note is still health data, and once it leaves the clinic's systems, the clinic cannot pull it back or guarantee its confidentiality.
- Do this instead
- Work without the note. Ask AI for the shape, a template or a general explanation, then fill in the patient parts yourself in the clinic system.
You may ask: what if the clinic buys a system with an AI feature built in? That is a different decision this track does not cover. Such a system is chosen by the clinic's leadership together with the person appointed for data protection, with a clear contract, legal basis, access settings and logging. Until there is a written decision like that, this track's rule applies to every tool.
The rule also covers invented examples. Making a fake but realistic patient note for "practice" sounds safe, but the habit is dangerous: an invented example easily picks up real details you remember from yesterday's patient, and other readers may take it for real data. In this track, every example uses schedules, stock, SOPs and general topics.
Try
Sorting card
Sort these clinic tasks. Which may a general AI service help with, and which stay in the clinic system without general AI?
Building a nurses' roster from the number of nurses and opening hours
Tidying the wording of the new-patient registration SOP
Drafting a notice about new service hours
Asking what one patient's lab result means, without the name
Replying to a patient's complaint by pasting their original message
Summarising one patient's history before a follow-up
Computing glove stock needs from monthly usage totals
7 cards left
A colleague at the desk wants to photograph a patient's lab result, cover the name with a finger, then ask an AI service on their phone so they can explain it to the patient. What is the right response?
Take home
Before pasting anything into AI at the clinic
- My material holds no patient name, number, date of birth, address or contact
- My material holds no complaint, findings, photo, medicine or clinical note of any patient
- I am not using a patient note "with the name removed" or an invented example that looks real
- This task can be done with aggregate numbers, work steps or general topics
- If the task needs one patient's data, I do it in the clinic system without general AI
What went wrong for us
Patient data never goes to a model
- Context
- We run a clinic app that stores medical records. An AI feature that summarises patient histories sounds very useful.
- What tends to go wrong
- Sending medical records to a third-party model means health data leaves the clinic's systems.
- What it costs if ignored
- Leaked health data cannot be pulled back, and patients' trust goes with it.
- Root cause
- Health data is specific personal data under the PDP Law, with large legal and trust risks.
- How we do it
- AI features in that app only work on things outside patient data, such as schedules, stock and SOP drafts.
- The rule we keep
- AI code may not read medical record tables, and every access to health records is written to an audit log.
The lessonSome data is better never sent to a model at all.
What it means for your workBefore using AI on work that touches people's health data, find the parts of the job it can help with without that data.
Sources
- Undang-Undang Nomor 27 Tahun 2022 tentang Pelindungan Data Pribadi (JDIH BPK) (accessed 26 October 2026)
