Emergency Physician Became Boston Children's First Clinical AI Engineer
In 2023, Boston Children's Hospital was hiring a prompt engineer, and emergency physician Dinesh Rai applied. Three years later, careful prompt wording matters much less. The core work is now integrating AI into hospital processes and checking its answers. Rai, for example, noticed that a model can invent a convincing link between an abnormal lab result and a diagnosis where none exists. That is why medical AI projects need engineers who know the clinical domain.
AI-processed from IEEE Spectrum AI; edited by Hamidun News
In 2023, when "prompt engineer" was one of the hottest jobs of the generative AI era, Boston Children's Hospital posted exactly that role. Dinesh Rai, an emergency physician who had taught himself programming even before medical school, applied. He did not expect to get the job. He got it: Rai started in August 2023. Three years later, his title reads differently: clinical AI engineer. Skill at coaxing a model with precise wording has moved to the background.
Why prompts stopped being a profession
Initially, the expectation was simple. According to John Brownstein, the hospital's chief innovation officer, careful prompt work was expected to become a distinct function. The hospital then needed internal expertise on where to even begin using AI.
Models have since improved, and elaborate prompt incantations are needed less often. The questions have changed: how to build these tools into the clinic's everyday processes, and how to build agents that take over routine work. Rai describes his role this way: he is now more an engineer than a wording specialist.
His path to this role was unusual. Rai began learning to program in 2014, the year he entered medical school, and built software on the side, such as Academius, a platform where students track residency interviews and compile preference lists. What drew him was scale: a physician helps one patient in front of them, while a program can be used by thousands of clinicians. After a clinical informatics fellowship in 2021–22, he moved to the company Pieces, where he worked on deploying LLM-based medical summaries. To do this, he had to pause his clinical practice. He has restored his licence and hopes to return to patient care within a year.
What he does now
About half of Rai's day goes to engineering work: writing code and discussing tasks with developers. He spends the other half with physicians, figuring out what they actually need. In his view, this combination is the essence of the job.
One of the projects is called "clinical twins." The hospital treats many rare and complex conditions, and a particular child often does not fit the populations on which published studies are based. The system finds similar past patients in the archive, lets clinicians review their histories, and shows what different interventions led to. It does not replace randomised trials, but it provides another source of information where the literature is silent.
A mundane debate Rai recently faced is also telling. The team had to decide how much of a patient's chart data to give the model when it is asked to find findings related to a specific outcome. Both developers and physicians leaned toward providing more, but for different reasons. Developers argued that any measurement might prove useful. Physicians relied on the model to recognise on its own what is irrelevant and ignore it.
Rai saw a problem with both assumptions. An abnormal lab value or vital sign does not necessarily relate to the question being asked. And an LLM cannot be trusted to recognise what is irrelevant: if you ask it whether an abnormality matters, it may construct a plausible explanation even when the chart does not support such a link.
How to earn physicians' trust
Now what surrounds the query matters more. Does the model's answer align with the source data? How should results be evaluated? Will a clinician be able to spot an error?
For a platform that drafts clinical notes, prospective users first reviewed batches of generated notes before the final launch. A physician who has spent weeks observing a complex patient in cardiac intensive care will catch an error much faster than someone who skims the chart after the fact. The team made it clear from the start that this is a tool to support judgement, not a replacement for the clinician's own review of the chart. According to Rai, people trust the system more after they have seen its mistakes than when they are simply told that everything is fine.
What follows from this
Rai is cautious about advice to "learn tool X": roles in AI change too quickly. For engineering positions, programming fundamentals, an understanding of machine learning, and experience building and testing systems still matter. But not every physician interested in AI needs to become a database architect.
He considers domain knowledge indispensable: how clinical workflows operate, how electronic health record data is generated, what it actually means, and where care breaks down. The limitation of this story is obvious: it is one specialist's profile at one hospital, with no metrics or deployment outcomes. But the lesson for teams building medical and other AI products is practical. The value lies not in getting an answer from a model, but in understanding what context the model needs and whether that context supports the answer.
- May 16, 2026Harvard study: AI outperforms emergency physicians at diagnosis
- Jun 1, 2026Boston Children's Uses OpenAI's AI to Diagnose Rare Diseases
- May 17, 2026OpenAI model outperforms doctors at diagnosis, but researchers urge caution
- Jul 8, 2026AI in Medicine: How a Neural Network Triages Patients in the NHS App
Key Questions Answered
Why prompts stopped being a profession?
Initially, the expectation was simple. According to John Brownstein, the hospital's chief innovation officer, careful prompt work was expected to become a distinct function. The hospital then needed internal expertise on where to even begin using AI. Models have since improved, and elaborate prompt incantations are needed less often. The questions have changed: how to build these tools into the clinic's everyday processes, and how to build agents that take over routine work.
What he does now?
About half of Rai's day goes to engineering work: writing code and discussing tasks with developers. He spends the other half with physicians, figuring out what they actually need. In his view, this combination is the essence of the job. One of the projects is called "clinical twins." The hospital treats many rare and complex conditions, and a particular child often does not fit the populations on which published studies are based.
How to earn physicians' trust?
Now what surrounds the query matters more. Does the model's answer align with the source data? How should results be evaluated? Will a clinician be able to spot an error? For a platform that drafts clinical notes, prospective users first reviewed batches of generated notes before the final launch. A physician who has spent weeks observing a complex patient in cardiac intensive care will catch an error much faster than someone who skims the chart after the fact.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
