Created
July 27, 2023 10:18
-
-
Save halcwb/c7eaeabff09c2557a2301e872a479dbc to your computer and use it in GitHub Desktop.
Fractional Excretion of Sodium
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub Main | |
Console.WriteLine(CalcFENa(70, 150, 4000, 50)) | |
End Sub | |
' Fractional Excretion of Sodium (FENa), % = 100 × (SCr × UNa ) / (SNa × UCr) | |
' FENa is a measure of tubular resorption of Na. | |
' Pre-Renal Intrinsic Post-Renal | |
' FENa <1%> 1% >4% | |
Function CalcFENa (dblScreat As Double, dblSNa As Double, dblUcreat As Double, dblUNa As Double) As Double | |
Dim dblFENa As Double = -1 | |
If dblScreat > 0 And dblSNa > 0 And dblUcreat > 0 And dblUNA > 0 Then | |
dblFENa = 100 * (dblScreat * dblUNa) / (dblUcreat * dblSNa) | |
End If | |
Return dblFENa | |
End Function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment