private double average() {
		double sum = 0, number = 0;
		for (Patient p : this.allPatients) {
			if (!p.isHospitalized()) {
				sum += p.getTotalTime();
				number++;
			}
		}
		return sum / number;
	}