anchor.diff:  					out.println("<tr>");
   					if (hasPatient) {
   						out.println("<td>"); 
  -						out.println(rset.getString("patient_name"));
  +						out.println(rset.getString("person_id")); 
   						out.println("</td>");
  +						
  +						out.println("<td>"); 
  +						if(rset.getString("person_id") != null) {
  +							Statement getPName = m_con.createStatement();
  +							ResultSet rset2 = getPName.executeQuery("Select (first_name || ' ' || last_name) patient_name from persons where person_id =" + rset.getInt("person_id"));
  +						
  +							rset2.next();
  +							
  +							out.println(rset2.getString("patient_name"));
  +							
  +						} else {
  +							out.println("null");
  +						}
  +						out.println("</td>");						
   					}
   					if (hasType) {
   						out.println("<td>"); 
  
positive.code: 		        }
  
  				if(hasPatient) {
  					OLAPStr1 += "p.person_id, (p.first_name || ' ' || p.last_name) patient_name, ";
  					OLAPStr3 += "p.person_id, (p.first_name || ' ' || p.last_name), ";
  				}
  
  				if(hasType) {
  
negative.code:     <BODY> 
  		<%
  			//only admin can use
  			/*try{
  				if (!(((String) session.getAttribute("class")).equals("a"))){
  					throw new Exception();
  				}
  			} catch (Exception e){
  				response.sendError(HttpServletResponse.SC_FORBIDDEN);
  			}*/
  		%>
  
  		<%
  