Describir: Robust diagnostic classification via Q-learning