private boolean immunizationUpcoming(String immunizationName, Date endDate, String reminderFrequency){
		int daysBefore = 0;
		if(reminderFrequency.compareTo("oneWeek") == 0){
			daysBefore = 7;
		}
		else if(reminderFrequency.compareTo("twoWeeks") == 0){
			daysBefore = 14;
		}
		else{
			daysBefore = 30;
		}
		DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
		Date currentDate = new Date();
		if(immunizationName.compareTo("Bordatella") == 0){
			long diff = Math.abs(endDate.getTime() - currentDate.getTime());
			int diffDays = (int) (diff / (24*60*60*1000));
			if(diffDays <= 365-daysBefore){
				return true;
			}
		}
		else{
			long diff = Math.abs(endDate.getTime() - currentDate.getTime());
			int diffDays = (int) (diff / (24*60*60*1000));
			if(diffDays <= (365*3)-daysBefore){
				return true;
			}
		}
		return false;
	}