MedCalc for the iPhone

I had never heard of MedCalc for the iPhone but MedCalc had been my medical calculator on the Palm Platform since 1999. I noted that this iPhone version had one of the same authors form the Palm Version, Mathias Tschopp.
So one more medical calculator review: MedCalc


For the iPhone version, Mathias has added a second partner, Pascal Pfiffner. This duo has put together a sharp and innovative medical calculator.
The program has created the best system for finding the equations you use. First off the equations are grouped into specialties. Then the program keeps a list of recently used programs and finally it allows you to generate a list of favorites. Mathias and Pascal have created a new system for marking favorites which is not modal. This makes it unconventional for the iPhone but it also makes generating a favorite list less of a chore. Whenever you are browsing through the equations and you see one you want to add to your favorites all you need to do is double tap the equation and it gets marked by a star. Neat. In addition to categories, favorites and recents, MedCalc also allows the user to search for equations.


The other innovation for the calculator is how the user interacts with the formula. The program does not have separate panels for entering data. all of the values can be seen on one page. The number pad is a panel which can be slid out of the way and is slightly transparent. The whole package is very slick. The units for the variables can be switched by selecting the appropriate unit on the right.


The other cool feature is that the program indicates required variables by shading the background pink. Optional data has a white background. MedCalc swithce from the 4 to the 5 or 6 variable formula on the fly depending on what variables the user inputs.

Additionally for the osmolar gap it includes the optional ethanol level. In terms of information supplied with the equation the program always supplies adequate data for the user to interpret the formula. Some of the references are not the ones I would have selected but overall its pretty slick. In terms of weaknesses, there’s no FE Urea. Oh well.

Nephrology calculators for the iPhone

I have three different medical calculators on my iPhone. Two of them I actually use and the third came bundled as part of a different program. I put each calculator through its paces and comment on the differences found in this generally commoditized market.

The three calculators are:

Mediquations was the first medical calculator on the iPhone platform. The author is a third-year medical student, Zack Mahdavi. I have spoken with him and he is a good guy. Since releasing the program in July 2008, he has repeatedly upgraded Mediquations at no additional charge to users. He has focused on adding new calculations to his program and Mediquations has acquired a truly stunning breadth of equations. He claims 201 equations ranging from A-a Oxygen Gradient to Winter for Metabolic Acidosis.

The program has grown large and takes awhile to get past the splash screen and into the functional calculator.

The program then displays a conventional alphabetical list of equations. You can alternatively sort them by categories. Mediquations allows you to bookmark a set of frequently used “Favorites” to easily get past the ton of equations provided.

The MDRD equation is the conventional 4-variable equation and is accurate.

Tapping on a numerical variable sends you to an easy to finger keypad.

Thoughtfully you can switch units on the fly by tapping the i above the units.

For Boolean data you just tap the variable and it gets checked.

Tapping “More Info” gives you the formula and usually a reference and sometimes some background data on how to interpret the calculation. For the MDRD, Mediquations references the Levey paper (PDF) from the Annals which describes the 6-variable, not the 4-variable formula. There is a link which takes you to the PubMed reference in Mediquation’s own web browser.

The execution of “More Info” is spotty. The fractional excretion of sodium gives the formula, a paragraph on how to use and interpret the formula, and a reference to a 1984 American Journal of Medicine article rather than the original Espinel article which introduced the formula or the Shrier paper which validated it. The FeNa info is much better than the FeUrea info which is limited to just the formula without a reference or any help interpreting the calculation. The TTKG falls in the middle with the formula, a short descriptive paragraph which correctly points out that the formula is only valid with a urine Na over 25 and urine osmolality over 300 but gives no guidance on how to interpret the results. Instead of a peer reviewed reference, Mediquations directs people to Wikipedia which, as of 3/2/09, also does not have the correct Halperin reference but does a pretty good job on guiding the reader on how to interpret the calculation.

Overall I give Mediquations three out of four stars. Mahdavi has focused on breadth (200+ formulas!) rather than making the core formulas easier to use and fully documenting those calculations with useful information.

QxMD publishes four different free calculators: Neph (iTunes link), Cards, GI, and HEME. Each calculator has the same equations but the opening screen just shows the namesake’s equations. To get to the other specialties you have to drill down to them. I like this solution to the avalanche of equations found in Mediquation.

Instead of having a favorites tab the equations you use most frequently are automatically added to the Recent list which allows you to generate the same functionality of a favorites list without the work. Nice.

