예제 #1
0
 void UpdateSelectedPatient()
 {
     _patientRepository.ClearSelectedPatients(_filterlevel);
     _patientRepository.SuspendEvent = true;
     foreach (MPatient pat in _dictpatients[_selectedSite.Name]) // patients of the site
     {
         if (pat == _dictpatients[_selectedSite.Name][_dictpatients[_selectedSite.Name].Count - 1])
         {
             _patientRepository.SuspendEvent = false;
         }
         _patientRepository.AddSelectedPatient(_filterlevel, pat);
     }
     _patientRepository.SuspendEvent = false;
 }