A medical official in the Somali capital , Mogadishu , says at least 17 people have been killed in fighting between Islamist militants and government forces .