Classification and numerical information extraction from medical records