public ActionResult Details()
        {
            var                  patient   = (Patient)TempData["patient"];
            PatientModel         Model     = new PatientModel();
            List <MedicineTimes> medicines = new List <MedicineTimes>(Model.GetMedicines(patient));
            //Model.GetMedicinesByName(medicines);
            PatientDetailsViewModel viewModel = new PatientDetailsViewModel(patient, medicines);

            return(View(viewModel));
        }