Post Reply 
(41C) Friedewald Formula for LDL-cholesterol
03-03-2019, 06:51 PM
Post: #1
(41C) Friedewald Formula for LDL-cholesterol
From user Dinamarco

Uses the Friedewald Formula for LDL-cholesterol.
The limitation: Triglycerides > 400 mg/dL and Nephrotic Syndrome .
The units used: mg/dL.

Code:
01 LBL "LDL CHOLEST"
02 CLX
03 BEEP
04 "TOTAL - CHOLEST:"
05 PROMPT
06 "HDL - CHOLEST:"
07 PROMPT
08   -
09 "TRIGL - CHOLEST:"
10 PROMPT
11   5
12   /
13   -
14 "LDL - CHOLEST: "
15 ARCL X
16 AVIEW
17 BEEP
18 END
Find all posts by this user
Quote this message in a reply
03-05-2019, 07:16 PM
Post: #2
RE: (41C) Friedewald Formula for LDL-cholesterol
(03-03-2019 06:51 PM)Gene Wrote:  The limitation: Triglycerides > 400 mg/dL and Nephrotic Syndrome .

I am by no means an expert on this topic, but as far as I can see these conditions must not apply.
So the limitations are: triglycerides < 400 mg/dl and no Nephrotic Syndrome.

(03-03-2019 06:51 PM)Gene Wrote:  01 LBL "LDL CHOLEST"

HP-41 labels cannot not be longer than seven characters. So there is no way to enter this line.

I tried an improved version of this program which addresses some problems of the one above. For instance the text prompts are too long so that they scroll through the display. Which is almost as annoying as the two beeps (yes, I think I said that before ;-)). And there is no warning if the triglycerides value is not below 400 mg/dl.

Here is how I would do it:

Code:
01 LBL "LDL"
02 "TOT-C MG/DL?"
03 PROMPT
04 "HDL-C MG/DL?"
05 PROMPT
06 -
07 "TRIGL MG/DL?"
08 PROMPT
09 400
10 X>Y?
11 GTO 01
12 R↓
13 "MUST BE <400"
14 GTO 02
15 LBL 01
16 R↓
17 5
18 /
19 -
20 FIX 0
21 "LDL-C= "
22 ARCL X
23 FIX 4
24 LBL 02
25 AVIEW
26 END

Example:
(don't know if the values make sense, but anyway....)

Code:
               XEQ "LDL"

TOT-C MG/DL?   400 [R/S]
HDL-C MG/DL?   300 [R/S]
TRIGL MG/DL?   200 [R/S]

LDL-C= 60.

But now... what about a complete cholesterol solver? Enter any three of the total, HDL and LDL cholesterol and the triglycerides values and have the fourth one calculated. Should be easy to do. ;-)

Dieter
Find all posts by this user
Quote this message in a reply
03-05-2019, 08:05 PM
Post: #3
Friedewald Formula for LDL-cholesterol
Dear colleagues

The posted program is something really simple.
What should be understood: In the public health of poor countries, such as Brazil, and several others, the system does not allow to obtain the complete lipid profile, so we have to request the minimum possible and perform accounts. It turns out that Friedwald's Formula is not something well-known or sometimes remembered ... The written routine is intended to remind health professionals and make everyday work easier.
Thanks
Best Regards.

Nelson Dinamarco
Find all posts by this user
Quote this message in a reply
01-18-2020, 01:34 AM
Post: #4
RE: (41C) Friedewald Formula for LDL-cholesterol
Using the program, is possible to determine the Castelli Index I & II.

Nelson Dinamarco
Find all posts by this user
Quote this message in a reply
03-21-2020, 12:57 AM
Post: #5
Friedewald Formula for LDL-cholesterol - NEW EQUATION
Hi...

A brand new paper/research published on JAMA Cardiology (doi:10.1001/jamacardio.2020.0013) - A New Equation for Calculation of Low-Density Lipoprotein Cholesterol in Patients with normolipidemia and/or Hypertriglyceridemia.
Very interesting. I made a program for it and add the Castelli I, II & III.

Hope some one help me with new improvements.

Best Regards.

Nelson Dinamarco
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 3 Guest(s)