A good doctor shows sympathy to their patients.

Literal

Good doctor [topic-は] patient [to-に] sympathy [object-を] shows.

同情 ('sympathy, compassion') + を示す ('to show'). A set collocation in both medical and general interpersonal contexts.