Table of Contents
Common Questions
Chat with CodyMD
Cody's Chat with Patient
Cody's AI Summary
Top 3 AI Diagnosis List
Review by Dr Albert DiPiero
Dr. DiPiero Video Guide to this Case Study
Resource Center
Testimonials
Share this Case Study
Meet your host

Albert DiPiero, MD MPH FACP
I am a co-founder and the Chief Medical Officer at CodyMD and your host for this edition of Cody Grand Rounds. I have been a practicing physician and faculty member at medical schools for over 26 years.
About The AI Doctor Case Study
CodyMD is a partnership between Human Doctors and AI Doctors. Cody is an AI Doctor who helps thousands of people every day. At each Cody Grand Rounds, I select a real case and review it with Cody, the AI Doctor.
Each case is based on a real patient but has been modified to maintain privacy and to emphasize certain teaching points.
What causes overthinking?
Is overthinking anxiety?
Is anxiety a diagnosed mental illness?
What qualifies as anxiety?
What is the root cause of anxiety?
How can I manage overthinking and anxiety?
How can I tell if my headaches and stomach aches are related to anxiety?
Click the button below to initiate a conversation with CodyMD, your AI Doctor.
Below is a conversation transcript between the patient and our AI Doctor CodyMd.
Cody, the AI Doctor
Can you please tell me your health issue?
Patient
Depression and anxiety... overthinking.
Cody, the AI Doctor
Has a healthcare professional diagnosed you with depression and anxiety?
Patient
No.
Cody, the AI Doctor
Could you please confirm if you would like to focus on the symptoms of depression and anxiety for today's discussion?
Patient
Yes.
Cody, the AI Doctor
My goal is to provide you with an accurate assessment and plan. Let’s talk about your concerns regarding depression and anxiety. Can you describe in detail what you feel when you experience depression and anxiety? For example, do you feel constantly sad or worried, have trouble sleeping, or experience physical symptoms like headaches or stomach issues?
Patient
I'm constantly worrying about everything, it’s like my brain doesn’t turn off. I sleep too much because I feel tired all the time but when I'm awake, I still worry a lot. I also have headaches and stomach cramps a lot, especially when I'm really anxious.
Cody, the AI Doctor
When you say you're constantly worrying, do you mean that you worry about specific things, or is it more generalized?
Patient
It’s pretty much about everything – school, my future, friends, family. I just can’t stop thinking and I feel like something bad is going to happen.
Cody, the AI Doctor
How do the worries affect your daily activities like school or social interactions?
Patient
It makes it hard to focus in school. I feel distracted by my worries and sometimes, I avoid social events because I'm afraid I'll say or do something embarrassing.
Cody, the AI Doctor
Have you experienced episodes where you feel extremely anxious, so much so that you feel like you’re losing control or having a panic attack?
Patient
Yes, sometimes the anxiety gets so bad I feel like I can’t breathe and my heart races. I think I’ve had a few panic attacks.
Cody, the AI Doctor
Have you had any thoughts about self-harm or harming others?
Patient
No, I haven’t had any thoughts about that.
Cody, the AI Doctor
When did you first start experiencing these symptoms?
Patient
Around three years ago, it just kept getting worse.
Cody, the AI Doctor
Could you point to any events that you think triggered your anxiety and depression, such as trauma or significant life changes?
Patient
I’ve had some pretty bad relationships and went through a few family issues that were really stressful.
Cody, the AI Doctor
Based on your experience, would you say the symptoms are getting worse, better, staying about the same, or do they vary day to day?
Patient
It's been getting worse over time.
Cody, the AI Doctor
To clarify, you were born in 2006, correct?
Patient
Yes.
Cody, the AI Doctor
And your sex?
Patient
Female.
Cody, the AI Doctor
On a scale of 1 to 10, with 1 being very mild and 10 being very severe, how would you rate the severity of your symptoms right now?
Patient
About an 8.
Based on the information and conversations with Cody, we have prepared a top 3 AI Diagnosis List.
1. Generalized Anxiety Disorder (GAD)(50% probability)
An anxiety disorder characterized by excessive, uncontrollable worry about various aspects of daily life, leading to symptoms such as restlessness, irritability, muscle tension, and difficulty concentrating or sleeping.
2. Major Depressive Disorder (MDD)(30% probability)
A severe mood disorder marked by prolonged feelings of sadness, hopelessness, and lack of interest in usual activities, often accompanied by changes in appetite, energy levels, sleep patterns, and difficulty in making decisions.
3. Panic Disorder(20% probability)
An anxiety disorder involving recurrent, unexpected panic attacks—sudden periods of intense fear or discomfort that peak within minutes—and includes symptoms like heart palpitations, sweating, trembling, shortness of breath, and feelings of impending doom.

