anchor.diff:  				&& !kTime2.equals("")) {
   			out.println("Records of time period between " + kTime1
   					+ " and " + kTime2);
  +
  +			sql = sql + "from radiology_record r FULL JOIN persons p ON r.patient_id = p.person_id where ";
  +
   			sql = sql + class_id + "r.test_date between to_date('" + kTime1
   					+ "', 'DD/MM/YYYY') AND to_date('" + kTime2
   					+ "', 'DD/MM/YYYY') ORDER BY " + SQLOrder;
  
positive.code: 		//no time period entered
  		else if (!kWord.equals("") && kTime1.equals("")
  				|| kTime2.equals("")) {
  			out.println("Records matching keyword(s): " + kWord);
  			String[] wordList = kWord.split(" ");
  
  			for (int i = 0; i < wordList.length; i++) {
  				sql = sql + class_id + "r.DIAGNOSIS ='" + wordList[i]
  						+ "' or p.LAST_NAME = '" + wordList[i]
  						+ "' or p.first_name = '" + wordList[i]
  						+ "'or r.DESCRIPTION like '%" + wordList[i] + "%'";
  				if (i != wordList.length - 1)
  					sql = sql + "OR ";
  			}
  			sql = sql + "ORDER BY " + SQLOrder;
  
  
negative.code: 						+ "'or r.DESCRIPTION like '%" + wordList[i] + "%'";
  				if (i != wordList.length - 1)
  					sql = sql + "OR ";
  				count_contains += 4;
  			}
  			sql = sql + "ORDER BY " + SQLOrder;
  
  