{"id":173948,"topic":"ai","source":"IEEE Spectrum","title":"This ER Doctor Became a Hospital’s First Clinical AI Engineer - IEEE Spectrum","url":"https://spectrum.ieee.org/clinical-ai-engineer-dinesh-rai","url_hash":"d91aa1990047a177ce28616abaa6e00bc71ced71","author":"","summary":"<a href=\"https://news.google.com/rss/articles/CBMiaEFVX3lxTE5CZ3FsVWtCOTlWNGFyZ2FFY2dkamhGUE1IaDZkRlJ5enBjTkRPOUh2dnNPS183ZjVtcVZvdy0ycDZwOGtJTFJ1ZWVqb0FKcThLYTRXRjVyX2hqVFlsc25TMXQzUkhSQk9f?oc=5\" target=\"_blank\">This ER Doctor Became a Hospital’s First Clinical AI Engineer</a>&nbsp;&nbsp;<font color=\"#6f6f6f\">IEEE Spectrum</font>","content":"When Boston Children’s Hospital posted a job listing for a prompt engineer in 2023, Dinesh Rai decided to apply. He didn’t expect to get the job.\nAt the time, prompt engineering was being touted as one of the hot new jobs created by generative AI. Companies wanted people who knew how to coax the best answers from large language models (LLMs) by carefully wording instructions, supplying examples, and giving the systems personas or other context.\nDinesh Rai\nEmployer:\nBoston Children’s Hospital\nOccupation:\nClinical AI Engineer\nEducation:\nBachelor’s degree in supply-chain management and marketing sciences, Rutgers Business School; Doctor of Medicine, Albert Einstein College of Medicine\nIt was an unusual role for a hospital, but Rai had an unusual résumé. While he was trained as an emergency physician, he had also taught himself to code just before entering medical school. After completing a fellowship in clinical informatics—which focuses on the intersection of clinical practice and IT systems—he moved into health technology.\nBoston Children’s brought him on board in August 2023. Three years later, Rai still works there. Prompt engineering, however, has become a much less important part of the job.\nWhen he joined, the 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,” says John Brownstein, chief innovation officer at Boston Children’s.\nEarly on, the hospital needed internal expertise about how to begin using AI, Brownstein says. Now, better models have made elaborate prompting less important, so the harder work is building AI into actual health care systems—and determining whether its answers can be trusted. Brownstein says the questions they focus on these days have shifted: “How do you embed these tools in your day-to-day operations? How do you build agents to manage literally everything that you do?”\nFor Rai, that has meant embracing a job broader than the role that brought him to Boston. “I’m more like a clinical AI engineer now,” he says.\nBetween medicine and engineering\nRai originally studied business as an undergraduate and began teaching himself to code in 2014 (the same year he entered medical school), as neural networks and image recognition were starting to attract wider attention. He kept building software while training as a doctor. In medical school, for instance, he created a platform called Academius for students to track residency interviews and assemble their rank lists.\nFor Rai, the appeal of coding was its scale. In emergency medicine, he could make a direct difference for the individual patient in front of him. Software offered the possibility of building something that thousands of clinicians might use for many more patients.\nHis 2021–22 informatics fellowship made the possibility of doing that full-time feel real. In 2022, Rai took a job at Pieces, a health care AI company, where he led work to bring LLM-based medical summarization into clinical use.\nThat meant taking a break from practicing medicine altogether. “Stepping away was definitely a hard decision,” Rai says. But he wanted to give the technology work his full attention. He has since reactivated his medical license and hopes to return to clinical practice in some capacity within the next year.\nAt Boston Children’s, roughly half his day now looks like an engineer’s: working with developers, writing code, and advancing projects from the technical side. The other half is spent with clinicians, figuring out what they actually need. That combination has become the point of the job.\nUncovering “clinical doppelgangers”\nOne project, called clinical doppelgangers, is designed to help doctors treating complicated patients find similar cases buried in the hospital’s historical data. Medical guidelines are generally based on large populations, but at a hospital that handles rare and complex diseases, an individual child may not fit neatly into the populations represented in published studies.\nThe system is being developed to let clinicians 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. Instead, it could provide another source of evidence when a physician is facing a case for which the published literature offers little guidance.\nProjects like that require more than knowing how to ask an LLM the right question. They require understanding what hospital data means, how a clinician will use an answer, and how an AI system can go wrong.\nRai recently encountered some of those challenges while working on another project with a clinical team and a development team. They were deciding how much of a patient’s medical record to give an AI model when asking it to identify findings relevant to a particular clinical outcome.\nBetter models have made elaborate prompting less important, so the harder work is building AI into actual health care systems.\nBoth groups initially favored giving the model access to more information, but for different reasons. The developers assumed any data point could be useful. The clinicians assumed the model would recognize irrelevant findings and ignore them.\nRai saw a problem with both assumptions. Clinically, an abnormal lab result or vital sign is not necessarily relevant to the question being asked. And from a technical perspective, an LLM cannot be counted on to recognize that irrelevance. If the system asks the model whether a given abnormality matters, it may construct a plausible explanation for why it does, even when the record does not support the connection.\n“That’s where the dual perspective has been valuable,” Rai says, “not just translating between teams, but recognizing when an approach that looks reasonable from either perspective rests on assumptions we shouldn’t make.”\nAfter the prompt\nIn medicine, the challenges surrounding the prompt are now more important than polishing the prompt itself. Is the model’s output consistent with the underlying data? How should its results be evaluated? Will the clinician using it be able to recognize a mistake?\nThat also means listening to clinicians’ experience. For the platform Rai’s team built to draft clinical notes, the clinicians who would go on to use the tool reviewed a batch of generated notes before anything was finalized. Someone who had cared for a complicated patient in the cardiac intensive care unit for weeks would catch an error far more easily than someone skimming the chart afterward, Rai says.\nAlthough AI adoption in medicine is surging, some health care professionals still have concerns about its use. “I think some skepticism is healthy, and we don’t try to talk people out of it,” he says. The team told clinicians up front that it was a generative AI tool meant to support their judgment, not replace their own review of the chart. “People trust it more when they’ve seen its mistakes than when we just tell them it’s good.”\nAn evolving career\nThe evolution of Rai’s role reflects how quickly AI-focused jobs can change, so Rai is wary of telling people interested in careers like his to master any particular tool. For people who want hands-on engineering jobs, fundamental programming skills still matter. Some understanding of machine learning is useful, as is experience building and testing systems. But not every clinician who wants to work with AI needs to become a database architect or take a deep dive into algorithms.\nWhat Rai considers indispensable is domain knowledge. In the medical field, that means understanding how health care workflows operate, how electronic health record data is created, what that data actually represents, and where care breaks down.\nThat may be the more durable lesson from a career that briefly carried one of AI’s buzziest job titles.\n“The value isn’t just knowing how to get an answer from a model,” Rai says. “It’s knowing what context it needs and whether that context supports the answer we’re asking it to give.”","image_url":"https://spectrum.ieee.org/media-library/image.png?id=68731256&width=1200&height=600&coordinates=0%2C169%2C0%2C169","lang":"en","published_at":"2026-11-27T14:03:55+00:00","fetched_at":"2026-11-27T14:15:10+00:00","status":"read","starred":0,"extract_state":"ok","summary_auto":"When Boston Children’s Hospital posted a job listing for a prompt engineer in 2023, Dinesh Rai decided to apply. At the time, prompt engineering was being touted as one of the hot new jobs created by generative AI.","cluster_id":null,"extract_retries":0,"extract_error":null,"item_type":"news","ref_id":null,"refs_json":null,"doi":null,"arxiv_id":null,"paper_version":null,"sources_json":null,"relevance_score":null,"relevance_method":null,"cited_by":null,"contract_version":"news_item.v1","format_contract_version":"news_item_formats.v1","dedup_url":"https://spectrum.ieee.org/clinical-ai-engineer-dinesh-rai","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"high","confidence":0.9,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"High confidence: full text extraction produced 8070 characters.","operator_guidance":{"severity":"ok","recommended_action":"trust_full_text","next_step":"Use the extracted full text as the primary article source.","operator_label":"Ready","can_retry":false,"can_use_summary":false,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"full_text","label":"Full text","has_full_text":true,"has_summary":true,"content_length":8070,"summary_length":214,"usable_text_length":8070,"source_field":"content"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":8070,"summary_length":214}},"news_item":{"id":173948,"canonical_url":"https://spectrum.ieee.org/clinical-ai-engineer-dinesh-rai","source_url":"https://spectrum.ieee.org/clinical-ai-engineer-dinesh-rai","title":"This ER Doctor Became a Hospital’s First Clinical AI Engineer - IEEE Spectrum","source_name":"IEEE Spectrum","author":null,"published_at":"2026-11-27T14:03:55+00:00","locale":"en","topic":"ai","tags":[],"rss_summary":"<a href=\"https://news.google.com/rss/articles/CBMiaEFVX3lxTE5CZ3FsVWtCOTlWNGFyZ2FFY2dkamhGUE1IaDZkRlJ5enBjTkRPOUh2dnNPS183ZjVtcVZvdy0ycDZwOGtJTFJ1ZWVqb0FKcThLYTRXRjVyX2hqVFlsc25TMXQzUkhSQk9f?oc=5\" target=\"_blank\">This ER Doctor Became a Hospital’s First Clinical AI Engineer</a>&nbsp;&nbsp;<font color=\"#6f6f6f\">IEEE Spectrum</font>","full_text":"When Boston Children’s Hospital posted a job listing for a prompt engineer in 2023, Dinesh Rai decided to apply. He didn’t expect to get the job.\nAt the time, prompt engineering was being touted as one of the hot new jobs created by generative AI. Companies wanted people who knew how to coax the best answers from large language models (LLMs) by carefully wording instructions, supplying examples, and giving the systems personas or other context.\nDinesh Rai\nEmployer:\nBoston Children’s Hospital\nOccupation:\nClinical AI Engineer\nEducation:\nBachelor’s degree in supply-chain management and marketing sciences, Rutgers Business School; Doctor of Medicine, Albert Einstein College of Medicine\nIt was an unusual role for a hospital, but Rai had an unusual résumé. While he was trained as an emergency physician, he had also taught himself to code just before entering medical school. After completing a fellowship in clinical informatics—which focuses on the intersection of clinical practice and IT systems—he moved into health technology.\nBoston Children’s brought him on board in August 2023. Three years later, Rai still works there. Prompt engineering, however, has become a much less important part of the job.\nWhen he joined, the 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,” says John Brownstein, chief innovation officer at Boston Children’s.\nEarly on, the hospital needed internal expertise about how to begin using AI, Brownstein says. Now, better models have made elaborate prompting less important, so the harder work is building AI into actual health care systems—and determining whether its answers can be trusted. Brownstein says the questions they focus on these days have shifted: “How do you embed these tools in your day-to-day operations? How do you build agents to manage literally everything that you do?”\nFor Rai, that has meant embracing a job broader than the role that brought him to Boston. “I’m more like a clinical AI engineer now,” he says.\nBetween medicine and engineering\nRai originally studied business as an undergraduate and began teaching himself to code in 2014 (the same year he entered medical school), as neural networks and image recognition were starting to attract wider attention. He kept building software while training as a doctor. In medical school, for instance, he created a platform called Academius for students to track residency interviews and assemble their rank lists.\nFor Rai, the appeal of coding was its scale. In emergency medicine, he could make a direct difference for the individual patient in front of him. Software offered the possibility of building something that thousands of clinicians might use for many more patients.\nHis 2021–22 informatics fellowship made the possibility of doing that full-time feel real. In 2022, Rai took a job at Pieces, a health care AI company, where he led work to bring LLM-based medical summarization into clinical use.\nThat meant taking a break from practicing medicine altogether. “Stepping away was definitely a hard decision,” Rai says. But he wanted to give the technology work his full attention. He has since reactivated his medical license and hopes to return to clinical practice in some capacity within the next year.\nAt Boston Children’s, roughly half his day now looks like an engineer’s: working with developers, writing code, and advancing projects from the technical side. The other half is spent with clinicians, figuring out what they actually need. That combination has become the point of the job.\nUncovering “clinical doppelgangers”\nOne project, called clinical doppelgangers, is designed to help doctors treating complicated patients find similar cases buried in the hospital’s historical data. Medical guidelines are generally based on large populations, but at a hospital that handles rare and complex diseases, an individual child may not fit neatly into the populations represented in published studies.\nThe system is being developed to let clinicians 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. Instead, it could provide another source of evidence when a physician is facing a case for which the published literature offers little guidance.\nProjects like that require more than knowing how to ask an LLM the right question. They require understanding what hospital data means, how a clinician will use an answer, and how an AI system can go wrong.\nRai recently encountered some of those challenges while working on another project with a clinical team and a development team. They were deciding how much of a patient’s medical record to give an AI model when asking it to identify findings relevant to a particular clinical outcome.\nBetter models have made elaborate prompting less important, so the harder work is building AI into actual health care systems.\nBoth groups initially favored giving the model access to more information, but for different reasons. The developers assumed any data point could be useful. The clinicians assumed the model would recognize irrelevant findings and ignore them.\nRai saw a problem with both assumptions. Clinically, an abnormal lab result or vital sign is not necessarily relevant to the question being asked. And from a technical perspective, an LLM cannot be counted on to recognize that irrelevance. If the system asks the model whether a given abnormality matters, it may construct a plausible explanation for why it does, even when the record does not support the connection.\n“That’s where the dual perspective has been valuable,” Rai says, “not just translating between teams, but recognizing when an approach that looks reasonable from either perspective rests on assumptions we shouldn’t make.”\nAfter the prompt\nIn medicine, the challenges surrounding the prompt are now more important than polishing the prompt itself. Is the model’s output consistent with the underlying data? How should its results be evaluated? Will the clinician using it be able to recognize a mistake?\nThat also means listening to clinicians’ experience. For the platform Rai’s team built to draft clinical notes, the clinicians who would go on to use the tool reviewed a batch of generated notes before anything was finalized. Someone who had cared for a complicated patient in the cardiac intensive care unit for weeks would catch an error far more easily than someone skimming the chart afterward, Rai says.\nAlthough AI adoption in medicine is surging, some health care professionals still have concerns about its use. “I think some skepticism is healthy, and we don’t try to talk people out of it,” he says. The team told clinicians up front that it was a generative AI tool meant to support their judgment, not replace their own review of the chart. “People trust it more when they’ve seen its mistakes than when we just tell them it’s good.”\nAn evolving career\nThe evolution of Rai’s role reflects how quickly AI-focused jobs can change, so Rai is wary of telling people interested in careers like his to master any particular tool. For people who want hands-on engineering jobs, fundamental programming skills still matter. Some understanding of machine learning is useful, as is experience building and testing systems. But not every clinician who wants to work with AI needs to become a database architect or take a deep dive into algorithms.\nWhat Rai considers indispensable is domain knowledge. In the medical field, that means understanding how health care workflows operate, how electronic health record data is created, what that data actually represents, and where care breaks down.\nThat may be the more durable lesson from a career that briefly carried one of AI’s buzziest job titles.\n“The value isn’t just knowing how to get an answer from a model,” Rai says. “It’s knowing what context it needs and whether that context supports the answer we’re asking it to give.”","excerpt":"When Boston Children’s Hospital posted a job listing for a prompt engineer in 2023, Dinesh Rai decided to apply. At the time, prompt engineering was being touted as one of the hot new jobs created by generative AI.","extraction":{"state":"ok","confidence":0.9,"error":null,"explanation":"High confidence: full text extraction produced 8070 characters.","diagnostics_url":"/api/diagnose?url=https%3A//spectrum.ieee.org/clinical-ai-engineer-dinesh-rai","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"high","confidence":0.9,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"High confidence: full text extraction produced 8070 characters.","operator_guidance":{"severity":"ok","recommended_action":"trust_full_text","next_step":"Use the extracted full text as the primary article source.","operator_label":"Ready","can_retry":false,"can_use_summary":false,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"full_text","label":"Full text","has_full_text":true,"has_summary":true,"content_length":8070,"summary_length":214,"usable_text_length":8070,"source_field":"content"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":8070,"summary_length":214}}},"display_formats":["compact","card","full","digest_section","json"]},"daily_stack_record":{"title":"This ER Doctor Became a Hospital’s First Clinical AI Engineer - IEEE Spectrum","url":"https://spectrum.ieee.org/clinical-ai-engineer-dinesh-rai","summary":"When Boston Children’s Hospital posted a job listing for a prompt engineer in 2023, Dinesh Rai decided to apply. At the time, prompt engineering was being touted as one of the hot new jobs created by generative AI.","source":"IEEE Spectrum","date":"2026-11-27T14:03:55+00:00","content":"When Boston Children’s Hospital posted a job listing for a prompt engineer in 2023, Dinesh Rai decided to apply. He didn’t expect to get the job.\nAt the time, prompt engineering was being touted as one of the hot new jobs created by generative AI. Companies wanted people who knew how to coax the best answers from large language models (LLMs) by carefully wording instructions, supplying examples, and giving the systems personas or other context.\nDinesh Rai\nEmployer:\nBoston Children’s Hospital\nOccupation:\nClinical AI Engineer\nEducation:\nBachelor’s degree in supply-chain management and marketing sciences, Rutgers Business School; Doctor of Medicine, Albert Einstein College of Medicine\nIt was an unusual role for a hospital, but Rai had an unusual résumé. While he was trained as an emergency physician, he had also taught himself to code just before entering medical school. After completing a fellowship in clinical informatics—which focuses on the intersection of clinical practice and IT systems—he moved into health technology.\nBoston Children’s brought him on board in August 2023. Three years later, Rai still works there. Prompt engineering, however, has become a much less important part of the job.\nWhen he joined, the 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,” says John Brownstein, chief innovation officer at Boston Children’s.\nEarly on, the hospital needed internal expertise about how to begin using AI, Brownstein says. Now, better models have made elaborate prompting less important, so the harder work is building AI into actual health care systems—and determining whether its answers can be trusted. Brownstein says the questions they focus on these days have shifted: “How do you embed these tools in your day-to-day operations? How do you build agents to manage literally everything that you do?”\nFor Rai, that has meant embracing a job broader than the role that brought him to Boston. “I’m more like a clinical AI engineer now,” he says.\nBetween medicine and engineering\nRai originally studied business as an undergraduate and began teaching himself to code in 2014 (the same year he entered medical school), as neural networks and image recognition were starting to attract wider attention. He kept building software while training as a doctor. In medical school, for instance, he created a platform called Academius for students to track residency interviews and assemble their rank lists.\nFor Rai, the appeal of coding was its scale. In emergency medicine, he could make a direct difference for the individual patient in front of him. Software offered the possibility of building something that thousands of clinicians might use for many more patients.\nHis 2021–22 informatics fellowship made the possibility of doing that full-time feel real. In 2022, Rai took a job at Pieces, a health care AI company, where he led work to bring LLM-based medical summarization into clinical use.\nThat meant taking a break from practicing medicine altogether. “Stepping away was definitely a hard decision,” Rai says. But he wanted to give the technology work his full attention. He has since reactivated his medical license and hopes to return to clinical practice in some capacity within the next year.\nAt Boston Children’s, roughly half his day now looks like an engineer’s: working with developers, writing code, and advancing projects from the technical side. The other half is spent with clinicians, figuring out what they actually need. That combination has become the point of the job.\nUncovering “clinical doppelgangers”\nOne project, called clinical doppelgangers, is designed to help doctors treating complicated patients find similar cases buried in the hospital’s historical data. Medical guidelines are generally based on large populations, but at a hospital that handles rare and complex diseases, an individual child may not fit neatly into the populations represented in published studies.\nThe system is being developed to let clinicians 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. Instead, it could provide another source of evidence when a physician is facing a case for which the published literature offers little guidance.\nProjects like that require more than knowing how to ask an LLM the right question. They require understanding what hospital data means, how a clinician will use an answer, and how an AI system can go wrong.\nRai recently encountered some of those challenges while working on another project with a clinical team and a development team. They were deciding how much of a patient’s medical record to give an AI model when asking it to identify findings relevant to a particular clinical outcome.\nBetter models have made elaborate prompting less important, so the harder work is building AI into actual health care systems.\nBoth groups initially favored giving the model access to more information, but for different reasons. The developers assumed any data point could be useful. The clinicians assumed the model would recognize irrelevant findings and ignore them.\nRai saw a problem with both assumptions. Clinically, an abnormal lab result or vital sign is not necessarily relevant to the question being asked. And from a technical perspective, an LLM cannot be counted on to recognize that irrelevance. If the system asks the model whether a given abnormality matters, it may construct a plausible explanation for why it does, even when the record does not support the connection.\n“That’s where the dual perspective has been valuable,” Rai says, “not just translating between teams, but recognizing when an approach that looks reasonable from either perspective rests on assumptions we shouldn’t make.”\nAfter the prompt\nIn medicine, the challenges surrounding the prompt are now more important than polishing the prompt itself. Is the model’s output consistent with the underlying data? How should its results be evaluated? Will the clinician using it be able to recognize a mistake?\nThat also means listening to clinicians’ experience. For the platform Rai’s team built to draft clinical notes, the clinicians who would go on to use the tool reviewed a batch of generated notes before anything was finalized. Someone who had cared for a complicated patient in the cardiac intensive care unit for weeks would catch an error far more easily than someone skimming the chart afterward, Rai says.\nAlthough AI adoption in medicine is surging, some health care professionals still have concerns about its use. “I think some skepticism is healthy, and we don’t try to talk people out of it,” he says. The team told clinicians up front that it was a generative AI tool meant to support their judgment, not replace their own review of the chart. “People trust it more when they’ve seen its mistakes than when we just tell them it’s good.”\nAn evolving career\nThe evolution of Rai’s role reflects how quickly AI-focused jobs can change, so Rai is wary of telling people interested in careers like his to master any particular tool. For people who want hands-on engineering jobs, fundamental programming skills still matter. Some understanding of machine learning is useful, as is experience building and testing systems. But not every clinician who wants to work with AI needs to become a database architect or take a deep dive into algorithms.\nWhat Rai considers indispensable is domain knowledge. In the medical field, that means understanding how health care workflows operate, how electronic health record data is created, what that data actually represents, and where care breaks down.\nThat may be the more durable lesson from a career that briefly carried one of AI’s buzziest job titles.\n“The value isn’t just knowing how to get an answer from a model,” Rai says. “It’s knowing what context it needs and whether that context supports the answer we’re asking it to give.”","confidence":0.9,"diagnostics_url":"/api/diagnose?url=https%3A//spectrum.ieee.org/clinical-ai-engineer-dinesh-rai","quality_bucket":"high","failure_kind":"none","retryable":false,"quality_reason":"High confidence: full text extraction produced 8070 characters.","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"high","confidence":0.9,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"High confidence: full text extraction produced 8070 characters.","operator_guidance":{"severity":"ok","recommended_action":"trust_full_text","next_step":"Use the extracted full text as the primary article source.","operator_label":"Ready","can_retry":false,"can_use_summary":false,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"full_text","label":"Full text","has_full_text":true,"has_summary":true,"content_length":8070,"summary_length":214,"usable_text_length":8070,"source_field":"content"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":8070,"summary_length":214}},"tags":[]},"fallback_formats":["markdown","json","html"],"actions":{"read":"/item/173948","export_markdown":"/api/items/173948/export?format=markdown","export_json":"/api/items/173948/export?format=json","diagnose":"/api/diagnose?url=https%3A//spectrum.ieee.org/clinical-ai-engineer-dinesh-rai"},"formats":{"full":{"id":173948,"title":"This ER Doctor Became a Hospital’s First Clinical AI Engineer - IEEE Spectrum","url":"https://spectrum.ieee.org/clinical-ai-engineer-dinesh-rai","source":"IEEE Spectrum","author":null,"published_at":"2026-11-27T14:03:55+00:00","locale":"en","topic":"ai","tags":[],"excerpt":"When Boston Children’s Hospital posted a job listing for a prompt engineer in 2023, Dinesh Rai decided to apply. At the time, prompt engineering was being touted as one of the hot new jobs created by generative AI.","full_text":"When Boston Children’s Hospital posted a job listing for a prompt engineer in 2023, Dinesh Rai decided to apply. He didn’t expect to get the job.\nAt the time, prompt engineering was being touted as one of the hot new jobs created by generative AI. Companies wanted people who knew how to coax the best answers from large language models (LLMs) by carefully wording instructions, supplying examples, and giving the systems personas or other context.\nDinesh Rai\nEmployer:\nBoston Children’s Hospital\nOccupation:\nClinical AI Engineer\nEducation:\nBachelor’s degree in supply-chain management and marketing sciences, Rutgers Business School; Doctor of Medicine, Albert Einstein College of Medicine\nIt was an unusual role for a hospital, but Rai had an unusual résumé. While he was trained as an emergency physician, he had also taught himself to code just before entering medical school. After completing a fellowship in clinical informatics—which focuses on the intersection of clinical practice and IT systems—he moved into health technology.\nBoston Children’s brought him on board in August 2023. Three years later, Rai still works there. Prompt engineering, however, has become a much less important part of the job.\nWhen he joined, the 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,” says John Brownstein, chief innovation officer at Boston Children’s.\nEarly on, the hospital needed internal expertise about how to begin using AI, Brownstein says. Now, better models have made elaborate prompting less important, so the harder work is building AI into actual health care systems—and determining whether its answers can be trusted. Brownstein says the questions they focus on these days have shifted: “How do you embed these tools in your day-to-day operations? How do you build agents to manage literally everything that you do?”\nFor Rai, that has meant embracing a job broader than the role that brought him to Boston. “I’m more like a clinical AI engineer now,” he says.\nBetween medicine and engineering\nRai originally studied business as an undergraduate and began teaching himself to code in 2014 (the same year he entered medical school), as neural networks and image recognition were starting to attract wider attention. He kept building software while training as a doctor. In medical school, for instance, he created a platform called Academius for students to track residency interviews and assemble their rank lists.\nFor Rai, the appeal of coding was its scale. In emergency medicine, he could make a direct difference for the individual patient in front of him. Software offered the possibility of building something that thousands of clinicians might use for many more patients.\nHis 2021–22 informatics fellowship made the possibility of doing that full-time feel real. In 2022, Rai took a job at Pieces, a health care AI company, where he led work to bring LLM-based medical summarization into clinical use.\nThat meant taking a break from practicing medicine altogether. “Stepping away was definitely a hard decision,” Rai says. But he wanted to give the technology work his full attention. He has since reactivated his medical license and hopes to return to clinical practice in some capacity within the next year.\nAt Boston Children’s, roughly half his day now looks like an engineer’s: working with developers, writing code, and advancing projects from the technical side. The other half is spent with clinicians, figuring out what they actually need. That combination has become the point of the job.\nUncovering “clinical doppelgangers”\nOne project, called clinical doppelgangers, is designed to help doctors treating complicated patients find similar cases buried in the hospital’s historical data. Medical guidelines are generally based on large populations, but at a hospital that handles rare and complex diseases, an individual child may not fit neatly into the populations represented in published studies.\nThe system is being developed to let clinicians 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. Instead, it could provide another source of evidence when a physician is facing a case for which the published literature offers little guidance.\nProjects like that require more than knowing how to ask an LLM the right question. They require understanding what hospital data means, how a clinician will use an answer, and how an AI system can go wrong.\nRai recently encountered some of those challenges while working on another project with a clinical team and a development team. They were deciding how much of a patient’s medical record to give an AI model when asking it to identify findings relevant to a particular clinical outcome.\nBetter models have made elaborate prompting less important, so the harder work is building AI into actual health care systems.\nBoth groups initially favored giving the model access to more information, but for different reasons. The developers assumed any data point could be useful. The clinicians assumed the model would recognize irrelevant findings and ignore them.\nRai saw a problem with both assumptions. Clinically, an abnormal lab result or vital sign is not necessarily relevant to the question being asked. And from a technical perspective, an LLM cannot be counted on to recognize that irrelevance. If the system asks the model whether a given abnormality matters, it may construct a plausible explanation for why it does, even when the record does not support the connection.\n“That’s where the dual perspective has been valuable,” Rai says, “not just translating between teams, but recognizing when an approach that looks reasonable from either perspective rests on assumptions we shouldn’t make.”\nAfter the prompt\nIn medicine, the challenges surrounding the prompt are now more important than polishing the prompt itself. Is the model’s output consistent with the underlying data? How should its results be evaluated? Will the clinician using it be able to recognize a mistake?\nThat also means listening to clinicians’ experience. For the platform Rai’s team built to draft clinical notes, the clinicians who would go on to use the tool reviewed a batch of generated notes before anything was finalized. Someone who had cared for a complicated patient in the cardiac intensive care unit for weeks would catch an error far more easily than someone skimming the chart afterward, Rai says.\nAlthough AI adoption in medicine is surging, some health care professionals still have concerns about its use. “I think some skepticism is healthy, and we don’t try to talk people out of it,” he says. The team told clinicians up front that it was a generative AI tool meant to support their judgment, not replace their own review of the chart. “People trust it more when they’ve seen its mistakes than when we just tell them it’s good.”\nAn evolving career\nThe evolution of Rai’s role reflects how quickly AI-focused jobs can change, so Rai is wary of telling people interested in careers like his to master any particular tool. For people who want hands-on engineering jobs, fundamental programming skills still matter. Some understanding of machine learning is useful, as is experience building and testing systems. But not every clinician who wants to work with AI needs to become a database architect or take a deep dive into algorithms.\nWhat Rai considers indispensable is domain knowledge. In the medical field, that means understanding how health care workflows operate, how electronic health record data is created, what that data actually represents, and where care breaks down.\nThat may be the more durable lesson from a career that briefly carried one of AI’s buzziest job titles.\n“The value isn’t just knowing how to get an answer from a model,” Rai says. “It’s knowing what context it needs and whether that context supports the answer we’re asking it to give.”","reading_time_min":6,"extraction":{"state":"ok","confidence":0.9,"error":null,"explanation":"High confidence: full text extraction produced 8070 characters.","diagnostics_url":"/api/diagnose?url=https%3A//spectrum.ieee.org/clinical-ai-engineer-dinesh-rai","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"high","confidence":0.9,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"High confidence: full text extraction produced 8070 characters.","operator_guidance":{"severity":"ok","recommended_action":"trust_full_text","next_step":"Use the extracted full text as the primary article source.","operator_label":"Ready","can_retry":false,"can_use_summary":false,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"full_text","label":"Full text","has_full_text":true,"has_summary":true,"content_length":8070,"summary_length":214,"usable_text_length":8070,"source_field":"content"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":8070,"summary_length":214}}},"quality_profile":{"profile_version":"extraction_quality.v2","bucket":"high","confidence":0.9,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"High confidence: full text extraction produced 8070 characters.","operator_guidance":{"severity":"ok","recommended_action":"trust_full_text","next_step":"Use the extracted full text as the primary article source.","operator_label":"Ready","can_retry":false,"can_use_summary":false,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"full_text","label":"Full text","has_full_text":true,"has_summary":true,"content_length":8070,"summary_length":214,"usable_text_length":8070,"source_field":"content"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":8070,"summary_length":214}},"actions":{"read":"/item/173948","export_markdown":"/api/items/173948/export?format=markdown","export_json":"/api/items/173948/export?format=json","diagnose":"/api/diagnose?url=https%3A//spectrum.ieee.org/clinical-ai-engineer-dinesh-rai"}},"digest":{"id":173948,"title":"This ER Doctor Became a Hospital’s First Clinical AI Engineer - IEEE Spectrum","url":"https://spectrum.ieee.org/clinical-ai-engineer-dinesh-rai","source":"IEEE Spectrum","topic":"ai","published_at":"2026-11-27T14:03:55+00:00","excerpt":"When Boston Children’s Hospital posted a job listing for a prompt engineer in 2023, Dinesh Rai decided to apply. At the time, prompt engineering was being touted as one of the hot new jobs created by generative AI.","quality_bucket":"high","quality_reason":"High confidence: full text extraction produced 8070 characters.","reading_time_min":6,"cluster_id":null},"card":{"display_title":"This ER Doctor Became a Hospital’s First Clinical AI Engineer - IEEE Spectrum","subtitle":"IEEE Spectrum · 2026-11-27","summary":"When Boston Children’s Hospital posted a job listing for a prompt engineer in 2023, Dinesh Rai decided to apply. At the time, prompt engineering was being touted as one of the hot new jobs created by generative AI.","badges":["quality:high"],"links":{"read":"/item/173948","original":"https://spectrum.ieee.org/clinical-ai-engineer-dinesh-rai","diagnose":"/api/diagnose?url=https%3A//spectrum.ieee.org/clinical-ai-engineer-dinesh-rai"},"quality_warning":null},"export":{"title":"This ER Doctor Became a Hospital’s First Clinical AI Engineer - IEEE Spectrum","url":"https://spectrum.ieee.org/clinical-ai-engineer-dinesh-rai","summary":"When Boston Children’s Hospital posted a job listing for a prompt engineer in 2023, Dinesh Rai decided to apply. At the time, prompt engineering was being touted as one of the hot new jobs created by generative AI.","source":"IEEE Spectrum","date":"2026-11-27T14:03:55+00:00","content":"When Boston Children’s Hospital posted a job listing for a prompt engineer in 2023, Dinesh Rai decided to apply. He didn’t expect to get the job.\nAt the time, prompt engineering was being touted as one of the hot new jobs created by generative AI. Companies wanted people who knew how to coax the best answers from large language models (LLMs) by carefully wording instructions, supplying examples, and giving the systems personas or other context.\nDinesh Rai\nEmployer:\nBoston Children’s Hospital\nOccupation:\nClinical AI Engineer\nEducation:\nBachelor’s degree in supply-chain management and marketing sciences, Rutgers Business School; Doctor of Medicine, Albert Einstein College of Medicine\nIt was an unusual role for a hospital, but Rai had an unusual résumé. While he was trained as an emergency physician, he had also taught himself to code just before entering medical school. After completing a fellowship in clinical informatics—which focuses on the intersection of clinical practice and IT systems—he moved into health technology.\nBoston Children’s brought him on board in August 2023. Three years later, Rai still works there. Prompt engineering, however, has become a much less important part of the job.\nWhen he joined, the 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,” says John Brownstein, chief innovation officer at Boston Children’s.\nEarly on, the hospital needed internal expertise about how to begin using AI, Brownstein says. Now, better models have made elaborate prompting less important, so the harder work is building AI into actual health care systems—and determining whether its answers can be trusted. Brownstein says the questions they focus on these days have shifted: “How do you embed these tools in your day-to-day operations? How do you build agents to manage literally everything that you do?”\nFor Rai, that has meant embracing a job broader than the role that brought him to Boston. “I’m more like a clinical AI engineer now,” he says.\nBetween medicine and engineering\nRai originally studied business as an undergraduate and began teaching himself to code in 2014 (the same year he entered medical school), as neural networks and image recognition were starting to attract wider attention. He kept building software while training as a doctor. In medical school, for instance, he created a platform called Academius for students to track residency interviews and assemble their rank lists.\nFor Rai, the appeal of coding was its scale. In emergency medicine, he could make a direct difference for the individual patient in front of him. Software offered the possibility of building something that thousands of clinicians might use for many more patients.\nHis 2021–22 informatics fellowship made the possibility of doing that full-time feel real. In 2022, Rai took a job at Pieces, a health care AI company, where he led work to bring LLM-based medical summarization into clinical use.\nThat meant taking a break from practicing medicine altogether. “Stepping away was definitely a hard decision,” Rai says. But he wanted to give the technology work his full attention. He has since reactivated his medical license and hopes to return to clinical practice in some capacity within the next year.\nAt Boston Children’s, roughly half his day now looks like an engineer’s: working with developers, writing code, and advancing projects from the technical side. The other half is spent with clinicians, figuring out what they actually need. That combination has become the point of the job.\nUncovering “clinical doppelgangers”\nOne project, called clinical doppelgangers, is designed to help doctors treating complicated patients find similar cases buried in the hospital’s historical data. Medical guidelines are generally based on large populations, but at a hospital that handles rare and complex diseases, an individual child may not fit neatly into the populations represented in published studies.\nThe system is being developed to let clinicians 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. Instead, it could provide another source of evidence when a physician is facing a case for which the published literature offers little guidance.\nProjects like that require more than knowing how to ask an LLM the right question. They require understanding what hospital data means, how a clinician will use an answer, and how an AI system can go wrong.\nRai recently encountered some of those challenges while working on another project with a clinical team and a development team. They were deciding how much of a patient’s medical record to give an AI model when asking it to identify findings relevant to a particular clinical outcome.\nBetter models have made elaborate prompting less important, so the harder work is building AI into actual health care systems.\nBoth groups initially favored giving the model access to more information, but for different reasons. The developers assumed any data point could be useful. The clinicians assumed the model would recognize irrelevant findings and ignore them.\nRai saw a problem with both assumptions. Clinically, an abnormal lab result or vital sign is not necessarily relevant to the question being asked. And from a technical perspective, an LLM cannot be counted on to recognize that irrelevance. If the system asks the model whether a given abnormality matters, it may construct a plausible explanation for why it does, even when the record does not support the connection.\n“That’s where the dual perspective has been valuable,” Rai says, “not just translating between teams, but recognizing when an approach that looks reasonable from either perspective rests on assumptions we shouldn’t make.”\nAfter the prompt\nIn medicine, the challenges surrounding the prompt are now more important than polishing the prompt itself. Is the model’s output consistent with the underlying data? How should its results be evaluated? Will the clinician using it be able to recognize a mistake?\nThat also means listening to clinicians’ experience. For the platform Rai’s team built to draft clinical notes, the clinicians who would go on to use the tool reviewed a batch of generated notes before anything was finalized. Someone who had cared for a complicated patient in the cardiac intensive care unit for weeks would catch an error far more easily than someone skimming the chart afterward, Rai says.\nAlthough AI adoption in medicine is surging, some health care professionals still have concerns about its use. “I think some skepticism is healthy, and we don’t try to talk people out of it,” he says. The team told clinicians up front that it was a generative AI tool meant to support their judgment, not replace their own review of the chart. “People trust it more when they’ve seen its mistakes than when we just tell them it’s good.”\nAn evolving career\nThe evolution of Rai’s role reflects how quickly AI-focused jobs can change, so Rai is wary of telling people interested in careers like his to master any particular tool. For people who want hands-on engineering jobs, fundamental programming skills still matter. Some understanding of machine learning is useful, as is experience building and testing systems. But not every clinician who wants to work with AI needs to become a database architect or take a deep dive into algorithms.\nWhat Rai considers indispensable is domain knowledge. In the medical field, that means understanding how health care workflows operate, how electronic health record data is created, what that data actually represents, and where care breaks down.\nThat may be the more durable lesson from a career that briefly carried one of AI’s buzziest job titles.\n“The value isn’t just knowing how to get an answer from a model,” Rai says. “It’s knowing what context it needs and whether that context supports the answer we’re asking it to give.”","confidence":0.9,"diagnostics_url":"/api/diagnose?url=https%3A//spectrum.ieee.org/clinical-ai-engineer-dinesh-rai","quality_bucket":"high","failure_kind":"none","retryable":false,"quality_reason":"High confidence: full text extraction produced 8070 characters.","quality_profile":{"profile_version":"extraction_quality.v2","bucket":"high","confidence":0.9,"failure_kind":"none","retryable":false,"retry_after_attempts":0,"reason":"High confidence: full text extraction produced 8070 characters.","operator_guidance":{"severity":"ok","recommended_action":"trust_full_text","next_step":"Use the extracted full text as the primary article source.","operator_label":"Ready","can_retry":false,"can_use_summary":false,"diagnostics_required":false},"content_depth":{"contract_version":"content_depth.v1","category":"full_text","label":"Full text","has_full_text":true,"has_summary":true,"content_length":8070,"summary_length":214,"usable_text_length":8070,"source_field":"content"},"legacy_collapsed":false,"signals":{"extract_state":"ok","extract_error":null,"extract_retries":0,"content_length":8070,"summary_length":214}},"tags":[],"format_contract_version":"news_item_formats.v1"}}}