In Spain, you can’t just open a pharmacy, in the same way as you can’t just open one in the uk. A licence needs to be issued to allow the opening.
In Spain, only individual pharmacists can own and run retail pharmacies. Retail pharmacies must be in possession of an authorisation granted by the appropriate authority in the autonomous region where the pharmacy is located, which is issued according to a quota system based on geographic location and population.
I know a few years ago pharmacy’s in Spain were having to wait months for the authorities to pay them for medicines they had dispensed, they also drastically reduced the tariff they paid, as in the UK, dramatically effecting the profitability of running a pharmacy
Regards all
John