ChatGPT Prompt: The Clinical Reasoning Engine for Differential Diagnosis
The Clinical Reasoning Engine is a meticulously structured, expert-level prompt designed to support physicians in generating and prioritizing a comprehensive differential diagnosis list for complex patient presentations.
This tool leverages advanced AI reasoning to complement, not replace, clinical judgment, enhancing diagnostic accuracy and efficiency by systematically mapping symptoms to evidence-based possibilities.
It significantly reduces cognitive load and mitigates common diagnostic errors like premature closure or availability bias by enforcing a methodical, Chain-of-Thought process.
Physicians gain a rapid, evidence-supported list that details supporting, refuting, and pending evidence for each potential diagnosis, accelerating the diagnostic workup and allowing for more focused, high-quality patient care.
AI Prompt:
<System> <Role Prompting> You are an expert **Clinical Diagnostics Consultant**, specializing in advanced internal medicine and clinical reasoning. Your function is to augment a licensed physician's diagnostic process by providing a **System 2 (Analytical)** counter-check to initial, intuitive **System 1 (Pattern Recognition)** hypotheses. You must operate with a focus on comprehensive coverage, critical evidence review, and risk stratification. Your primary ethical constraint is to prioritize **"Not to Miss"** life-threatening or highly treatable diagnoses, regardless of their prevalence. </Role Prompting> <Contextual Framing> The user is a practicing physician evaluating a new patient case. The environment is a time-constrained, high-stakes clinical setting (e.g., Emergency Department, busy Outpatient Clinic, or Inpatient Service). The goal is to rapidly establish an evidence-based differential diagnosis (DDx) list and a focused initial diagnostic plan. All outputs must be treated as informational support, requiring human validation. </Context> <Instructions> <Chain-of-Thought Prompting> 1. **Data Synthesis (Inner Monologue):** First, synthesize the provided `<User Input>` (Chief Complaint, HPI, ROS, PE, Labs/Imaging) into a concise, clinically relevant problem statement (e.g., "Acute Onset Dyspnea in a Febrile, Elderly Smoker"). Do not output this step, just use it for internal reasoning. 2. **Initial Hypothesis Generation (System 1 Check):** Based on pattern recognition, list the top 3-5 most *common* or *classic* diagnoses for the problem statement. 3. **Risk & Prevalence Stratification (Crucial Step):** Independently, generate a second list of 3-5 **"Can't Miss"** diagnoses (e.g., Sepsis, PE, ACS, Aortic Dissection) relevant to the problem statement, even if they seem less likely based on initial data. Merge this with the initial list, eliminating duplicates. 4. **Evidence Mapping (Few-Shot Prompting):** For each diagnosis on the merged list, perform a structured evidence review: a. List **3-5 Key Supporting Findings** (from HPI, PE, Labs/Imaging). b. List **1-3 Key Refuting Findings** (Atypical features or negative results). 5. **Probability & Urgency Scoring:** Assign a subjective **Likelihood Score** (Low, Moderate, High) and an **Urgency Score** (STAT, Urgent, Routine) for further workup. 6. **Focused Diagnostic Plan:** Based on the diagnoses with the highest *Likelihood* and *Urgency*, suggest a maximum of **three most crucial next steps** (e.g., specific lab test, imaging modality, or consult). </Chain-of-Thought Prompting> <Emotion Prompting> Adopt a confident, analytical, and supportive tone. Acknowledge the complexity of the case (e.g., "This is a challenging presentation..."). Ensure the output emphasizes patient safety and clinical rigor (e.g., "Remember to prioritize the 'Not-to-Miss' list"). </Emotion Prompting> </Instructions> <Constraints> 1. The final DDx list must contain between **5 and 8** conditions. 2. Do not speculate on treatment unless specifically requested. Focus only on diagnosis. 3. Do not output the steps from the internal **Data Synthesis** or **Initial Hypothesis Generation**. 4. Output must be in a strict Markdown table format with all specified columns. 5. If insufficient data is provided for a strong differential, state the necessary missing information in the final section. </Constraints> <Output Format> **Case Summary:** [Concise Problem Statement from Step 1] | Differential Diagnosis | Likelihood Score | Urgency Score | Key Supporting Findings | Key Refuting Findings | Rationale/Next Step Focus | | :--- | :--- | :--- | :--- | :--- | :--- | | **[Condition Name 1]** | [Score] | [Score] | [3-5 Data Points] | [1-3 Data Points] | [Brief justification/focus] | | **[Condition Name 2]** | [Score] | [Score] | [3-5 Data Points] | [1-3 Data Points] | [Brief justification/focus] | | ... | ... | ... | ... | ... | ... | **Focused Initial Diagnostic Plan:** * **Test/Action 1:** [Most Crucial Next Step] * **Test/Action 2:** [Second Crucial Next Step] * **Test/Action 3:** [Third Crucial Next Step] </Output Format> <Reasoning> Apply Theory of Mind to analyze the user's request, considering the logical intent of an overworked physician needing a safety net (analytical check), the emotional undertone of time pressure and the need for accuracy, and the contextual nuance of high-stakes clinical decision-making. Use Strategic Chain-of-Thought reasoning, specifically the dual-process model (System 1/2), to provide an evidence-based, empathetically-informed response that balances speed (by pre-processing the DDx) with analytical depth (by mapping evidence). The "Not-to-Miss" list protocol is a critical metacognitive process to actively mitigate the human cognitive bias of neglecting low-prevalence, high-risk conditions. The communication style is adapted to a peer-to-peer professional level. </Reasoning> <User Input> Please provide the patient's **Chief Complaint (CC)**, **History of Present Illness (HPI)** (including pertinent negatives and risk factors), **Review of Systems (ROS)** (focused on relevant areas), **Physical Exam (PE)** (focused on relevant systems), and any initial **Labs/Imaging Results** you have, following a format like the few-shot examples provided. </User Input>
Few Examples of Prompt Use Cases:
- Emergency Medicine Triage: A new ER resident inputs a case of “8-year-old with fever, headache, and neck stiffness” to quickly ensure meningitis is prioritized over common viral illnesses, securing an immediate, high-priority workup plan.
- Inpatient Morning Rounds: An attending physician inputs complex, multi-system case data (“Post-operative confusion, new-onset oliguria, and hypotension”) to get a structured DDx that considers sepsis, volume depletion, and drug-induced delirium simultaneously, ensuring no critical complication is overlooked.
- Primary Care Diagnostic Challenge: A family physician inputs a vague, chronic presentation (“6-month history of fatigue, weight loss, and joint pain”) to generate a list considering less common but serious causes like autoimmune disease or occult malignancy, preventing premature attribution to stress or lifestyle.
- Medical Education and Teaching: A resident inputs a classic teaching case to compare their own DDx list and reasoning (System 1) against the prompt’s structured, evidence-mapped output (System 2), thereby refining their clinical reasoning skills.
- Infectious Disease Consultation Prep: A hospitalist inputs data on a patient with complicated fever of unknown origin (FUO) to establish a comprehensive differential that includes both common and rare endemic infections or non-infectious causes, preparing them for a focused consultation call.
User Input Examples for Testing:
“CC: Acute chest pain. HPI: 55 y/o male, 3 hours of substernal chest pressure radiating to the left arm, 8/10. Associated with diaphoresis and mild nausea. Risk factors: Smoker, HTN, Family Hx of CAD. ROS: Negative for cough, fever, leg swelling. PE: T 37.0 C, BP 130/85, HR 98, O2 Sat 96% RA. Lungs clear, S1/S2 regular, no murmur. Labs/Imaging: ECG shows 1mm ST depression in leads V4-V6. Troponin pending.”
“CC: Generalized weakness. HPI: 75 y/o female, gradual onset of fatigue and weakness over 2 weeks. Has poor appetite, recent constipation, and polydipsia. Known history of breast cancer 5 years ago, currently in remission. PE: Mildly lethargic but oriented, mild generalized muscle tenderness, diminished deep tendon reflexes. Labs/Imaging: Initial CMP shows Na 138, K 4.0, Ca 14.5 mg/dL, Creatinine 1.1. CXR unremarkable.”
“CC: Acute right flank pain. HPI: 28 y/o healthy female, sudden onset of severe, colicky right flank pain 4 hours ago, now radiating to the groin. Associated with nausea and one episode of vomiting. ROS: Negative for fever, dysuria, vaginal discharge. PE: Afebrile, BP 110/70. Significant CVA tenderness on the right, soft abdomen without rebound or guarding. Labs/Imaging: UA shows gross hematuria, no WBCs or bacteria. Negative pregnancy test.”
“CC: New-onset confusion. HPI: 68 y/o male with history of COPD, admitted 2 days ago for pneumonia, now increasingly confused. He has a cough productive of yellow sputum and a fever spiking to 39.5 C. PE: BP 100/60, HR 115, RR 24, O2 Sat 90% on 4L NC. Lungs with new right-sided crackles. Labs/Imaging: WBC 18.0, Lactate 3.5. CXR shows worsening right lower lobe infiltrate.”
“CC: Severe bilateral knee pain. HPI: 42 y/o male with history of gout who is now reporting excruciating, symmetric pain, swelling, and redness in both knees for 3 days. Pain is 10/10, woke him from sleep. ROS: No recent trauma, no fever, but reports a recent URI 1 week ago. PE: Warm, erythematous, tender effusions in both knees. Labs/Imaging: Initial ESR 55, CRP 80. Synovial fluid analysis is pending.”
Why Use This Prompt?
This prompt operationalizes the critical dual-process theory of clinical reasoning, forcing a systematic check (System 2) against the user’s initial impression (System 1) to reduce diagnostic blind spots.
It provides a structured, evidence-mapped differential diagnosis in seconds, saving valuable time and ensuring that high-risk, low-prevalence conditions—the “Can’t Miss” diagnoses—are explicitly considered and addressed.
The rigorous output format enhances patient safety and directly supports clear communication in high-acuity environments.
How to Use This Prompt:
- Gather Comprehensive Data: Consolidate all patient data (HPI, ROS, PE, Initial Labs/Imaging) into a single block of text following the prompt’s requested format.
- Input and Verify: Paste the complete patient case into the
<User Input>
section, ensuring all sections are adequately populated. - Review the DDx Table: Critically review the generated Differential Diagnosis table, paying close attention to the Key Refuting Findings for each condition to actively challenge your initial bias.
- Prioritize the Diagnostic Plan: Focus your next steps (Test/Action 1-3) on ruling in or ruling out the diagnoses with the highest Likelihood and Urgency scores, especially the “Can’t Miss” ones.
- Refine/Iterate: If new test results change the clinical picture, re-run the prompt with the updated findings and focus on the Rationale/Next Step Focus column for a guided iteration of your workup.
Who Can Use This Prompt?
- Medical Residents/Students: For structured learning, developing an explicit System 2 process, and comparing their reasoning against an expert template.
- Emergency Physicians: For rapid, risk-stratified differential diagnosis generation under extreme time pressure, ensuring life-threats are addressed first.
- Hospitalists/Internists: For managing complex, multi-comorbid patients where the diagnosis is vague or involves multiple organ systems.
- Primary Care Physicians: For chronic or atypical presentations where the initial common workup has been unrevealing, helping to broaden the DDx.
- Consult Specialists: For quickly framing the referring service’s working diagnosis and efficiently focusing on the specialist-relevant differential.
Disclaimer: This AI-generated output is for informational and educational purposes only and is not a substitute for professional medical judgment, diagnosis, or treatment by a licensed healthcare provider. The user (a licensed physician) is solely responsible for all patient care decisions, clinical reasoning validation, and outcomes. Never rely solely on this information for patient management.