public static DoctorTypes getDoctor(int i){
        try {
        	String str ="DOCTOR"+i+"";
        	for (final DoctorTypes dt : values()) {
                if (dt.name().equals(str)) {
                    return dt;
                }
            }
		} catch (Exception e) {
			e.printStackTrace();
			return null;
		}
		return null;
	}