Sunday, March 22, 2009

Pediatric Echo Z-Score Graphs

I have been working on different visualizations of the data we see and use every day in the pediatric echo lab.

Consider the following hypothetical patient data:

  t0 t1 t2 t3
Height(cm): 55 58 65 75
Weight(kg): 3.5 3.9 4.5 7
LMCA (mm): 2.9 2.95 3.2 3.5

A simple graph of these individual measurements over time- particularly for pediatric patients- is potentially a bit misleading:

Coronary Artery Measurement Time Series Graph

While the graph clearly conveys the information that the coronary artery size changes over time, unless you also happen to know what the normal values are for each point in time, there is no way to know if the change in size is pathologic, or simply due to somatic growth.

This is the entire reason we use z-scores.

So, maybe more to the point- at least for the purpose of trending- would be to graph the z-scores over time:

Coronary Artery Z-Score Time Series Graph

(This simple LMCA graphing routine can be found here.)

However, neither graph is entirely satisfactory for me.
I want to see both the absolute values and their relationship to normal values… more like this:

LMCA ZScore Plot

Using the coronary artery z-score data published from Boston and the enormously cool JavaScript plotting library, flot,  I built a few more z-score graphing routines:

They're not perfect (I'd like the z-score to show as a 'tooltip' when hovering over individual data points, and the axes need labels...), but they are a lot more fun. If they seem useful, I may release more of them into the wild.

I'd love to know what anyone else thinks about graphing their pediatric echo data.


(special thanks to the authors of "Normal values for aortic diameters in children and adolescents – assessment in vivo by contrast-enhanced CMR-angiography" for the inspiration)

Thursday, March 12, 2009

3D Lament (a haiku)

"...now give back the green" 
billing is not collecting
elevation plane

Wednesday, February 18, 2009

Digital Imaging Protocols for Pediatric Echo

"Because."

This was the explanation I was given, very early in my introduction to "digital echo", about why we record These Views in This Order. At the time, I was coming from a lab that did things proper: starting with the subcostal views. The only sense this new "parasternal images 1st" protocol made was that it supposedly made reading the studies easier.
How convenient.

For you.


Who is this protocol for anyhow?

I insist that the marriage of the image acquisition protocol with the ordered reviewing of said images is a potential liability. Always starting with the parasternal view is fine for most hearts— most hearts are nearly normal. The problem, in my opinion, with starting with the parasternal view is: it presumes that things are normal, or are nearly normal, or that I can at least make something up to look passably normal.

If things are not normal (this is what we're supposed to be particularly good with in Peds, isn't it?) this type of protocol presumes too much: that I already know enough about the heart to make some sense of the parasternal views. Try this on: what is the PLAX view for a patient with dextrocardia, DORV, and pulmonary atresia supposed to look like? How about HLHS? In order to record meaningful parasternal long axis views of these types of abnormal hearts, the sonographer has to either:

  • immediately recognize the pathology from this one clip
  • spend time scanning from subcostals and apicals first (in order to sort it out) then return to the "starting point"- the parasternal views.

The first option is not a fair predicament for most sonographers (including physicians), and the second- grossly inefficient.

The Images are for Physicians

Certainly, I appreciate that in order to report the anatomy, arrangement, size, and function of the examined heart some considerable structure is required. There must be images that support and document our conclusions. And, as we are increasingly moving towards structured reporting, the structure of the underlying, supporting images must also evolve. I have no problem with this, in fact, I embrace it. It's the "absence of evidence is not evidence of absence" philosophy, taken to it's logical conclusion. We don't want anyone to report anything that our images can't substantiate. The fact that physicians will determine and require a certain, precise collection of images is undisputed. They may choose and prefer to review them in any particular order. Bully for them.
Our obligation is to provide these images.

I simply prefer to do it in a manner that is most efficient for me.

The Protocol is for Sonographers

