Tens of thousands of people were injured in the massive quake , and Pakistani and international medical teams have been struggling to treat them .