A baby was delivered on a stretcher as hospital staff assisted the mother, moments after tremors forced an evacuation.