webOS Nation Forums >  webOS developer forums >  Palmdoc Apps > Framingham Risk Calculator
Framingham Risk Calculator

  Reply
 
LinkBack Thread Tools Display Modes
Old 09/15/2010, 07:06 PM   #1 (permalink)
Member

 
palmdoc2005's Avatar
 
Join Date: Sep 2005
Location: http://palmdoc.net
Posts: 1,813
Likes Received: 20
Thanks: 295
Thanked 230 Times in 138 Posts
Default Framingham Risk Calculator

This is a popular request and to quickly get one up and running for webOS, here's one which works with the NCEP online calculator
As expected you require an Internet connection. I can consider a standalone version in the future but the calculations are rather complex and will require a fair bit of javascript coding.

This is an early version and there are some things to do

1) Horrible icon. if someone can design a nicer application icon I'd appreciate it
2) US units (mg/dL) only - perhaps add in an SI unit option
3) The output is the raw HTML from the NCEP website. It has been formatted as a table so in portrait mode the text is cut off to the right. You can rotate the Pre to landscape and view more text. A neater solution is to parse the HTML data and clean up the output. I'll do the latter later on.
__________________
Check out my My Medical webOS Apps
Featured free apps: DrugView | Eponyms | eMed | Dosecalcfree | Beeb News

Last edited by palmdoc2005; 09/16/2010 at 04:39 PM.
palmdoc2005 is offline   Reply With Quote
Old 09/16/2010, 01:01 AM   #2 (permalink)
Member

 
palmdoc2005's Avatar
 
Join Date: Sep 2005
Location: http://palmdoc.net
Posts: 1,813
Likes Received: 20
Thanks: 295
Thanked 230 Times in 138 Posts
Default

I have uploaded version 0.3.0 with most formatting fixes to homebrew. It will appear in this link once the moderator approves it:

http://uploads.precentral.net/homebr...isk-calculator

and it should subsequently appear in Preware. If anyone can't wait please let me know and I shall upload a zip file here.

Screenshots attached
Attached Images
File Type: png hb_2010-16-09_135141.png (36.4 KB, 9 views) Email Attachment
File Type: png hb_2010-16-09_135148.png (40.6 KB, 5 views) Email Attachment
__________________
Check out my My Medical webOS Apps
Featured free apps: DrugView | Eponyms | eMed | Dosecalcfree | Beeb News
palmdoc2005 is offline   Reply With Quote
Old 09/16/2010, 02:28 AM   #3 (permalink)
Member
 
bulls96's Avatar
 
Join Date: Jun 2007
Posts: 2,051
Likes Received: 32
Thanks: 87
Thanked 110 Times in 76 Posts
Default

would like one!
bulls96 is online now   Reply With Quote
Old 09/16/2010, 08:42 AM   #4 (permalink)
Member
 
CESantos's Avatar
 
Join Date: Nov 2009
Location: Massachusetts
Posts: 34
Likes Received: 0
Thanks: 16
Thanked 4 Times in 4 Posts
Default

Note that one input item is labeled LDL yet if you enter your LDL you get an error that tells you to enter the correct HDL.
CESantos is offline   Reply With Quote
Thanked By: palmdoc2005
Old 09/16/2010, 04:37 PM   #5 (permalink)
Member

 
palmdoc2005's Avatar
 
Join Date: Sep 2005
Location: http://palmdoc.net
Posts: 1,813
Likes Received: 20
Thanks: 295
Thanked 230 Times in 138 Posts
Default

Whoops, you are right. It's a typo and it should be HDL and not LDL cholesterol. Fixed in version 0.4.0 and the app is now out in Homebrew and should be in Preware soon I hope.

http://uploads.precentral.net/homebr...isk-calculator

PS If someone can point me to the actual equation used (not the point scoring system) I could make a standalone version
__________________
Check out my My Medical webOS Apps
Featured free apps: DrugView | Eponyms | eMed | Dosecalcfree | Beeb News

Last edited by palmdoc2005; 09/16/2010 at 05:05 PM.
palmdoc2005 is offline   Reply With Quote
Old 09/19/2010, 01:36 AM   #6 (permalink)
Member

 
palmdoc2005's Avatar
 
Join Date: Sep 2005
Location: http://palmdoc.net
Posts: 1,813
Likes Received: 20
Thanks: 295
Thanked 230 Times in 138 Posts
Default

Major update: the program now uses the original Framingham equation to calculate (all) CVD risk (at 5 or 10 years). The NCEP 'hard' CVD risk is still maintained as an online calculation option.
I have tested the equation using the online calculators here:

Cardiovascular Risk Calculator and Chart v1.2
(select CVD (Framingham) )
and
Australian absolute cardiovascular disease risk calculator - National Vascular Disease Prevention Alliance
(this one is a 5 year risk calculator)

and the results seem to tally.

Bug reports, comments, criticisms, suggestions welcome.
__________________
Check out my My Medical webOS Apps
Featured free apps: DrugView | Eponyms | eMed | Dosecalcfree | Beeb News
palmdoc2005 is offline   Reply With Quote
Old 09/19/2010, 02:08 AM   #7 (permalink)
Member
 
bulls96's Avatar
 
Join Date: Jun 2007
Posts: 2,051
Likes Received: 32
Thanks: 87
Thanked 110 Times in 76 Posts
Default

sorry i havent been able to try this out much... will surely let you know once i get some action.
bulls96 is online now   Reply With Quote
Old 09/19/2010, 06:08 PM   #8 (permalink)
Member

 
palmdoc2005's Avatar
 
Join Date: Sep 2005
Location: http://palmdoc.net
Posts: 1,813
Likes Received: 20
Thanks: 295
Thanked 230 Times in 138 Posts
Default

I have submitted the app to the official catalog. Apart from the app id, it is identical to the Homebrew version. Hope it gets approved and appears in a few days.
__________________
Check out my My Medical webOS Apps
Featured free apps: DrugView | Eponyms | eMed | Dosecalcfree | Beeb News
palmdoc2005 is offline   Reply With Quote
Old 09/21/2010, 12:45 AM   #9 (permalink)
Member
 
Join Date: Jul 2009
Posts: 41
Likes Received: 0
Thanks: 18
Thanked 2 Times in 2 Posts
Default Preware

Tried to download thru PreWare and get an error message, not an approved WebOS app.
bkcrown is offline   Reply With Quote
Old 09/21/2010, 03:06 AM   #10 (permalink)
Member

 
palmdoc2005's Avatar
 
Join Date: Sep 2005
Location: http://palmdoc.net
Posts: 1,813
Likes Received: 20
Thanks: 295
Thanked 230 Times in 138 Posts
Default

Quote:
Originally Posted by bkcrown View Post
Tried to download thru PreWare and get an error message, not an approved WebOS app.
Might be a glitch in the App Catalog servers. I get that from time to time too. Maybe because it has just been approved in the App Catalog - do try again. The version in Precentral Homebrew is identical apart from the App Id.
__________________
Check out my My Medical webOS Apps
Featured free apps: DrugView | Eponyms | eMed | Dosecalcfree | Beeb News
palmdoc2005 is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0