private void GenerateReport_Click(object sender, RoutedEventArgs e)
        {
            Appointment appointment = appointemntController.GetCurrentAppointment(MainWindow.doctor, MedicalRecord.Informations.currentRecord.MedicalRecord);

            appointemntController.FinishAppointment(appointment);
            var report = reportController.GenerateExaminationReport(examinationSurgeryController.GetCurrentExamination(MedicalRecord.Informations.currentRecord.MedicalRecord.IdRecord));

            ExportToPDFExamination.ExportAsPDF(report);
        }