A patient has been taken to hospital after a fire sparked a care home evacuation and huge emergency response.