Semantic Classification of Diseases in Discharge Summaries Using a Context-aware Rule-based Classifier