Generally, eating disorders are seen as a mental/psychiatric illness with physical consequences. The immediate physical dangers must be treated first in order to later assess underlying mental and emotional issues.
Here's a good questionnaire to fill out and to ask yourself if your eating might be a problem. The site also contains a lot of other useful information about eating disorders if you're willing to look around.
Good Luck.