Dr. Albert DiPiero
In reviewing the patient’s history and symptoms, I focus in on her reports of three years of worsening symptoms of chronic worry, excessive sleep, headaches, and stomach cramps. Her anxiety and depression symptoms are severe (rated 8/10) and impact her daily life, including school performance and social interactions. She has experienced several feelings of panic attacks but has no thoughts of self-harm.
1. Generalized Anxiety Disorder (GAD)(80% probability)
This seems most likely given her chronic worrying and physical symptoms like headaches and stomach cramps. The extensive impact on daily activities and generalized nature of her worries also support this diagnosis.
2. Major Depressive Disorder (MDD)(10% probability)
Is also a possible consideration due to symptoms of excessive sleep and fatigue. But her predominant symptoms are worry, anxiety and panic, making depression less likely.
3. Panic Disorder(5% probability)
Is possible given her history of panic symptoms and extreme anxiety episodes. However, the panic attacks seem to be secondary to the generalized anxiety.
Next Steps for Evaluation
A definitive diagnosis would require a thorough clinical evaluation including:
Comprehensive psychiatric evaluation.
Laboratory tests to rule out medical causes of her symptoms.
Psychological assessment tools like GAD-7 and PHQ-9.
Possible referral to a mental health specialist for ongoing evaluation and care.
Potential Treatment Modalities
Cognitive Behavioral Therapy (CBT): Is the first-line treatment for both GAD and MDD. It is a type of psychological treatment that helps people understand and change thought patterns and behaviors that are contributing to their problems.
Medications: SSRIs (Selective Serotonin Reuptake Inhibitors) and SNRIs (Serotonin-Norepinephrine Reuptake Inhibitors) are types of medications commonly used to treat generalized anxiety disorder and depression.
Lifestyle Changes: Exercise, balanced diet, and sleep hygiene are critical to ongoing treatment and recovery.
Support Groups or Counseling: Providing social and emotional support.
Close monitoring and follow-up: This is crucial to track progress and make individualized adjustments in therapy.
Related Articles
Cody answered all my questions! but aside form answering questions, he also comforts me when I told him my insecurities. I love Cody yohooo.
TrustPilot Review
I appreciate this website and I wish it existed in the peak of my health anxiety era. I will definitely be using it from now on.
TrustPilot Review
CodyMD helped me understand my symptoms better than any other doctor before. Highly recommended!
TrustPilot Review
Table of Contents
Common Questions
Chat with CodyMD
Cody's Chat with Patient
Cody's AI Summary
Top 3 AI Diagnosis List
Review by Dr Albert DiPiero
Dr. DiPiero Video Guide to this Case Study
Resource Center
Testimonials
Share this Case Study
Meet your host

