Nothing fancy. I had a list of about forty domains I had collected and no patience to look each one up by hand, so I wrote a small script that searches the national register for the pharmacy name and returns whether there is a row and whether the status is active.
Caveats, because someone will ask: it only works where the register exposes a search endpoint, it breaks whenever they change the HTML, and it cannot tell you whether the name on the site is the legal entity or a trading name. It is a filter, not a verdict.
Happy to post the approach if anyone wants it. Not posting the file, it is twenty lines of Python and half of them are asleep.
This is the correct amount of engineering for the problem. Manual checking is where people give up.
Please post the approach, I would use it.
Will do a proper writeup this week. The short version is: fetch the search page, post the name, parse the result table, check for the word active.