How I made that short video about interpreting ABGs

Here are the tweets (I’m using WordPress’ ability to post a tweetstream, pretty cool)

We need to know if it is alkalosis or acidosis, so we ordered an ABG.

Thought I’d try my hand at a @HannahRAbrams style explanatory animation for the above ABG. Need to get it down under 2:20 to fit in a tweet.

And the last bit

Originally tweeted by Joel M. Topf, MD FACP (@kidney_boy) on October 7, 2020.

I made the video with Keynote, it is a single slide with a lot of animation. Here is the slide (all 750 kilobytes):

Creating the animation just takes patience. This slide has 44 steps to the animation. It is a mixture of build ins, actions, and build outs.

Once I had the animation perfect I used “Record Slideshow…” to record the animations and my narration, then exported the movie using “Export To Movie…”

Mixed acid-base disorder and altered mental status

An 80 year old woman was readmitted to the hospital with mental status changes. She was recently discharged following successful treatment for heart failure and associated fluid overload. Her discharge medications were as follows: (You know the joke: senior asks the intern, “What medications is she on?” And the Intern looks up and says, “uhm, all of them.”)

She was brought to the ED with a week history of increasing confusion and weakness. The patient had some shortness of breath but this was typical for her baseline.

Initial labs:

The ABG showed:

  • pH: 7.47
  • pCO2: 71
  • paO2: 74
  • HCO3: 51

  1. First look at the pH
    1. It’s elevated so this is a alkalosis
  2. Look at the bicarbonate and the pH
    1. If they both are moving in the same direction it is metabolic
    2. If they are moving in opposite directions it is resiratory
    3. Here the pH and bicarb are up, so it is metabolic
  3. Put the two together and identify the primary disorder:
    1. Metabolic Alkalosis
  4. Calculate the predicted pCO2 from the bicarbonate
    1. Calculate how far the bicarbonate has increased, this is the delta bicarbonate
    2. Take two-thirds of the delta and add it to 40, the normal pCO2
    3. In our patient the bicarb has risen from 24 to 51, a delta of 27, two-thirds of that is 18, so the pCO2 should be 58 +/-2
  5. Is there a second primary disorder affecting the pCO2?
    1. Compare the predicted pCO2 to the actual pCO2
    2. If the actual pCO2 is lower than predicted, the patient has an additional respiratory alkalosis
    3. If the actual pCO2 is higher than predicted, the patient has an additional respiratory acidosis
    4. Our patient’s actual pCO2 of 71, is way higher than the predicted 58+/-2.
  6. The complete interpretation of the ABG is: a primary metabolic alkalosis with an additional primary respiratory acidosis

The ED diagnosed her with acute hypercarbic respiratory failure, and blamed the mental status changes on CO2 retention. She was started on bipap and admitted. The following day her pCO2 improved to 50 but she had persistant confusion. At that point we were consulted for acute renal failure, and noted that she had severe hypercalcemia, calcium of 14.7 mg/dl.

Her phosphate was 1.9 and subsequent work-up showed a PTH of 20., with normal 25 OH and 1,25 OH vitamin D.

On the basis of a combined metabolic alkalosis, acute renal failure, normal PTH and elevated calcium we diagnosed her with Milk-Alkali Syndrome, and started her on IV normal saline and SQ calcitonin. We did not give steroids or bisphosphonates. Over the ensuing four days her calcium drifted down to 10.1. On the third day her sensorium cleared.

Our patient seems to perfectly match the modern form of Milk-Alkali Syndrome or Calcium-Alkali Syndrome using Patel and Goldfarb’s suggested nomenclature. The calcium and alkali were both supplied by calcium carbonate. Additionally she was on a thiazide-type diuretic which decreases calcium excretion. The classic 1930’s form of Milk-Alkali Syndrome was associated with high phosphorous levels while the contemporary form has hypophosphatemia. The principle difference comes from the source of calcium:

  • In classic milk-alkali syndrome the patient is calcium loaded from milk, which is very high in phosphorous (370-450 mg per 8 oz)
  • In contemporary milk-alkali syndrome the calcium carbonate provides the calcium and also acts as a phosphorous binder to prevent dietary phosphorous absorption.
