I know someone who has eosinophilic esophagitis. In his case, it's being treated as an autoimmune disease, as opposed to a chronic allergic condition. Never heard of it in relation to AS or NSAIDs.