public ActionResult GetDiagnosisCycle()
        {
            int diagnosisCycle = 1;

            try
            {
                int PatientId = int.Parse(Request.Form["id"]);
                diagnosisCycle = diagnosisCycle + diagnosisRepository.GetDiagnosisCycle(PatientId);
            }
            catch (Exception exp)
            {
                log.Error(exp);
            }
            return(Json(new { result = diagnosisCycle }));
        }