COVID-19 pandemic in Shanghai  The COVID-19 pandemic reached the city of Shanghai, China on 20 January 2020. , 433 confirmed cases cumulatively occurred in the city, including 94 cases imported from abroad. Of the 98 active hospitalized cases ending at midnight, 90 were in stable condition, 6 were in critical condition, and 2 were in severe condition; 330 had recovered and been discharged, and 5 died. On 24 January, Shanghai announced the initiation of Level 1 Response for major public health emergency. On 21 January, Shanghai announces the suspension of local live poultry trading. On 25 January, Shanghai announced a 14-day quarantine and medical observation for arrivals from key areas of Hubei. United Daily News reported that on January 22, a customer in Shanghai waited in line at a pharmacy for nearly an hour to limit the purchase of a pack of masks, which were sold out in 30 minutes. On 31 January, Shanghai Municipal Government announced that from February 2, citizens can make registration appointments at designated places in each residence (village), and then purchase face masks at designated drugstores. 5 masks can be purchased per household, limited to one purchase by appointment only. From 31 January, all persons entering Shanghai are required to complete a health registration. As of February 10, most of the 13,000 residential quarters in Shanghai had implemented "closed management" and adopted entrance and exit management measures, including: strictly controlling the number of entrances and exits in the neighbourhood, strengthening the staffing of gatekeepers, and achieving staffing Entering must ask, register, and measure temperature. If the body temperature is abnormal, it will be reported and transferred in time according to the established "full chain disposal mechanism"  From February 10, authorities have decided to temporarily suspend the entry of persons who have no place of residence in Shanghai and do not have a clear job during the epidemic prevention and control period. On February 17, the “On-Demand Code” (随申办, "suíshēnbàn"), developed on the basis of “On-Demand Application” (mobile terminal run by Shanghai One Netcom), was officially launched online, with a three-colour dynamic management scheme of green, yellow and red. The scope of the pilot application included multiple scenarios such as offline parks, streets and towns. On March 3, Shanghai allowed logistics personnel, service personnel, maintenance personnel of public utilities, and courier personnel to enter communities if they showed a green "On-Demand Code", normal body temperature measurement, registration, and received residents' consent.