BEIJING (AP) — The death toll in mainland China’s new virus outbreak has risen to 636, including a doctor who got in trouble with authorities in the communist country for sounding an early warning about the disease threat. Dr. Li Wenliang, 34, was reportedly reprimanded for “spreading rumors” in late December. Meanwhile, a newborn discovered infected 36 hours after birth has become the youngest known patient. The number of people infected globally has risen to more than 31,000. Li had worked at a hospital in the epicenter of the outbreak in the central city of Wuhan. He was reprimanded by local police for “spreading rumors” about the illness in late December, according to news reports. The outbreak has spread to some two dozen countries, triggering travel restrictions and quarantines around the world and a crisis inside the country of 1.4 billion. The World Health Organization tweeted: “We are deeply saddened by the passing of Dr Li Wenliang. We all need to celebrate work that he did” on the virus. Within a half-hour of announcing earlier Friday that Li was in critical condition, the hospital received nearly 500,000 comments on its social media post, many of them from people hoping Li would pull through. One wrote: “We are not going to bed. We are here waiting for a miracle.” Li was among a number of medical professionals in Wuhan who tried to warn colleagues and others when the government did not, The New York Times reported earlier this week. It said that after the mystery illness had stricken seven patients at a hospital, Li said of them in an online chat group Dec. 30: “Quarantined in the emergency department.” Another participant in the chat responded by wondering, “Is SARS coming again?” — a reference to the 2002-03 viral outbreak that killed hundreds, the newspaper said. Wuhan health officials summoned Li in the middle of the night to demand he explain why he shared the information, and police later forced him to sign a statement admitting to “illegal behavior,” the Times said. “If the officials had disclosed information about the epidemic earlier,” Li said in an interview in the Times via text messages, “I think it would have been a lot better. There should be more openness and transparency.” A baby born last Saturday in Wuhan and confirmed positive just 36 hours after birth became the youngest known person infected with the virus, authorities said. But precisely how the child became infected was unclear. “The baby was immediately separated from the mother after the birth and has been under artificial feeding. There was no close contact with the parents, yet it was diagnosed with the disease,” Zeng Lingkong, director of neonatal diseases at Wuhan Children’s Hospital, told Chinese TV. Zeng said other infected mothers have given birth to babies who tested negative, so it is not yet known if the virus can be transmitted in the womb. China finished building a second new hospital Thursday to isolate and treat patients — a 1,500-bed center in Wuhan. Earlier this week, another rapidly constructed, 1,000-bed hospital in Wuhan with prefabricated wards and isolation rooms began taking patients. Authorities also moved people with milder symptoms into makeshift hospitals at sports arenas, exhibition halls and other public spaces.