Sorry but this is just a rant. If you want to post some details I am sure you will get a lively debate, but there is nothing to say to this.
How do you know the tests are unnecessary? And how is a magistrate (who is not even legally qualified let alone medically qualified) going to decide on the risk of a particular medical issue and the need to pull a medical? Magistrates deal with criminal law!!!
The medical profession is no better or worse than any other but your brush is too broad