public Entity UploadEntry(DataEntry entry) {
DatastoreService datastore = DatastoreServiceFactory
.getDatastoreService();
User author = entry.getAuthor();
Patient patient = entry.getPatient();
ArrayList<Comment> comments = entry.getComments();
// Create and add Patient entity using as a key the unique id assigned
// upon creation
Entity patientEntity = new Entity("Patient", patient.getId(),KeyFactory.createKey("User", author.getGoogleUser()));
patientEntity.setProperty("FirstName", patient.getFirstName());
patientEntity.setProperty("LastName", patient.getLastName());
patientEntity.setProperty("DOB", patient.getDob());
patientEntity.setProperty("Gender", patient.getGender().toString());
patientEntity.setProperty("ID", patient.getId());