public JsonResult GetDiagnosis(string name)
        {
            var getdiagnosisModel = new List <GenericListModel>();

            getdiagnosisModel = string.IsNullOrEmpty(name) ? _clPatientStatisticsDB.GetDiagnosis(null) : _clPatientStatisticsDB.GetDiagnosis(name);
            getdiagnosisModel.Add(new GenericListModel {
                id = 0, name = "ALL", text = "ALL"
            });

            var json = getdiagnosisModel.DefaultIfEmpty();

            return(Json(json, JsonRequestBehavior.AllowGet));
        }