Not every patient is the same. How diversity affects the quality of healthcare