private void displayWellness(List petIDs) throws SQLException, ParseException{
		//get all pets that have immunization reminders
		List visitsNeeded = new ArrayList ();
		Statement state;
		String commandstring = "";
		ResultSet rs;
		String reminderMethod = "";
		String reminderFrequency = "";
		for(int i = 0; i < petIDs.size(); i++){
			state = DBConnection.OpenConnection();
			commandstring = String.format("SELECT Reminder_Frequency, Reminder_Method FROM Reminders WHERE Pet_ID = %d AND Reminder = 'wellness visit'", petIDs.get(i));
			rs = state.executeQuery(commandstring);
			while(rs.next()){
				visitsNeeded.add(petIDs.get(i));
				visitsNeeded.add(rs.getString("Reminder_Frequency"));
				visitsNeeded.add(rs.getString("Reminder_Method"));
			}
			rs.close();
			state.close();
		}
		
		//go through each one and check to see if we need to display a reminder
		for(int i = 0; i < visitsNeeded.size(); i += 3){
			state = DBConnection.OpenConnection();
			int wellnessID = getMostRecentIDWellnessOrLab((Integer) visitsNeeded.get(i), "Office Visit");
			commandstring = String.format("SELECT Date FROM Appointments WHERE ID = %d", wellnessID);
			rs = state.executeQuery(commandstring);
			while(rs.next()){
				DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
				Date date = dateFormat.parse(rs.getString("Date"));
				boolean alertNeeded = wellnessUpcoming(date, (String)visitsNeeded.get(i+1));
				if(alertNeeded){
					String petName = "";
					Statement state2 = DBConnection.OpenConnection();
					commandstring = String.format("SELECT Name FROM Pets WHERE ID = %d", visitsNeeded.get(i));
					ResultSet rs2 = state2.executeQuery(commandstring);
					while(rs2.next()){
						petName = rs2.getString("Name");
					}
					rs2.close();
					state2.close();
					JOptionPane.showMessageDialog(panelAppointments, petName + "'s owner needs to have a " + visitsNeeded.get(i+2) + " sent to them for a wellness visit");
				}
			}
			state.close();
			rs.close();
		}
	}