Beispiel #1
0
        //症状字典
        public ActionResult Symptoms()
        {
            List<AbsType> symptoms = new List<AbsType>();
            DataSet info = _ServicesSoapClient.GetSymptoms();
            foreach (DataRow row in info.Tables[0].Rows)
            {
                AbsType absinfo = new AbsType();

                absinfo.Type = row[0].ToString();
                absinfo.Code = row[1].ToString();
                absinfo.TypeName = row[2].ToString();
                absinfo.Name = row[3].ToString();
                absinfo.InputCode = row[4].ToString();
                absinfo.SortNo = Convert.ToInt32(row[5]);

                symptoms.Add(absinfo);
            }
            return View(symptoms);
        }
Beispiel #2
0
        //体征字典
        //public ActionResult VitalSigns()
        //{
        //    List<AbsType> vitalsigns = new List<AbsType>();
        //    DataSet info = _ServicesSoapClient.GetVitalSigns();
        //    foreach (DataRow row in info.Tables[0].Rows)
        //    {
        //        AbsType absinfo = new AbsType();
        //        absinfo.Type = row[0].ToString();
        //        absinfo.Code = row[1].ToString();
        //        absinfo.TypeName = row[2].ToString();
        //        absinfo.Name = row[3].ToString();
        //        absinfo.InputCode = row[4].ToString();
        //        absinfo.SortNo = Convert.ToInt32(row[5]);
        //        vitalsigns.Add(absinfo);
        //    }
        //    return View(vitalsigns);
        //}
        //检查字典
        public ActionResult ExaminationItem()
        {
            List<AbsType> examinationitem = new List<AbsType>();
            DataSet info = _ServicesSoapClient.GetExaminationItem();
            foreach (DataRow row in info.Tables[0].Rows)
            {
                AbsType absinfo = new AbsType();

                absinfo.Type = row[0].ToString();
                absinfo.Code = row[1].ToString();
                absinfo.TypeName = row[2].ToString();
                absinfo.Name = row[3].ToString();
                absinfo.InputCode = row[4].ToString();
                absinfo.SortNo = Convert.ToInt32(row[5]);

                examinationitem.Add(absinfo);
            }
            return View(examinationitem);
        }
Beispiel #3
0
        //体征字典表 lpf 20150709
        public ActionResult VitalSigns()
        {
            List<AbsType> vitalsigns = new List<AbsType>();
            DataSet info = _ServicesSoapClient.GetVitalSigns();
            foreach (DataRow row in info.Tables[0].Rows)
            {
                AbsType absinfo = new AbsType();

                absinfo.Type = row[0].ToString();
                absinfo.Code = row[1].ToString();
                absinfo.TypeName = row[2].ToString();
                absinfo.Name = row[3].ToString();
                absinfo.InputCode = row[4].ToString();
                absinfo.SortNo = Convert.ToInt32(row[5]);
                absinfo.Redundance = row[6].ToString();

                vitalsigns.Add(absinfo);
            }
            return View(vitalsigns);
        }