In my ethics course during the phd program, I was told this was actually a good thing. Their example was pharma companies know how to use their drugs better so they get better results, more true results. If that was true, it's unfortunate it's not the pharma company that also handles treatments then. That course also said that software patents does not exist as a concept.
There are several problems here. One being you cannot train every nurse or everyone self-adminestering the medicin to be a professional in it. Which was the hidden assumption made in the course. So "test it exactly like that" does not really work.
Testing exactly for the results you expect is a good start to verify functionality, but you also need tests, that can bring up whatever, so you get a better view of the risk profile
But I'm not a pharmacist, so I'm just taking out of my ass anyway