Hierarchical Deep Learning for Disease Identification in High-Resolution Medical Imaging