See attached workflow for adding and resolving an allergy in NextGen. 

There is no way to delete an allergy