This file photo shows people wearing face masks seen in central Warsaw, Poland on Nov 7, 2020. (PHOTO / XINHUA)

WARSAW – Polish Prime Minister Mateusz Morawiecki said on Tuesday that he has accepted the resignation of Health Minister Adam Niedzielski who provoked outrage by disclosing sensitive information about a doctor.

On Thursday, Poland's private broadcaster screened footage about patients in the middle-eastern city of Poznan being unable to receive painkillers due to new prescription regulations.

READ MORE: Poland, Hungary ban grain and food imports from Ukraine

A doctor commenting on the situation said he was unable to prescribe the necessary medication.

READ MORE: Defense minister: Poland broke up spy network

Niedzielski later published the doctor's personal data on social media, along with claims that he had prescribed the restricted medication in his own name.

The doctor then issued a legal notice on Monday demanding an apology and a payment of 100,000 zloty ($24,600) by Niedzielski, reported local media.