According to Patel and Goldfarb, the hypophosphatemia is more than just a spectator, it’s integral to the modern disease. The low phosphorous stimulates conversion of the storage form of vitamin D (25 OH D) to the active form, (1,25 OH D) which further enhances GI calcium absorption:

Low phosphate levels stimulate the renal metabolism of calcitriol and, consequently, absorption of calcium by the gut. Levels of 1,25-hydroxyvitamin D in patients with the calcium-alkali syndrome, of course, are generally low in the setting of hypercalcemia, although some are in the low- normal range and perhaps inappropriately high. These latter levels may depend on previous exposure to vitamin D supplementation, because vitamin D is often added to some over-the-counter calcium preparations, but more epidemiology is needed to clarify this exposure.

Editor snark, I love the sentence: “Levels of 1,25-hydroxyvitamin D in patients with the calcium-alkali syndrome, of course, are generally low in the setting of hypercalcemia, although some are in the low- normal range and perhaps inappropriately high.” So the levels arer either low, normal or high. Thanks for clearing things up.
The contemporary modern patient is typically female, and post menopausal. Other susceptible populations include cardiac transplant patients, pregnant patients, and those with calcium-rich food-fetishes (reported in anorexic nervosa patients).
Though the alkali and calcium are typically exogenous, diuretic-induced alkalosis can contribute to the condition, and doubly so, if the diuretic is a thiazide which decreases renal calcium losses. NSAIDs contribute by lowering GFR.
The Ca sensing receptor (CaSR) in the thick ascending limb of the loop of Henle binds calcium and binds it more avidly with alkalemia. Binding of the calcium sensing receptor shuts down the ROMK channel which decreases sodium reabsorption and increases urinary loss of calcium. Hypercalcemia, by activating the CaSR, acts like Lasix.
The loop-diuretic effect furthers volume deficiency, which, along with direct calcium-induced vasoconstriction, worsens the renal failure. Volume deficiency also stimulate calcium reabsorption in the proximal tubule.
Increased tubular calcium stimulates TRPV5, the principle calcium transporters in the distal nephron, decreasing renal calcium losses and furthering the hypercalcemia. The TRPV5 is also enhanced by the alkalosis.
Volume expansion with sodium chloride is the bedrock of therapy.
Do not miss the excellent and short review in JASN.

iPhone Medical Applications

I have four medical applications on my iPhone, of which I use two. Here is a quick review.

To show how the iPhone equipped physician approaches clinical problems I will use the DB’s Medical Rants most recent acid-base problem. He presents a case with the following information:

49-year-old man, previously in good health, presents after a few weeks of progressive weakness and dizziness. He admits to polyuria. Your job is to extensively discuss his lab tests.

The first step in my mind is to fully interpret the ABG. To do this we will use the application ABG.

ABG

This simply named program is an ABG calculator that runs through the standard algorithms for detecting multiple primary acid-base abnormalities. Can’t remember Winter’s Formula. As long as you don’t have boards coming up you can just plug’n chug and turn DB’s ABG into the following:

This does two of the calculations that DB describes at length:

  1. Winter’s formula (16 * 1.5 + 8 ±2) shows that the predicted pCO2 is 30-34. The patient’s CO2 is 33 so the patient has isolated and appropriately compensated pCO2 of 33. ABG displays this information in the second line when it describes the acid-base disorder as “Compensated metabolic acidosis.” It does not describe a second primary condition such as respiratory acidosis or alkalosis.
  2. Gap-Gap or delat-delta. The patient has a dramatically elevated anion gap at 27 (15 over the upper limit of normal of 12) but his bicarb of 16 is only 8 below normal. The difference between the delta gap and the delta anion gap is 7 (15-8) when this is added to the normal bicarbonate you get 31; so the patient had a pre-existing metabolic alkalosis with a bicarbonate of 31. ABG displays this information as the corrected bicarbonate.

The next step is adjusting his sodium for the hyperglycemia. To do this we will use Mediquations though Medical  Calc works just as well.

