In the US, prescriptions with refills have a label on the bottle indicating how many refills left. I imagine in a recognized crisis, you would be able to get those refilled with little trouble, maybe even if it said zero refills as long as it was a drug typically used long term and not a drug commonly abused.
We don't do that. You just get a box and that's it.
However, paper prescriptions still exist and can be used in a pinch. I had a doctor write one out for me a few months ago. He did not have access to a computer but had a pad and his stamp on him.
Keep in mind that this electronic system came online a few years ago. Most doctors have issued paper prescriptions longer than electronic prescriptions.
It’s a bit dramatic to say that there is no way to get them to do it again if the need arose.
The prescription system itself could be compromised, in which case everyone in society would face the same issue (which would be mediated by the fact that paper prescriptions are still produced, and a pharmacist can telephone a prescribing surgery). Only a supply chain attack would really cripple the system.
In the USA, people can and do die because there's a financial barrier to accessing medicine. Not so in countries that care about people.
If the computers didn’t work, it would be incredibly painful in Germany because most pharmacies don’t regularly stock most prescription drugs. They’re often ordered from central warehouses on demand - i.e. if you walk in with a prescription for Xanax in the morning, you’ll typically need to come back in the afternoon to pick it up.
That ordering process is entirely digital. If you suddenly switched to paper forms, phone calls, and faxes, it’d be a nightmare.
An even more fun quirk is that because different pharmacies seem to use different distributors, you'll sometimes have to hop around until you find one whose distributor has whatever your medication is in stock. I once had to go to four different pharmacies in Mitte before I found one that could order Zolpidem.