What is really needed to improve our exam consistency is a system that allows for the flexible acquisition of any prescribed (minimum) set of images. On a small scale, we are already doing this with stress echo, particularly with exercise stress echo: you grab what you can, when you can, and sort it out later. The order of collection is irrelevant, but the presentation of the images, in order, is everything. I can't tell you how many fetal echos I have done that would have been greatly improved by the ability to collect the images as I saw them, and then sort them into a logical arrangement later. Not to mention every "new blue" dextrocardia-aortic-atresia-single-ventricle-goat-wreck (Goat Rodeo + Train Wreck, contracted form), I have done since the inception of the current "parasternals 1st" protocol.

I am eager to see what the new Philips iE33's SmartExams are all about.


Lately, I have been tinkering about with a collection of image acquisition protocols suitable for pediatric echo.
In addition to providing a basis for building our own structured, protocol-driven exams, I believe these could also turn into a fairly useful teaching tool (I still need more descriptions/images though).

Tuesday, January 13, 2009

Line Fitting for Pediatric Cardiology (and everyone else)

Described as "one of the fundamental tasks of scientific inquiry", model selection could consume the better part of an afternoon and an important part of one's budgeted time with a statistician.

Enter ZunZun.com.

If you're looking for quality curve fitting and surface fitting, this is the site for you!

The power law applied by Sable et al. in their description of coronary artery reference values caught my attention. Particularly, the scaling exponents for the individual coronary arteries are all different, and not what I would have intuitively guessed them to be, based on the principle of geometric similarity. So, I wanted to test a theory: perhaps the coronary arteries scale well with something besides BSA.

Consider this small data set of 10 hypothetical patients:

Ht (cm) WT (kg) BSA (Haycock)
57 6.1 0.3187
61 7 0.3525
83 12.6 0.5464
98 14.2 0.6223
104 16.6 0.6930
120 20.5 0.8215
148 41 1.2961
172 88.6 2.0820
176 58 1.6729
178 65.5 1.7940

From this I predicted the diameter of the LAD and height-based LV mass for each hypothetical subject.
I then constructed a second table of super hypothetical data:

LV Mass (g) LAD (mm)
16.86 1.38
19.19 1.44
34.42 1.72
45.69 1.82
50.17 1.90
63.28 2.04
99.64 2.46
149.46 2.99
158.99 2.73
163.79 2.81

Then I did some line fitting:

hypothetical LAD vs. LVM

The model fitted is:

y = a * xb

The reported coefficients are:

a =  5.2619076425282296E-01
b =  3.3269001508780827E-01

The "b" term is the scaling exponent: 0.333.
That is to say, in this small sample of hypothetical data, the LAD (a linear measure) scales with LV mass (a volumetric measure) to the 1/3 power.
Maybe that is just random.
Or, maybe that is just… cool.

 

Of course, selection of the best model depends on numerous factors some of which are the regression "fit" statistics and things like the "Bayesian information criterion". Excel won't report these bits, but ZunZun.com throws a bunch at you.

It's free, by the way- unlike the statistician's time.

Wednesday, December 31, 2008

2D Area-Length LV Mass Calculator

I much prefer the 'ellipse tool' to the default method of tracing borders with the trackball. Plus, it is quick, pretty, and is more consistent with the principle behind the calculation.

 
 

Notes:

  • Measure at end diastole (End diastole can be defined at the onset of the QRS, but is preferably defined as the frame after mitral valve closure or the frame in the cardiac cycle in which the cardiac dimension is largest.)
  • Measure areas at the midventricular short axis view, at the level of the papillary muscle tips- generally the widest short axis diameter.
  • Measure the LV length from apex to plane of MV annulus, in A4C or A2C (largest) It is recommended that the basal border of the LV cavity area be delineated by a straight line connecting the mitral valve insertions.
  • Z-Scores are 'off label' (source article used M-Mode derived LV mass)

Recommendations for Chamber Quantification, JASE, December 2005
Recommendations for Quantification of the Left Ventricle by Two-Dimensional Echocardiography, JASE, 1989
A novel method of expressing left ventricular mass relative to body size in children.
Foster BJ, Mackie AS, Mitsnefes M, Ali H, Mamber S, Colan SD.
Circulation. 2008 May 27;117(21):2769-75.