AI in Healthcare
Putting AI on Patient Data in the UAE
· 8 min read · Anton Babayan, Founder
Health records are the most restricted material most teams will ever put behind a model, and the constraints do not arrive as paperwork at the end. They decide which fields reach a prompt, where the model runs, and who is allowed to say an output is correct. All three are architecture, and all three are cheaper to settle before anything is built.
Classify the record, not the project
A hospital system holds material of very different sensitivity under one roof: bed occupancy and clinic scheduling, coded diagnoses, lab results, clinical notes, images. Treating all of it as one class means the whole system inherits the strictest rule, and most of the useful work then cannot be done at all.
So the exercise runs per field and per table, with clinical governance in the room rather than consulted afterwards. It takes a few days and it decides the rest, for the reasons set out in the piece on residency. What follows here is what changes when the records are clinical.
An identifier is not one field
People picture the Emirates ID and stop there. A patient record identifies through a dozen routes: the medical record number, the insurance member number, the file reference on the referral, the admitting physician, the facility, the admission timestamp, the next of kin. A redaction rule written against two of those leaves the rest intact.
The work is to list them per table and decide, for each task, which ones the model genuinely needs. Usually none: a summary of a hospital course needs the course, not the number the chart is filed under. Hold the join back to the patient in your own systems and most tasks run on the strongest model available to you with nothing restricted leaving the boundary.
Field rules do not survive a clinical note
Structured fields can be masked. A note written by a registrar at two in the morning cannot, because what identifies the patient there is a combination: an uncommon diagnosis, a referring department, an age band, a week. Each part is unremarkable. Together they name one person in an emirate, and no pattern-matching rule sees the combination.
That makes notes a decision of their own rather than a harder case of the same decision. Either they stay inside the perimeter with a model running there, or the specific tasks that need them are listed and approved one at a time. Returning the relevant extract instead of the whole chart narrows both the exposure and the room the model has to invent, which is the mechanism in grounding answers in sources. The handful of tasks that truly need the whole note are the ones that justify the cost in self-hosted or API.
Correct is a clinical judgement, so a clinician makes it
Someone has to be able to look at an output and rule on it, and in a health setting that person needs standing in the relevant specialty. Their involvement is not a review meeting at the end. They build the evaluation set out of real cases, including the ones that went badly, and they sign off on a sample of live output after launch.
It also matters what the output claims. A feature that summarises what a clinician already wrote is a different proposition from one that suggests a diagnosis or a dose, and the second attracts scrutiny the first does not. Teams tend to describe their system in the ambitious register and then discover they have promised the harder category. Write down what it does and does not assert, early, in the words you would use to a regulator.
What a health review actually asks
Less about the model than teams expect. On what basis was this patient data used, who reached this record and when, which facility’s agreement covers that, what happens to the copy you made for training, and who outside your organisation has seen any of it. The architecture either answers those from its own logs or it does not.
Keep the record at request level from the first week, not from the first audit. Retrofitting history is impossible, and the same trail is what later shows quality has not drifted, which is the other half of measuring a model in production.
The short version
Classify field by field with clinical governance present. Enumerate every route a record identifies through, not just the obvious one. Give free-text notes their own decision. Put a named clinician on the evaluation set before launch, and be precise about what the output claims. And log at request level from day one.
Frequently asked questions
Can patient data be sent to a model hosted outside the UAE?
Not in identifiable form, in the general case. The workable pattern is to strip the identifiers before the prompt is built and keep the join back to the patient inside your own systems, which leaves most tasks on the best available model without moving the restricted fields.
Does de-identification make health data safe to process anywhere?
It lowers the risk without ending the obligation. A free-text clinical note can identify a patient through detail that no field-level rule catches, so notes need handling of their own and a review of what actually leaves the boundary.
Who signs off that a clinical AI output is correct?
A named clinician, before launch and on a sample afterwards. A feature that touches care cannot be released against a definition of correct that nobody owns, and a committee does not produce one.
What does a health regulator ask for first?
Where the data sits, who can reach it, and what the audit trail shows for one named record. A system that answers those three in an afternoon turns a review into a conversation. One that cannot turns it into a finding.