The Associated Press says a truck loaded with explosives apparently detonated prematurely near a hospital .