Dr Li Wenliang is being mourned as a "hero who was willing to speak the truth" after the ophthalmologist died of the virus he warned about at the age of 34.
Despite earlier conflicting reports, the Wuhan hospital where Li worked has now confirmed in a statement on its official Weibo account that
He publicly revealed he had tested positive for the coronavirus in a Weibo post on 1 February.
The doctor was taken to hospital for the illness after he caught it from a patient.
Dr Li initially raised the alarm about the disease when he posted a message on WeChat to communicate with a group of doctors that he had received positive test results for a "SARs-like" coronavirus from a patient.
He posted that seven cases of this virus had been linked to a seafood market in Wuhan.
For that action he was rebuked by the Wuhan police bureau, which sent him a letter on 3 January, accusing him of rumour-mongering.
"[You have] severely disrupted social order," the letter read.
He was asked to sign a letter to stop his actions or face criminal charges.
Hashtags calling for a government apology and freedom of speech trended on Weibo in the wake of news of his death, before being deleted by censors.
Other supporters recalled the doctor's quote about free speech: "A healthy society should not have only one voice."
Others said the wall-to-wall coverage on China's state-owned media should provoke debate on human rights in the country, with some referencing the 2017 death in custody of Nobel Peace laureate Liu Xiaobo.
Attempts to use the doctor's name in hashtags on Weibo were blocked by censors.
Those in the medical community also posted words of tribute.
Virologist Brian Hjelle paid tribute to those "on the front line [who] often pay with their lives".
A physician calling himself @pourteaux on Twitter said he couldn't think of a better role model than Dr Li, adding that he hoped the doctor's death was not in vain.
WHO official Dr Mike Ryan responded to early reports of Dr Li's death, saying his work needed to be celebrated.
Artists also posted portraits on social media in honour of his memory.
Chinese Australian Badiucao posted a series of portraits with the message: "RIP doc, you are a hero!".
Some Chinese media outlets described him as a "hero who was willing to speak the truth", while another Weibo commentator said "light a candle and pay tribute to the hero".
"You were the beam of light in the night," they posted.
Responding to growing anger at the initial delay in revealing the coronavirus, China's Supreme Court criticised Wuhan police for their actions against the so-called rumour-mongers.
"It might have been a fortunate thing for containing the new coronavirus, if the public had listened to this 'rumour' at the time, and adopted measures such as wearing masks, strict disinfection and avoiding going to the wildlife market," the Supreme Court statement said.
Wuhan officials first declared the outbreak on 30 December, with the World Health Organisation notified the next day.
This was weeks after the first cases from 12 December, which happened during the 10-days of meetings with top municipal and provincial officials in Wuhan, ending on 17 January. Media were told to report only what was on the Communist Party's official channels.
Wuhan mayor Zhou Xianwang admitted in an interview on 27 January that local officials did not reveal information "in a timely fashion".
He said approval from State Council needed to be granted before official announcements are made.
"For the late disclosure, I hope everyone can understand that this is an infectious disease, and relevant information has special channels to be disclosed in accordance with law," he said on CCTV.
The official Chinese death toll from the coronavirus outbreak has increased to 636, with more than 30,000 people infected.
The WHO said outside China, there are 225 cases in 24 countries, with one death.