Sign up for our special edition newsletter to get a daily update on the coronavirus pandemic.

A total of 51 patients were transferred from Jamaica Hospital and Flushing Medical Center — including 10 to the Navy ship USNS Comfort — after the facilities reported that their oxygen distribution systems “were malfunctioning due to high demand,” the state Health Department said Thursday.

Jamaica Hospital transferred 32 patients, 10 of whom were sent to the Comfort, while Flushing Medical Center moved 19 patients, department spokesman Jonah Bruno told The Post.

“The New York State Department of Health worked closely with the Greater New York Hospital Association, New York City H+H, and New York City Emergency Management to immediately transfer 51 patients to other hospitals and medical facilities from Jamaica Hospital and Flushing Medical Center after they notified the Department that their bulk oxygen distribution systems were malfunctioning due to high demand,” he said in an email.

“The majority (21) of these patients were transferred to facilities in the New York City region,” he added.

Earlier Thursday, a spokesperson for New York City Emergency Management said that five of the patients from Jamaica Hospital had been sent to a hospital in Albany and two to the Manhattan VA Medical Center.

“On Tuesday evening the City responded to reports of an oxygen issue at Jamaica Hospital, in coordination with NYC Emergency Management, FDNY and the Health Department,” the rep said in an email.

“The move was a preventative measure for the safety of our patients,” hospital spokesman Michael Hinck told The Post, adding that “there no failure in the oxygen system.”

He added: “They were moved due to the high volume of patients who needed oxygen and according to the state’s guidance to balance the load.”

News about the transfers came after footage was posted on Twitter by a user who noticed a line of ambulances outside the hospital late Tuesday, according to Storyful.

The Comfort — which docked last week at Pier 90 on Manhattan’s West Side — had to restructure its treatment facility, allowing for only half the 1,000-bed capacity it normally would have under the new directive to treat patients with the deadly virus.

A Navy spokesman said Tuesday that “effective immediately,” the ship “will accept trauma, emergency and urgent care patients without regard to their COVID status.”