Police have arrived at the scene. The shooting reportedly occurred in the German capital's Steglitz district at around 11:00 GMT.
"The doctor in Steglitz has unfortunately passed away," German police said on Twitter.
#BREAKING: THERE WERE SHOTS FIRED AT THE UNIVERSITY CLINIC IN STEGLITZ DISTRICT OF BERLIN— Ali Kheradpir (@AliKheradpir) 26 июля 2016 г.
Earlier, the police said that the doctor was in intensive care after the incident.
"A patient fired at a doctor in the Benjamin Franklin University Hospital in Steglitz and later committed suicide. The doctor sustained a life-threatening injury and is currently in intensive care," Berlin police said on Twitter.
Der Arzt wurde nach ersten Erkenntnissen lebensgefährlich verletzt & befindet sich in intensivmedizinischer Behandlung. Weitere Infos folgen— Polizei Berlin (@polizeiberlin) 26 июля 2016 г.
"I stood in front of the main entrance, when suddenly a lot of police approached. Heavily armed officers have secured all entrances," a witness told Der Tagesspiegel.
The hospital staff were asked to stay in their rooms and lock the doors. Around 20 firefighter, police and rescue vehicles have arrived at the scene. The place was cordoned off.
"The site at the Campus Benjamin Franklin in Steglitz is under control. Our colleagues are on the scene. There is no danger," the police said.
Germany has been on high alert following a string of attacks.
A Syrian national whose asylum application had been turned down and who was to be deported to Bulgaria after living in Germany for a year, detonated a bomb late on Sunday in the Bavarian city of Ansbach, killing himself and wounding 15 bystanders.
Earlier, an 18-year-old German-Iranian man Ali David Sonboly opened fire in a crowded Olympia shopping mall and a nearby McDonald's restaurant, killing nine people before committing suicide.