code cleaning - refactoring allergies (entryrelationship)