The best feature of NephCalc is a feature called Question Flow. When you turn this on each variable you need to enter is prompted automatically. This significantly speeds data input. For example the data entry flow for Mediquations and the MDRD GFR is:

  1. Tap age
  2. Enter age
  3. Save age
  4. Tap cr
  5. Enter cr
  6. Save cr
  7. Tap African American
  8. Tap Female

For Nephro Calc it is:

  1. Enter age
  2. Save
  3. Enter Cr
  4. Save
  5. Enter African American
  6. Enter Female

It saves two steps and feels a lot more streamlined. Nice innovation.

The Info button leads to a page with interpretive information and a reference. QxMD choose the 2002 K/DOQI guidelines for CKD staging which is probably a great reference, since the 4-variable formula was never published in a peer reviewed journal. The K/DOQI guideline does a nice job of describing the MDRD formula.

The FeUrea information page gives good data on interpreting this calculation and references the KI article (PDF) which put FeUrea on the map rather than the Kaplan and Kohn article where the calculation was first published. I think that is appropriate. (Though it makes me a little sad to see Orly Kohn forgotten for what it is one of the coolest new things in clinical nephrology. Orly was one of my mentor’s at U of C where she runs the PD clinic and is one of the attendings that enriched my fellowship. I remember doing the KI article in journal club and she was in the room and was completely modest about us critiquing her formula.)

With the TTKG QxMD again shines with a good description of how to interpret the calculation, the equation and the correct Halperin reference but the link which promises the abstract doesn’t work.

Like Mediquations however, not every equation has informative “Info.” The osmolar gap simply states “No additional information is available for this topic.”

Overall, I think that Nephro Calc is the best clinical calculator for nephrology and its free. It is not perfect but its close enough to perfect, to be the calculator I recommend to students and fellows rotating with me.

MedMath is bundled as part of Epocrates (iTunes Link). One of the key differences with MedMath is that instead of going to individual pages for each variable all the variables are on one screen. This limits the screen space for a number pad and MedMath uses a non-standard keypad which is significantly smaller than the ones in Mediquation and Nephro Calc. I found it more difficult to tap in the correct numbers with my fingers. I wonder if this is cruft from MedMath being originally written for the PalmOS and stylus-based touch screens.

The MDRD equation pictured is the less often used 6-variable formula. Which means that unless you have the albumin and BUN you can’t calculate the GFR.

The calculated osmolality does not allow one to enter the alcohol level, an omission also found in NephCalc. Only Mediquations allows you to correct the calculated osmolality for ethanol.

For me, the MDRD equation is one of the killer features of a medical calculator so MedMath with its 6-variable silliness totally fails and is a non-starter.

On to the consult service.

My favorite month and the month I dread.
The most stimulating and just the most.

I have two medical students and one fellow. Which is a particularly difficult combination to teach. You have students at the beginning their education and a fellow almost done with her formal training.

My fellow has already told me that she wants to focus on fluids and electrolytes which suits my interests perfectly. It also dovetails nicely with what medical students typically want to get out of a fourth year nephro rotation (especially after rank lists have been submitted).

My plan for the syllabus is:

  • Mon: Ca, Phos, metabolic bone disease (PDF or Zip file for Pages), more acid-base problems
  • Tues: Collectively use mind maps to describe renal physiology Continue to teach ABGs: Anion gap metabolic acidosis with gap-gap (delta gap) and osmolar gap (PDF or Zip file for Pages)
  • Wed: Mind the gap…osmotic gap, anion gap, stool osmolar gap, urinary anion gap Busy clinic, no time for any teaching
  • Thurs: presentation of outlines/abstract of end-of-the-month presentation, non-anion gap metabolic acidosis PowerPoint presentation.
  • Fri: Vacation (for me not the students)
  • Mon: Alcohol and its protean effects on electrolytes Did this March 6th
  • Tues: first student/fellow presentation
  • Wed-Fri: NKF Spring Clinical Meeting
  • Mon: second student/fellow presentation
  • Tues: third student/fellow presentation

It’s an ambitious plan. We’ll see how it goes.

Dialysis report card

One of my 81 year old patients just recently started on dialysis. I took care of her CKD for about 3 years before she needed to start dialysis. Today, we had a care meeting and she told me that she was doing great on dialysis and her labs verified this.

Her pastor reads all the good report cards that the kids in her church bring to him. So she brought in her dialysis report card and her pastor read it on Sunday.

Fluid and Electrolyte lecture at Providence from Friday

Third in the series of interesting fluid and electrolyte cases.

