A model for the diagnostic medical interview