Bosses who declared a critical incident at a hospital due to a sudden “high demand” for its services have thanked the community for its support.