Ejemplo n.º 1
0
        private void loadDrugTreatmentData()
        {
            listBox3.Items.Clear();
            patientDrugTreatmentList = new Processing.DrugsClass.PatientDrugTreatment();
            patientDrugTreatmentList.getPatientDrugs(searchPatientBox1.pIdN);

            foreach (Processing.DrugsClass.DrugTreatment i in patientDrugTreatmentList)
            {
                listBox3.Items.Add(i.WrittenDate + " " + i.drugName + " " + i.drugDose + " " + i.drugDoseName + " " + i.doctorName);

            }
            listBox3.Refresh();
        }
Ejemplo n.º 2
0
        private void loadDrugTreatmentTabData()
        {
            listBox14.Items.Clear();
               patientDrugTreatmentList = new Processing.DrugsClass.PatientDrugTreatment ();
               patientDrugTreatmentList.getPatientDrugs(_gotPatientId());

               foreach (Processing.DrugsClass.DrugTreatment i in patientDrugTreatmentList)
               {
               listBox14.Items.Add(i.WrittenDate +" " + i.drugName + " " +i.drugDose +" "+i.drugDoseName+" "+i.doctorName);

               }
        }