Cognitive framework for doctor-patient interaction