Woman with Burning Stomach Pain Gets Diagnosed by AI Doctor: Case Study
See how a Cody the AI Doctor diagnoses and treats a 53-year-old woman with buring stomach pain, nausea, and faintness. Discover the future of healthcare with AI.
Reviewed by Albert DiPiero, MD MPH FACP · · Based on a real patient, changed for privacy and teaching.

Cody's Chat with Patient
Below is a conversation transcript between the patient and our AI Doctor CodyMd.
- CodySo you want to focus on the sharp, burning pain at the top of your stomach and nausea today, is that correct?
- Patient: Yes
- CodyMy goal is to provide you with an accurate assessment and plan. Let's talk about your concerns regarding sharp, burning pain at the top of your stomach, nausea. Can you describe the intensity and duration of your sharp, burning pain? For example, does it come and go, or is it constant? How would you rate the pain on a scale from 1 to 10?
- Patient: 8, comes and goes
- CodyAlright, noted. When did you first start experiencing the sharp, burning pain at the top of your stomach and nausea? For example, did it start 2 days ago or 3 weeks ago?
- Patient: 2 hours ago
- CodyA sudden onset of sharp, burning pain and nausea can sometimes indicate conditions like gastritis or peptic ulcers, which may require prompt evaluation. Have you been diagnosed with any medical conditions related to your gastrointestinal health? For example, acid reflux, gastritis, or peptic ulcers?
- Patient: Gastroenteritis
- CodyAh, I see. In what year were you born?
- Patient: 1971
- CodyGot it. Ah, I see. What is your sex?
- Patient: Female
- CodyGender can play a role in certain gastrointestinal conditions, as some issues may be more prevalent in females, such as gallbladder disease or certain types of gastritis. Can you describe the exact location of your sharp, burning pain? For example, is it in the center of your upper abdomen, on the right side, or the left side?
- Patient: Center of upper abdomen
- CodyHmm. Is your sharp, burning pain at the top of your stomach and nausea getting worse, getting better, staying the same, or does it vary day to day?
- Patient: Staying the same but I'm feeling very faint
- CodyFeeling faint can be a concerning symptom, especially when combined with sharp, burning pain and nausea. Have you noticed if certain foods or drinks make your sharp, burning pain at the top of your stomach or nausea worse? For example, spicy foods, caffeine, or alcohol?
- Patient: No, I haven't eaten or drank anything since it started.
Cody's AI Summary
- 53 year old woman with sharp, burning pain at the top of your stomach and nausea.
- Your pain is intense, rating it as an 8 on a scale of 1 to 10, and it comes and goes.
- You first started experiencing these symptoms 2 hours ago.
- The pain is located in the center of your upper abdomen.
- Your symptoms have been staying the same, and you are feeling very faint. You have not eaten or drunk anything since the symptoms started.
Top 3 AI Diagnosis List
Based on the information and conversations with Cody, we have prepared a top 3 AI Diagnosis List.
1. Gastritis (50% probability)
This condition excels as the primary diagnosis, given the sudden onset, location of the pain, and nausea. This aligns well with the patient's history of gastroenteritis.
2. Peptic Ulcer Disease (30% probability)
The sharp, burning nature of the pain that comes and goes is highly indicative of a peptic ulcer, especially given the intensity (rated as an 8).
3. Gastroenteritis (20% probability)
While the patient has a history of gastroenteritis, the acute presentation and intensity make this a less likely primary cause but still within consideration.
Review by Dr Albert DiPiero
The patient's sudden onset of sharp, burning pain in the upper abdomen and nausea, rated as an 8/10, is concerning. The present symptoms of feeling faint add complexity to this case.
1. Gastritis (50% probability)
Symptoms like sharp, burning pain in the upper abdomen and nausea are classic for gastritis. The absence of a trigger like food or drink makes acute gastritis plausible, especially given the patient's medical history of gastroenteritis.
2. Peptic Ulcer Disease (30% probability)
The intense, sharp pain that comes and goes is highly suggestive of a peptic ulcer. The heightened stress may exacerbate the condition leading to the current symptoms.
3. Acid Reflux (20% probability)
While less likely due to the sudden onset and intensity of pain, it could be considered if other diagnoses are ruled out.
Next Steps for Evaluation
Immediate evaluation in a clinical setting is warranted because of the intensity of pain and her feelings of faintness. Blood tests including complete blood count, liver function tests, and amylase/lipase should be conducted. An urgent abdominal ultrasound or endoscopy may be required to rule out peptic ulcer or gallbladder disease. IV fluids could help with the faintness.
Potential Treatment Modalities
Once diagnosis is confirmed, treatment could include proton pump inhibitors (PPI) or H2 blockers for gastritis or peptic ulcer, alongside dietary modifications. Antacids may provide temporary relief, and antibiotics would be necessary if H. pylori infection is detected.
Common Questions
What could be causing sharp, burning stomach pain?
Sharp, burning stomach pain can be caused by conditions such as gastritis, peptic ulcers, acid reflux, or gastroenteritis.
Why does my stomach pain come and go?
Intermittent stomach pain can be due to the fluctuating severity of underlying conditions, meal patterns, or certain triggers like stress or food.
What is the best way to relieve sudden stomach pain?
Sudden stomach pain relief can include over-the-counter antacids, drinking water, resting, and avoiding food and drink until symptoms improve. Consulting a healthcare provider is recommended.
Can sharp stomach pain be a sign of something serious?
Yes, sharp stomach pain can indicate serious conditions like ulcers, gallbladder disease, or even heart issues. It's important to seek medical evaluation.
How is nausea related to stomach pain?
Nausea often accompanies stomach pain and can be a response to irritation, inflammation, or infection in the gastrointestinal tract.
How do I know if my stomach pain is an emergency?
It's an emergency if stomach pain is severe, persistent, accompanied by fainting, blood in vomit or stool, or if you have a history of ulcers or heart problems.
Can stress cause stomach pain and nausea?
Yes, stress can exacerbate stomach pain and nausea through mechanisms like increased acid production or muscle tension.
Resource Center
CodyMD Resources:
- AI Diagnosis in 60 seconds | 45-year-old man with left lower abdominal pain, fever, appetite loss, and nausea
- CodyMD Grand Rounds | AI Doctor Case Study | 26-year-old woman with lower abdominal pain, diarrhea and irritable bowel syndrome
Other Resources:
- Dyspepsia - What It Is and What to Do About It | AAFP
- Abdominal Pain: Causes, Types & Treatment | Cleveland Clinic
- Gastritis - Symptoms and causes - Mayo Clinic
- Gastritis - Diagnosis and treatment - Mayo Clinic
- Gastritis: What It Is, Symptoms, Causes & Treatment | Cleveland Clinic
- Peptic ulcer - Symptoms and causes - Mayo Clinic
Related Articles
Testimonials
The best part about CodyMD, besides the interaction, is the three options CodyMD gives that best fit your symptoms and the percentage each option fits your symptoms. This helps so much when talking to your doctor about your concerns. Try this free service you won't regret it! They also offer a monthly membership.
TrustPilot Review Easily confirmed what I suspected. Very thorough, definitely the best thing you can get without speaking to a human. A nurse would ask the exact same questions and give you the exact same answers.
TrustPilot Review Genuinely saved my life. I went to an Instacare for severe abdominal pain and was told to take Tums for the next two weeks. I left feeling rushed out and unheard. I wrote out my symptoms to CodyMD and was told there's a 75% chance I have acute appendicitis. I took myself to the hospital and had emergency surgery the same morning. The platform is great, detailed, and really encouraged me to go to the ER.
TrustPilot Review