public final List checkPatientsAssess(Village v){
  List up=new List();
  for (Enumeration e=assess.elements(); e.hasMoreElements(); ) {
    Patient p=(Patient)e.nextElement();
    p.timeLeft-=1;
    if (p.timeLeft == 0) {
      if (v.staysHere()) {
        assess.delete(p);
        inside.add(p);
        p.timeLeft=10;
        p.time+=10;
      }
 else {
        freePersonnel++;
        assess.delete(p);
        up.add(p);
      }
    }
  }
  return up;
}

public final List checkPatientsAssess ( Village v ) { List up = new List ( ) ; for ( Enumeration e = assess . elements ( ) ; e . hasMoreElements ( ) ; ) { Patient p = ( Patient ) e . nextElement ( ) ; p . timeLeft -= 1 ; if ( p . timeLeft == 0 ) { if ( v . staysHere ( ) ) { assess . delete ( p ) ; inside . add ( p ) ; p . timeLeft = 10 ; p . time += 10 ; } else { freePersonnel ++ ; assess . delete ( p ) ; up . add ( p ) ; } } } return up ; }
asses the patients in the village .
