Text this: Case-based reasoning systems for medical applications with improved adaptation and recovery stages