A fed-up Queensland doctor has taken the extraordinary step of blowing the whistle on bed shortages and patient safety concerns plaguing his hospital and others.