Record number of A&E patients caused by the heatweave