Does anybody using growth/bmi charts?

blankev wrote on Friday, May 29, 2009:

Just added this comments so we have a total of 40.

I just visited the growth charts in the CVS demo and this is incredible. Great addition!
Next week I will do some real time measurements and see what the results are in the graphs.

For all Developers/Users/Help, all  "question-on-airs", who joined to make this feasible:

Thanks a lot and keep up the good work for similar additional pieces of extra in OpenEMR.

Pimm Blankevoort, General Physician.

P.S, Now we can proudly add, (Sam Bowen please correct this in the introduction OEM page)

"Growth Charts 0-21 years are included in the New OpenEMR version 3.0.2 soon to be released!"

PWB

cfapress wrote on Friday, May 29, 2009:

UPDATE to the code
=-=-=-=-=-=-=-=-=-=

I’ve updated the logic a bit in the way the growth charts appear. It’s tricky to describe but I’ll try:

Depending on the date of the vitals you are viewing you will get the appropriate growth chart.

For example, let’s say our patient, John, has been visiting our practice since he was 12 months old. Today John is 4 years old and came for a visit. I added vitals form in his encounter. So now John has the following vital forms:

May 1 2006 (first visit when John was 12mo old)
Oct 1 2006 (John is 17 mo old)
May 1 2007 (John is 24 mo old)
May 2 2008 (John is 36 mo 1 day old)
May 1 2009 (John is 4 yr old)

Today, May 1 2009, I view John’s current vitals and click on the Growth Chart button. I get the 2-20yr growth chart.

But I also want to go back and see John’s birth-36mo chart. So, I choose an encounter anytime before John turned 25 months old. (Yes, the logic right now is set to 25-months) In this case I choose the vitals entry from May 1, 2007. Click on the growth chart button and up comes the birth-36mo growth chart with all data points up to 36 months plotted.

Now, I was just using my personal logic here and it might not reflect reality at all. So, please, step in and correct my assumptions, such as the 25-month cut off between the birth-36 month chart and the 2-20year chart.

I think the last improvements to make are:
- support the metric vitals
- create a PDF file instead of a PNG image

Thanks goes to Bo who has been diligently sending updates every night to me.

Jason

whimmel wrote on Friday, May 29, 2009:

Is it just me or is getpatientageindays() missing from cvs?

bo2999 wrote on Friday, May 29, 2009:

I think that the new function created by Jason.  It should be in

<openemr>/library/patient.inc   files. 

It should be in CVS.

Bo

bo2999 wrote on Friday, May 29, 2009:

Oops,

I spoke too soon.

Jason if you happen to read these message.  Please upload new

<openemr>/library/patient.inc

Otherwise, it would not work.

it didn’t work for me ;-(

Thanks,

Bo

bo2999 wrote on Monday, June 01, 2009:

Thanks to Jason,

Now the newest update of the file patient.inc is in CVS.  I will be testing the new chart.php file to see how the new logic works.

Thanks,

Bo,

singaporejim wrote on Friday, July 03, 2009:

Hello, great work! The demo in CVS works great. I have a live test environment setup in a pediatric clinic and I would like to install and test it out in the real world. Can someone send me the files or show me where they are located?

bo2999 wrote on Wednesday, July 08, 2009:

The latest files are in CVS. 

I am working on adding the PDF printing capability to the growth charts.   Waiting for Jason to look at the modifications.

Bo

blankev wrote on Wednesday, July 08, 2009:

So growth charts are in the picture again? THIS WAS A GREAT ADDITION. and now the might become printable! How difficult will it be to make Vitals (Metric) use these files or make a toggle to change between Metric and Standard English?

Thanks for the thought…

Pimm

drkay wrote on Friday, September 11, 2009:

The growth charts look great. I tried it with a mock newborn patient.

FEATURE REQUESTS: &lt;br&gt;
-Down Syndrome growth charts &lt;br&gt;
-Growth charts that adjust for prematurity (would need an optional data field next to birth date for gestational age at birth)