Ejemplo n.º 1
0
        public string SaveVitalDetails(string PatientId, string BloodPressure, string ChectCircumference, string Height, string Weight, string Pain, string Respiration, string PulseOximetry, string Pulse, string Temperature)
        {
            PatientModel model = new PatientModel();

            model.PatientID          = Convert.ToInt64(PatientId); model.BloodPressure = Convert.ToInt32(BloodPressure);
            model.ChectCircumference = Convert.ToInt32(ChectCircumference);
            model.Height             = Convert.ToInt32(Height);
            model.Weight             = Convert.ToInt32(Weight);
            model.Pain          = Convert.ToInt32(Pain);
            model.Respiration   = Convert.ToInt32(Respiration);
            model.PulseOximetry = Convert.ToInt32(PulseOximetry);
            model.Pulse         = Convert.ToInt32(Pulse);
            model.Temperature   = Convert.ToDecimal(Temperature);
            Int64 RecordID = model.SaveVitalDetails();

            if (RecordID > 0)
            {
            }
            return("");
        }