The process by which social, behavioral, or biological conditions come to be defined and treated as medical problems.