Tell that to the California Department of Heath Care Services...and the 49 other states who have similar regulations and regulatory agencies in place.
Lyft/Uber giving rides to people in no way means or suggests those rides are legal. And there is a differnce between non-emergency transportation and emergency transportation...but it is all highly regulated. Still doctors and drivers should both know these laws that affect them directly. If a doctor is dumb enough to put an employee with a workplace injury in a rideshare, the onus is on the driver to deny the ride and tell the rider they are licensed/insured to take a patient to the ER and they should call 911...that doesn’t happen because ride share drivers are not professional drivers who actually know the laws that regulate them.