This Emergency Room Doctor Became a Hospital’s First Clinical AI Engineer

Research 0 views

Boston Children's Hospital hired Dinesh Rai in 2023 as a prompt engineer, reflecting early hopes for generative AI in medicine. A former emergency physician and self-taught coder, Rai later became a clinical AI engineer. As models improved, prompting lost importance. His work now focuses on embedding AI into hospital workflows, verifying trustworthy outputs, and supporting clinicians. He splits time between engineering and clinical needs. The shift shows how hospital AI roles are moving from simple prompt crafting toward building reliable systems that can safely influence patient care.

Key Takeaways

  • Boston Children’s Hospital hired Dinesh Rai as a prompt engineer in 2023, but his role evolved into a broader clinical AI engineer position.
  • The shift reflects how advances in large language models reduced the importance of carefully crafted prompts.
  • Rai’s path combined clinical medicine, self-taught software engineering, and health AI work, giving him both domain and technical skills.
  • The hospital’s focus moved from using AI for answers to building trusted AI systems integrated into real clinical workflows.
  • Key AI work now includes clinical decision support, data interpretation, reliability, and maintaining healthy clinician oversight.

Meta description: Boston Children's Hospital shows how a 2023 prompt engineer role evolved into clinical AI work, shifting focus from prompts to trusted systems.

This Emergency Room Doctor Became a Hospital’s First Clinical AI Engineer

Tags: Boston Children's Hospital, clinical AI, prompt engineering, large language models, health care

Featured image: abstract technology style, network nodes, medical workflow shapes, no real people, no company logos, no text.

In 2023, Boston Children's Hospital posted a job listing for a prompt engineer, and Dinesh Rai applied without expecting to be hired. The role reflected an early belief that generative AI would create a new specialty centered on carefully wording instructions for large language models (LLMs). Three years after Rai joined the hospital in August 2023, his title and daily work had changed: he is now a clinical AI engineer, and prompting is a much less important part of his job.

2014 to 2022: A physician learns to build software

Rai's path was not typical for a hospital AI hire. He studied business at Rutgers Business School, earning a bachelor's degree in supply-chain management and marketing sciences, and entered Albert Einstein College of Medicine to earn a Doctor of Medicine. In 2014, the same year he began medical school, he started teaching himself to code as neural networks and image recognition drew wider attention.

While training as an emergency physician, Rai kept building software. During medical school, he created Academius, a platform for students to track residency interviews and assemble their rank lists. He has said the appeal of coding was scale: emergency medicine helped one patient at a time, while software could reach thousands of clinicians and many more patients.

A 2021-22 fellowship in clinical informatics, which focuses on the intersection of clinical practice and IT systems, made full-time health technology work feel possible. In 2022, Rai joined Pieces, a health care AI company, and led work to bring LLM-based medical summarization into clinical use. That required stepping away from practicing medicine, a difficult decision. He has since reactivated his medical license and hopes to return to clinical practice in some capacity within the next year.

August 2023: The prompt engineering role arrives at a hospital

Boston Children's Hospital brought Rai on board in August 2023. The hospital wanted internal expertise on how to begin using AI, according to John Brownstein, chief innovation officer. Brownstein said the early expectation was that prompting would become a job in itself: "Knowing how to prompt AI properly was going to be the job function of the future."

At that time, companies sought people who could coax better answers from LLMs by wording instructions carefully, supplying examples, and giving systems personas or context. Rai's unusual resume fit that moment: a trained physician who had also taught himself to code and had moved into health technology.

Three years later: From prompts to trusted clinical systems

Although AI adoption in medicine is surging, some health care professionals still have concerns about its use. By three years after the hire, Rai still works at Boston Children's Hospital, but the hospital's question had shifted. Better models made elaborate prompting less important, so the harder work became building AI into actual health care systems and deciding whether its answers could be trusted. Brownstein said the current focus includes embedding tools in day-to-day operations and building agents to manage many tasks.

For Rai, that broadened role looks like a mix of engineering and clinical work. Roughly half his day is spent with developers, writing code and advancing projects from the technical side. The other half is spent with clinicians to understand what they actually need. He describes himself as more like a clinical AI engineer now.

One project, clinical doppelgangers, is designed to help doctors treating complicated patients find similar cases in historical hospital data. Because medical guidelines often rely on large populations, a child with a rare or complex disease may not fit published studies cleanly. The system is being developed so clinicians can identify previous patients with relevant similarities, examine their trajectories, and see how different interventions turned out. It is not meant to replace randomized clinical trials; it could provide another source of evidence when the literature offers little guidance.

Such work requires more than asking an LLM the right question. It requires knowing what hospital data means, how a clinician will use an answer, and how an AI system can fail. In a recent project, developers and clinicians initially favored giving a model access to more patient information. Developers assumed any data point could be useful; clinicians assumed the model would ignore irrelevant findings. Rai saw a problem: abnormal lab results or vital signs may not be relevant, and an LLM cannot be counted on to recognize that irrelevance. It may create a plausible explanation for why an abnormality matters even when the record does not support the connection.

The same lesson appears in tools meant to draft clinical notes. Before finalizing a note-drafting platform, Rai's team had clinicians review a batch of generated notes. A clinician who had cared for a complicated patient in the cardiac intensive care unit for weeks would be more likely to catch an error than someone skimming the chart later. The team told clinicians up front that the tool was meant to support their judgment, not replace their own review. Rai says some skepticism is healthy, and people trust AI more when they have seen its mistakes than when they are simply told it is good.

Current stage: Domain knowledge becomes the durable skill

Rai's career change mirrors a broader shift in AI-focused roles. He is wary of telling people interested in careers like his to master any particular tool. For hands-on engineering jobs, fundamental programming skills still matter, and some understanding of machine learning and experience building and testing systems are useful. But not every clinician working with AI needs to become a database architect or study algorithms deeply.

What Rai considers indispensable is domain knowledge: understanding health care workflows, how electronic health record data is created, what that data represents, and where care breaks down. The value, he says, is not just knowing how to get an answer from a model. It is knowing what context the model needs and whether that context supports the answer it is being asked to give.

Tags: LLMclinical AIprompt engineeringhealth careBoston Children's Hospital

Comments

No comments yet. Be the first to comment.

Leave a comment