I would add a slide on where I was going in potassium before the anorexia section.

SlideSpace botches the torn paper frames I used through out the lecture so if you have Keynote, download and look at the native file.

Here is a link to the Keynote file.

Journal Club: low protein diet

Effect of a very low protein diet on outcome: long-term follow-up.

This is the long-term follow-up of the B group from the original MDRD study.
Enrollment criteria:
  • Age: 18-70
  • Abnormal Cr 1.2-7 women 1.4-7 in men.
  • MAP of 125 or less (160/100)
  • Proteinuria less than 10g per day
  • No diabetics
GFR 13-24 mL/min for the B study (low protein versus very low protein diet). Higher GFR were enrolled in the A study (normal protein versus low protein diet).
Protein was restricted for 3 years.
9 months after the study every nutritional parameter was the same between the two groups.

The primary end-point was a composite of death or dialysis and just about every patient in both groups (95.7%) reached this end-point preventing a separation between the groups (p=0.5). Likewise there was no separation with regards to time to dialysis (p=0.4).

The surprising finding occurs when they looked at death after the initiation of dialysis. There were 34 deaths in the very low-protein group and 19 deaths in the low-protein group (p=0.01).

The separation begins around 15 months and grows over time. This difference was statistically significant and grew to a 2-fold increased risk of death after 6 years.

My take is this fits well with what I tell my patients when they ask me about protein restriction. I have always counseled patients against protein restriction. The two largest RCT were both negative trials (The Modification of Diet in Renal Disease and the Northern Italian Cooperative Study Group). Additionally my patients do not have the benefit of dedicated and repeated nutritional couseling that the patients in these trials receive. My fear is that with little therapeutic upside there is signifigent risk of malnutrition from overzealous protein restriction.

This study probably does not apply to my worry as I doubt patients would adhere to a very low-protein diet.

My other concearn regarding low-protein diets is patients need to get calories from somewhere. Calories can only come from protein, carbohydrates or fat. Considering that the vast majority of CKD patients are destined to die before dialysis I worry that my advice for protein restriction will result in increased carbohydrates (bad for diabetes and possibly CV disease, see Richard Johnson’s fructose hypertension research) and/or increased fats (bad for CV disease) and enhance the risk of death from the more likely outcome.

Monday was the highest traffic day on this site. Ever.

My post on Everything I learned in fellowship is wrong was featured on the home page of renalWEB.

It feels weird that my post was listed at the top under “News Headlines.” The ATN article came out in July and I just got around to writing about it six months later. I wrote it so that when I discuss the findings on rounds, I have a way to quickly find an abstract of the study with my personal observations. And I will discuss it with the fellows because even though the study was a negative study it is a benchmark study in nephrology. The article is a negative study but it is negative in the way that HEMO was negative, not the way that DCOR was.

  • HEMO is usually listed as a disappointing study because we were not able to help patients by ratcheting up their dose of dialysis from 1.16 to 1.53 (eKt/V).
    But as Glen Chertow argued persuasively, the HEMO trial was a triumph of evidence based medicine. We were able to definitively argue against the desire to incrementally enhance three-times a week day-time dialysis. The increasing evidence for daily and in-center nocturnal dialysis are by-products of the failure of HEMO. If HEMO had been a positive trial we would probably be focusing on a HEMO II with a targetted eKt/V of 1.8. The negative result has sparked innovation and a search for novel ideas.
  • DCOR on the other hand has almost nothing definitive to show despite being “the largest outcomes study ever done in the hemodialysis population.” The failure of DCOR can be attributed to a low event rate, a high but undefined cross-over rate and a 50% drop-out rate. All of these conspired to produce an under-powered study and clinicians are left in a sea of phosphorous binder marketing without near term hope for better guidance.

So the negative finding of the ATN group advances the science of nephrology, removes an important question and will allow us to move on to new strategies to help patients with acute kidney injury.

A final note to the editor of RenalWEB, my bullet on the dose of dialysis referred to the HEMO trial, which did not look at frequency of dialysis or radical increases in dose. The jury is still out on those techniques but I’m with you. Those two strategies seem right and beneficial.

Crowd Sourcing 100 day

This coming week is the 100th day of school.

As part of a school project all of the kids need to bring in a hundred of something. My son wanted a hundred paper airplanes. We made a couple of dozen and I had my lecture for the ER residents coming up. So passed out two sheets of paper for each resident when I passed out the handout and I asked each resident to make a couple of airplanes. It turned out great.

Thanks St John ER Residents.