Albert DiPiero, MD MPH FACP
I am a co-founder and the Chief Medical Officer at CodyMD and your host for this edition of Cody Grand Rounds. I have been a practicing physician and faculty member at medical schools for over 26 years.
About The AI Doctor Case Study
CodyMD is a partnership between Human Doctors and AI Doctors. Cody is an AI Doctor who helps thousands of people every day. At each Cody Grand Rounds, I select a real case and review it with Cody, the AI Doctor.
Each case is based on a real patient but has been modified to maintain privacy and to emphasize certain teaching points.
What causes overthinking?
Is overthinking anxiety?
Is anxiety a diagnosed mental illness?
What qualifies as anxiety?
What is the root cause of anxiety?
How can I manage overthinking and anxiety?
How can I tell if my headaches and stomach aches are related to anxiety?
Click the button below to initiate a conversation with CodyMD, your AI Doctor.
Below is a conversation transcript between the patient and our AI Doctor CodyMd.
Cody, the AI Doctor
Can you please tell me your health issue?
Patient
Depression and anxiety... overthinking.
Cody, the AI Doctor
Has a healthcare professional diagnosed you with depression and anxiety?
Patient
No.
Cody, the AI Doctor
Could you please confirm if you would like to focus on the symptoms of depression and anxiety for today's discussion?
Patient
Yes.
Cody, the AI Doctor
My goal is to provide you with an accurate assessment and plan. Let’s talk about your concerns regarding depression and anxiety. Can you describe in detail what you feel when you experience depression and anxiety? For example, do you feel constantly sad or worried, have trouble sleeping, or experience physical symptoms like headaches or stomach issues?
Patient
I'm constantly worrying about everything, it’s like my brain doesn’t turn off. I sleep too much because I feel tired all the time but when I'm awake, I still worry a lot. I also have headaches and stomach cramps a lot, especially when I'm really anxious.
Cody, the AI Doctor
When you say you're constantly worrying, do you mean that you worry about specific things, or is it more generalized?
Patient
It’s pretty much about everything – school, my future, friends, family. I just can’t stop thinking and I feel like something bad is going to happen.
Cody, the AI Doctor
How do the worries affect your daily activities like school or social interactions?
Patient
It makes it hard to focus in school. I feel distracted by my worries and sometimes, I avoid social events because I'm afraid I'll say or do something embarrassing.
Cody, the AI Doctor
Have you experienced episodes where you feel extremely anxious, so much so that you feel like you’re losing control or having a panic attack?
Patient
Yes, sometimes the anxiety gets so bad I feel like I can’t breathe and my heart races. I think I’ve had a few panic attacks.
Cody, the AI Doctor
Have you had any thoughts about self-harm or harming others?
Patient
No, I haven’t had any thoughts about that.
Cody, the AI Doctor
When did you first start experiencing these symptoms?
Patient
Around three years ago, it just kept getting worse.
Cody, the AI Doctor
Could you point to any events that you think triggered your anxiety and depression, such as trauma or significant life changes?
Patient
I’ve had some pretty bad relationships and went through a few family issues that were really stressful.
Cody, the AI Doctor
Based on your experience, would you say the symptoms are getting worse, better, staying about the same, or do they vary day to day?
Patient
It's been getting worse over time.
Cody, the AI Doctor
To clarify, you were born in 2006, correct?
Patient
Yes.
Cody, the AI Doctor
And your sex?
Patient
Female.
Cody, the AI Doctor
On a scale of 1 to 10, with 1 being very mild and 10 being very severe, how would you rate the severity of your symptoms right now?
Patient
About an 8.
Based on the information and conversations with Cody, we have prepared a top 3 AI Diagnosis List.
1. Generalized Anxiety Disorder (GAD)(50% probability)
An anxiety disorder characterized by excessive, uncontrollable worry about various aspects of daily life, leading to symptoms such as restlessness, irritability, muscle tension, and difficulty concentrating or sleeping.
2. Major Depressive Disorder (MDD)(30% probability)
A severe mood disorder marked by prolonged feelings of sadness, hopelessness, and lack of interest in usual activities, often accompanied by changes in appetite, energy levels, sleep patterns, and difficulty in making decisions.
3. Panic Disorder(20% probability)
An anxiety disorder involving recurrent, unexpected panic attacks—sudden periods of intense fear or discomfort that peak within minutes—and includes symptoms like heart palpitations, sweating, trembling, shortness of breath, and feelings of impending doom.

Dr. Albert DiPiero
In reviewing the patient’s history and symptoms, I focus in on her reports of three years of worsening symptoms of chronic worry, excessive sleep, headaches, and stomach cramps. Her anxiety and depression symptoms are severe (rated 8/10) and impact her daily life, including school performance and social interactions. She has experienced several feelings of panic attacks but has no thoughts of self-harm.
1. Generalized Anxiety Disorder (GAD)(80% probability)
This seems most likely given her chronic worrying and physical symptoms like headaches and stomach cramps. The extensive impact on daily activities and generalized nature of her worries also support this diagnosis.
2. Major Depressive Disorder (MDD)(10% probability)
Is also a possible consideration due to symptoms of excessive sleep and fatigue. But her predominant symptoms are worry, anxiety and panic, making depression less likely.
3. Panic Disorder(5% probability)
Is possible given her history of panic symptoms and extreme anxiety episodes. However, the panic attacks seem to be secondary to the generalized anxiety.
Next Steps for Evaluation
A definitive diagnosis would require a thorough clinical evaluation including:
Comprehensive psychiatric evaluation.
Laboratory tests to rule out medical causes of her symptoms.
Psychological assessment tools like GAD-7 and PHQ-9.
Possible referral to a mental health specialist for ongoing evaluation and care.
Potential Treatment Modalities
Cognitive Behavioral Therapy (CBT): Is the first-line treatment for both GAD and MDD. It is a type of psychological treatment that helps people understand and change thought patterns and behaviors that are contributing to their problems.
Medications: SSRIs (Selective Serotonin Reuptake Inhibitors) and SNRIs (Serotonin-Norepinephrine Reuptake Inhibitors) are types of medications commonly used to treat generalized anxiety disorder and depression.
Lifestyle Changes: Exercise, balanced diet, and sleep hygiene are critical to ongoing treatment and recovery.
Support Groups or Counseling: Providing social and emotional support.
Close monitoring and follow-up: This is crucial to track progress and make individualized adjustments in therapy.
Related Articles
Cody answered all my questions! but aside form answering questions, he also comforts me when I told him my insecurities. I love Cody yohooo.
TrustPilot Review
I appreciate this website and I wish it existed in the peak of my health anxiety era. I will definitely be using it from now on.
TrustPilot Review
CodyMD helped me understand my symptoms better than any other doctor before. Highly recommended!
TrustPilot Review