示例#1
0
        private void Placeholder_Click(object sender, RoutedEventArgs e)
        {
            Form form = new Form();

            form.ReportOrPrescription = Prescription.reportOrPrescription;
            form.InterventionId       = AddExamination.intervId;
            form.Description          = TextArea.Text;
            if ((String)kombo.SelectedItem == "Specialist")
            {
                form.FFormType = FormType.Specialist;
            }
            else if ((String)kombo.SelectedItem == "LabTesting")
            {
                form.FFormType = FormType.LabTesting;
            }
            else
            {
                form.FFormType = FormType.StationaryTreatment;
            }

            formController.AddForm(form);

            AddExamination add = new AddExamination();

            add.Show();
            this.Close();
        }
示例#2
0
        private void PackIcon_MouseDown(object sender, MouseButtonEventArgs e)
        {
            AddExamination add = new AddExamination();

            add.Show();
            this.Close();
        }
示例#3
0
        private void addClick(object sender, RoutedEventArgs e)
        {
            AddExamination add = new AddExamination();

            add.Show();
            this.Close();
        }
示例#4
0
        private void submitClick(object sender, RoutedEventArgs e)
        {
            //sacuvaj terapiju
            Therapy therapy = new Therapy();

            therapy.PatientId      = Appointments.interv.PatientId;
            therapy.MedicationName = ((Medication)dropMedications.SelectedItem).Name;
            therapy.Dose           = Convert.ToInt32(dose.Text);
            therapyController.AddTherapy(therapy);
            AddExamination add = new AddExamination();

            add.Show();
            this.Close();
        }