public String showMedicalHistory() throws Exception {
   client = ClientDao.getClientById(getId());
   medicalHistory = MedicalHistoryDao.getMedicalHistoryByClientId(client.getId());
   visitsList = VisitDao.getVisitsListByMedicalHistoryId(medicalHistory.getId());
   for (Visit visit : visitsList) {
     Order order = OrderDao.getOrderById(visit.getOrderId());
     Doctor doctor = DoctorDao.getDoctorById(order.getDoctorId());
     visit.setDoctorFullname(doctor.getFullname());
     visit.setDoctorSpeciality(doctor.getSpeciality());
     visit.setDate(UnixTimeConverter.convertUnixTimeToTime(order.getDate(), "yyyy-MM-dd"));
   }
   return Action.SUCCESS;
 }
 @Test
 public void addDoctor() throws Exception {
   DoctorDao.addOrUpdateDoctor(doctor);
 }
 @Test
 public void getDoctorList() throws Exception {
   assertNotNull(DoctorDao.getDoctorsList());
 }
 @Test
 public void deleteDoctor() throws Exception {
   DoctorDao.deleteDoctor(id);
 }