BANGKOK: A Thai court on Wednesday jailed a former engineer for 27 years for planting a pipe bomb in an army-run hospital, a rare violent kickback against the junta which has ruled for over three years. At least 21 people were injured ? one seriously ? when the nail-filled device detonated in the waiting room of King Mongkut hospital in Bangkok on May 22.