changes to support changes to the way event type module resources work, and resource definition for Allergies.