public ResultSet checkRecord(String patientInfo){
		try {
			if(Helper.isInteger(patientInfo)){
				String testRecordQuery = 
					"SELECT * " +
					"FROM patient p, test_record t " +
					"WHERE " + " p.health_care_no = " + Integer.parseInt(patientInfo) + 
					" AND t.patient_no = p.health_care_no " +
					"AND t.result IS NULL" ;
				rs = stmt.executeQuery(testRecordQuery);
			}
			else{
				String testRecordQuery = 
				"SELECT * "+
				"FROM patient p, test_record t " +
				"WHERE t.patient_no = p.health_care_no " +
				"AND t.result IS NULL " +
				"AND UPPER(p.name) = UPPER ('" + patientInfo + "')";		
				rs = stmt.executeQuery(testRecordQuery);
			}
		} catch (SQLException e) {
		}
		return rs;
	}