private void UploadPatientDicomClick(object sender, System.Windows.RoutedEventArgs e)
        {
            if (cmbPatients.SelectedValue == null) return;

            var patientDataRepository = new PatientDataRepository();
            var appointmentInfo = new AppointmentInfo();

            var manageDicom = new ManagePatientDicom();
            manageDicom.PatientId = int.Parse(cmbPatients.SelectedValue.ToString());
            manageDicom.UniqueIdentifier = patientDataRepository.GetPatientUniqueIdentifier(int.Parse(cmbPatients.SelectedValue.ToString()));
            manageDicom.ShowDialog();
        }
        private void AppointmentClick(object sender, System.Windows.RoutedEventArgs e)
        {
            if (cmbPatients.SelectedIndex > -1)
            {
                var appointmentDataRepository = new AppointmentDataRepository();

                var appointmentInfo = new AppointmentInfo();
                appointmentInfo.PatientId = int.Parse(cmbPatients.SelectedValue.ToString());
                appointmentInfo.UniqueIdentifier = appointmentDataRepository.GetPatientUniqueIdentifier(appointmentInfo.PatientId);
                appointmentInfo.ShowDialog();
            }
        }