private Map<String, String> validateFields(Map<String, String> validationMap){
		
		Map<String, String> resultsMap=new HashMap<String, String>();
		int intValue=0;
		
		for( Map.Entry<String, String> entry:validationMap.entrySet()){
			if(entry.getKey().equals("healthrec")){
				try{
					intValue=Integer.parseInt(entry.getValue());
				} catch(Exception e){
					if(entry.getValue()!=""){
						resultsMap.put("healthrec", "*Health Record should be a number.");
					}else{
						resultsMap.put("healthrec","*Health Record must be filled.");
					}
				}	
			}else if(entry.getKey().equals("age")){
				try{
					intValue=Integer.parseInt(entry.getValue());
				} catch(Exception e){
					if(entry.getValue()!=""){
						resultsMap.put("age", "*Age should be a number.");
					}else{
						resultsMap.put("age","*Age must be filled.");
					}
				}
				if(intValue<0){
					resultsMap.put("age","*Age should not be negative.");
				}
			}
		}
		return resultsMap;	
	}