Esempio n. 1
0
File: Indice.cs Progetto: kzari/Nash
        public static double CalculaNafld(DadosPaciente dp)
        {
            int d = dp.Diabetico ? 1 : 0;

            double n1 = 0.037 * dp.Idade;
            double n2 = 0.094 * dp.IMC;
            double n3 = 1.13 * d;
            double n4 = 0.99 * (dp.AST / dp.ALT);
            double n5 = 0.013 * dp.Plaquetas;
            double n6 = 0.066 * dp.Albumina;

            return(Math.Round((n1 + n2 + n3 + n4 - n5 - n6 - 1.675), 2));
        }
Esempio n. 2
0
File: Indice.cs Progetto: kzari/Nash
        public static double CalculaBard(DadosPaciente dp)
        {
            double bard = 0;

            if (dp.IMC >= 28)
            {
                bard += 1;
            }

            if (dp.AST / dp.ALT >= 0.8)
            {
                bard += 2;
            }

            if (dp.Diabetico)
            {
                bard += 1;
            }

            return(bard);
        }
Esempio n. 3
0
File: Indice.cs Progetto: kzari/Nash
 public static double CalculaFib4(DadosPaciente dp)
 {
     return(Math.Round((dp.Idade * dp.AST) / ((dp.Plaquetas) * Math.Sqrt(dp.ALT)), 2));
 }