Mediquations
DB, in his discussion, states that he has unpublished data proving that no formula is effective at adjusting the serum sodium for the hyperglycemia. For those of us without his unpublished data should adjust the sodium using Katz’s traditional conversion (pdf of a letter to JAMA discussing adjusting sodium for hyperglycemia in DKA. Katz’s original conversion was discussed in a letter to the NEJM) of a drop in Na of 1.6 for every 100 the glucose is over 100 mg/dL. Nephrology fellows should additionally be aware of Hillier’s data showing the sodium falling 2.4 for every 100 of glucose. Both Mediquations and Medical calculator adjust the sodium using Katz’s conversion.

Of coarse you wouldn’t know it was Katz’s conversion because even if you tap on “More Info,” Mediquation does not provide the reference. Likewise you will not get the reference with Medical Calc.

Though DB did not explore free water defecits in his discussion of the case this is a clinically relevent point. You can use Mediquation to calculate the water deficit.


I feel that using ABG and Mediquations will make you a more effective physician without forcing you to memorize equations used only periodically.

Acid-Base lecture for ER residents

Yesterday I gave a great lecture on interpreting ABG results. I added a problems set for gap-gap analysis and added a section on the osmolar gap. I also improved the anion gap section with my new favorite nemonic. Forget PLUMSEEDS, forget MUDSLEEPS, forget MUDPILES. The new hotness is GOLD MARK:

  • M Methanol
  • A Aspirin
  • R Renal failure
  • K Ketoacidosis
This new nemonic was published in a letter in the Lancet (thanks vincent bourquin). I love that it drops the silliness of paraldehyde that no one uses anymore and drops isoniazid and iron which hardly ever cause an anion gap.
I also stumbled across a cool article on the sensitivity of the anion gap for lactic acidosis. Surprisingly an anion gap is only found in 58% of patients with an anion gap.
Additionally I cleaned up a bunch of the lecture. I still have not reformatted it for the iPhone so the handout is traditional 8.5×11 without a booklet form.

The Acid-Base lecture for the residents of St John Hospital


Today I gave my second lecture of the year for the St John Residency.

I used my Acid-Base workshop handout and added a slide show to facilitate the large group.

I still called on individual residents to answer questions to keep them involved.

I started the lecture with some audience participation. My previous lecture on IV Fluids, diuretics and dysnatremias began with me stating how ubiquitous these subjects were.

I had everyone stand then I asked people to sit down if, in the last three weeks they had not:

  • Used any diuretics: no one sat down
  • Used any IV diuretics: about half a dozen people sat down
  • Used a thiazide diuretic to counter the effect of loop diuretic resistance: lost a lot of people there but still had about a dozen left
  • Used a lasix drip to counter loop diuretic resistance from heart failure: everybody sat down but about 3 residents and the amazing Dr. Dhungel, my first year fellow on the consult service.
  • Used torsemide instead of furosemide for better pharmacokinetics: only Dr Dhungel remained standing.

I then tried to repeat the excercise for IV fluids and dysnatremias but it didn’t work very well. Should have quit after the first one.

When I gave that IV Fluids, diuretics and dysnatremias lecture I didn’t have a hand out. In the last three weeks I have worked up a handout:

iPhone version
Booklet form

Teaching on 2 Ell, the second week

On Monday one of our interns gave a lecture on the range of renal pathology possible found with lupus nephritis.

Lupus Nephritis

View SlideShare presentation or Upload your own. (tags: sle pathology)

This was a follow up on her lecture on the renal manifestations of lupus nephritis by WHO criteria. After her lecture we went down to bowels of the hospital to look at the kidney biopsy we had done on Friday on one of our patients with lupus.

On Thursday we began interpretation of Acid-Base disorders.
Also on Thursday I lectured the house staff on Nephrogenic Fibrosing Dermopathy, Acute Phosphate Nephropathy and Contrast Nephropathy. Renal adventures in imaging.

On Friday the 13th we completed Acid-Base disorders. As part of acid-base we talked about the anion gap. This article in CJASN on the anion gap was wonderful.