You are still free to take a taxi. If the medical practitioner says "we are getting you an ambulance" you can refuse and make your own way to the hospital. That is entirely legal.
However, the medical practitioner themselves cannot tell you to take an Uber to the hospital. Which is sensible.