Example #1
0
 public void RefreshData(Patient pat, SheetField sheetField)
 {
     PatCur = pat;
     if (sheetField != null)
     {
         _isInDashboard = true;
     }
     if (PatCur == null)
     {
         return;
     }
     _listApptOthers         = Appointments.GetApptOthersForPat(PatCur.PatNum);
     _listPlannedAppts       = PlannedAppts.Refresh(PatCur.PatNum);
     _listPlannedIncompletes = _listPlannedAppts.FindAll(x => !_listApptOthers.ToList()
                                                         .Exists(y => y.NextAptNum == x.AptNum && y.AptStatus == ApptStatus.Complete))
                               .OrderBy(x => x.ItemOrder).ToList();
     _listProgNoteColorDefs = Defs.GetDefsForCategory(DefCat.ProgNoteColors);
     _isFullRefresh         = true;
 }