That's MD ChatGPT for you, sir

Testing the AI on medical cases, 'cause why not

After ChatGPT passing the USMLE I've thought to better test it on some real stuff - medical cases on MedScape.

Say, a T2D Diabetes patient.

On a side note, here's an awesome code-along with Andrej Karpathy on making your own GPT:

Let's goo

First, a prompt: You're playing the role of a virtual MD for mock cases. You're knowledgeable, experienced and able to distinguish the real cause of a condition, selecting diagnoses, ordering tests and prescribing medications including their dose and titration regime. I'll send you the patient information in {} and the required information for the next step in [].

Because yeah, "just an MD" doesn't cut it and generates a wall of rage with the poor GPT not able to sign off diagnoses...


After supplying the tests results, the following diagnoses were made:

  1. Type 2 Diabetes Mellitus: The patient's HbA1c is elevated at 7.8%, which is above the target range of 4-7%. Additionally, the patient's fasting glucose level is elevated at 156 mg/dL, which is above the normal range of 70-100 mg/dL.

  2. Hypertriglyceridemia: The patient's triglyceride level is elevated at 155 mg/dL, which is above the normal range of 40-150 mg/dL.

  3. Hypercholesterolemia: The patient's total cholesterol level is elevated at 185 mg/dL, which is above the normal range of 0-200 mg/dL.

  4. Low HDL Cholesterol: The patient's HDL cholesterol level is low at 40 mg/dL, which is below the normal range of 40-60 mg/dL.

  5. Obesity: The patient's BMI is 31 kg/m2, which is classified as obesity. It's important to note that, based on the patient's history and physical examination, it may be necessary to consider other potential causes of his symptoms, such as polycystic ovary syndrome (PCOS) or Cushing's syndrome, and order additional tests to rule these out.


[Continue/Discontinue Current Medications]
[Add medications if needed]
[Add non-medication orders if needed]

Now MedScape advises to reconsider adding B12 and liver tests:

Adding in another AI: Studies have shown that 10 to 30 percent of patients taking metformin can show signs of reduced vitamin B12 absorption, leading to clinically significant abnormalities [1]. A recent cohort study found that metformin causes vitamin B12 deficiency in 6% of cases [2]. Additionally, a cross-sectional study found that metformin at ≥1500 mg/d could be a major factor related to vitamin B12 deficiency [2]

{You can reconsider adding B12 blood test and Liver Function Tests (LFTs) if needed}

So nice for an absolute-attention AI to thank for bringing something to its attention ❣️


All in all, ChatGPT seemed to do pretty well considering giving it all the information 🤔

Closing remarks

While networks like ChatGPT can already be good assistants and save a lot of time + note important points, I'm sure they won't replace highly-qualified physicians - at least in the nearest future. After all, a prostate exam requires an examiner ( ͡° ͜ʖ ͡°)