101102103104105106107108109110111
} catch (ParseException e) { DoB = new Date(); } Gender gender = Patient.getGenderFromString(req.getParameter("gender")); patient = new Patient(first, last, DoB, gender); // Gets the active user. // Get an instance of the UserService