It appears the aircraft pushed and was in the line for departure when a passenger had a medical Event unrelated to heat. The crew initiated a return to the gate. Heat did not become excessive until the return. The rest of the event was at the gate with the option to deplane.