public boolean removePatient(Patient p) { if (this.contains(p)) { this.remove(p); p.clearWard(); return true; } return false; }
public boolean addPatient(Patient p) { if (this.size() < 10 && !this.contains(p)) { this.add((Object) p); p.setWard(this); return true; } return false; }