I presume it was an emergency...
"
Patients requiring emergency care and entering Queensland via ambulance, aeromedical retrieval or formal interstate hospital transfer will not be subject to the border requirements on the next page"
https://www.health.qld.gov.au/__data...strictions.pdf