Índice do artigofaltam 5 min de leitura
In almost every AI project in healthcare, the first meeting discusses which model to use. The question that really decides the project is a different one: which data can leave the network, and the answer to that lies in the law, not in the architecture.
There is a common and expensive sequence in healthcare projects: the technology is chosen, the solution is designed, and legal comes in at the end to approve it. When legal comes in, a good part of the design has to be redone, because the regime that applies to health data is not the same one that applies to ordinary personal data.
This article reverses the order. It starts with what the law classifies, shows what that requires in the architecture and ends with the path that delivers value without running into the most restrictive regime.
Article summary
- Health data is sensitive personal data under LGPD, Brazil's data protection law, and its regime is that of article 11, narrower than the one for ordinary data.
- Paragraph 1 of article 11 reaches any processing that reveals sensitive data, so not having a diagnosis field does not take the system outside the rule.
- The health protection basis became more restrictive in 2019 and does not cover administrative or commercial use.
- There is a path that delivers value without touching patient data, and it is where most operations should start.
AI in healthcare is not just diagnosis
It is worth undoing the automatic association. When people talk about AI in healthcare, the image that comes up is reading medical images, which is the most publicized application and the least accessible one: it involves a regulated product, clinical validation and professional liability.
Most of the value available today to hospitals, clinics, health insurers and the health industry is far from that. It is in patient and provider service, in billing and claims review, in searching protocols and manuals, in procedure authorization, in insurer reconciliation and in supporting the sales team. These are administrative processes, dense in documents and rules, and that is where automation pays off quickly.
What changes from one application to another is not the technology. It is whether the data processed makes it possible to identify a person and reveal something about their health.
The law classifies this data, and the regime is different
LGPD defines, in article 5, item II, that data concerning health is sensitive personal data, in the same category as genetic and biometric data linked to a natural person, as well as racial origin, religious belief and political opinion.
This classification has a direct consequence: sensitive data is not processed under the legal bases of article 7, which apply to ordinary personal data. It has its own list, in article 11, and that list is shorter. With consent, the article requires it to be specific and highlighted, for specific purposes. Without consent, processing only happens when it is indispensable for one of the listed cases, among them compliance with a legal obligation, the regular exercise of rights, protection of life and protection of health.
The practical consequence for anyone hiring a solution: the "accept the terms of use" that supports an ordinary product does not support processing health data. It is a different instrument, with a different level of specificity.
The paragraph that catches those who think they do not process health data
This is the most underestimated point of the subject, and it knocks down the most common defense, that "the system does not store diagnoses".
Paragraph 1 of article 11 extends the regime to any processing of personal data that reveals sensitive personal data and that may cause harm to the data subject. A field called diagnosis is not required. It is enough that the whole set allows an inference.
A schedule that shows the doctor's specialty reveals a health condition. A pharmacy purchase history reveals it. An authorization flow that records the requested procedure reveals it. A customer service chatbot that stores the patient's question reveals it, because the question is the data itself.
The health protection basis is narrower than it looks
There is a temptation to settle the legal basis through the clause about protection of health, and it usually does not fit.
The original text allowed processing for the protection of health "in a procedure performed by health professionals or by health entities". The amendment made by Law No. 13,853/2019 tightened the wording, which now applies exclusively to procedures performed by health professionals, health services or health authorities.
Administrative, commercial, marketing or operational efficiency use usually does not fit there, even inside a healthcare organization. This does not mean those uses are forbidden: it means they need another legal basis, and that assuming the wrong basis at the start of the project is the kind of mistake that only shows up in legal review.
What this requires in the architecture
Here compliance stops being a document and becomes system design. What the classification produces, in practice, is a split into three zones, and the design decision is which one each piece of data lives in.
The top zone is the cheap path: content that is not about patients can go to a cloud model without entering the article 11 regime. The bottom zone is what justifies processing inside the network, and it is exactly what the discussion about local AI exists to solve.
Between the two there is a third possibility, which is reducing the data before it crosses over: removing identifiers, aggregating, or replacing the record with the strictly necessary excerpt. When the result no longer allows identification, the nature of the processing changes.
Start with what does not touch patient data
This is the most useful advice and the least followed. There is a whole layer of value in healthcare that involves no sensitive data at all, and it is usually enough to prove the case before any heavy compliance discussion.
Clinical protocols, equipment manuals, procedure tables, insurer rules, training material, product catalogs, internal policies and technical documentation are the institution's content, not the patient's. An assistant that answers based on this collection, citing the source, solves real team questions every day and does not enter the article 11 regime.
The gain is twofold. The team learns to work with AI in a low-risk context, and the institution arrives at the discussion about patient data with a working case, instead of a promise.
Questions for the first meeting
The meeting that avoids rework brings product, IT and legal together before the design, not after. These questions usually settle most of the architecture doubts.
- What exactly will the system store and what will it transmit, field by field?
- With this set, is it possible to infer something about the health of an identifiable person?
- Which article 11 basis supports this processing, and does it cover the project's real purpose?
- If something goes to a vendor abroad, what is the contractual framework for the transfer?
- Is there a record of who accessed which information, sufficient to answer an audit?
The second question is the one that changes the design the most, and it is almost never asked early. It is worth noting that this article describes the legal text and the architecture consequences it produces; it does not replace an analysis of your specific case by your institution's legal team or data protection officer.
Frequently asked questions
Yes. Article 5, item II, classifies data concerning health as sensitive personal data, along with genetic and biometric data linked to a natural person. The processing regime is that of article 11, which is more restrictive than the one for ordinary data.
Not necessarily. Article 11, paragraph 1, extends the regime to any processing that reveals sensitive data and may cause harm to the data subject. A system that makes it possible to infer a health condition falls under the same rule, even without a diagnosis field.
It depends on two simultaneous legal bases: one under article 11 that allows the processing and one under article 33 that allows the international transfer. It is a contractual and legal conversation before it is a technical one.
It is narrower than it looks. After the 2019 amendment, it applies exclusively to procedures performed by health professionals, health services or health authorities. Administrative or commercial use usually does not fit it.
Yes, and it is usually where it is worth starting: material that is not about patients, such as protocols, technical manuals, procedure tables, catalogs and training material. It delivers real value and does not fall under the article 11 regime.
It solves the transfer part and reduces the exposure surface, but it does not remove the need for a legal basis, purpose, records and access control. Keeping data in-house is an architecture decision, not a substitute for compliance.
Sources and method
The legal text cited comes from Law No. 13,709/2018 (LGPD) in the version published by the Planalto (the Brazilian presidency's official legislation site), consulted on August 31, 2026: article 5, item II, which defines sensitive personal data; article 11, opening text and items, on the processing bases; clause "f" of item II as worded by Law No. 13,853/2019; and paragraph 1, on processing that reveals sensitive data.
The architecture decisions described come from X-Apps practice in projects with restricted-access data. The article does not cover regulated medical products or clinical validation, which follow their own regime and were not the subject of this research.





