public boolean isAllowed(int patient_no, int test_id) {
		String selectNotAllowedQuery = "SELECT * FROM NOT_ALLOWED WHERE health_care_no = "
				+ patient_no + " AND test_id = " + test_id;
		boolean isAllowed = true;
		try {
			rs = stmt.executeQuery(selectNotAllowedQuery);
			if (rs.next()) {
				isAllowed = false;
			}
		} catch (SQLException e) {
		}
		return isAllowed;
	}