Patient.getGenderFromString((String) patientEntity.getProperty("Gender")),
(String) patientEntity.getProperty("ID"));
// Populate dataentry object with entity properties, linking to
// previously built user and patient objects
DataEntry de = new DataEntry(getCommentsFromEntry(result), patient,
user, (BlobKey) result.getProperty("blobKey"),
KeyFactory.keyToString(result.getKey()),
(Date) result.getProperty("timestamp"));
return de;
} catch (Exception e) {