Not just medical. They are also used for inspecting mechanical parts. A boiler has to be inspected by ultrasound to ensure there are no hidden flaws that could cause it to explode. (along with x-rays and visual inspections. Maybe others, while steam engines are cool, the danger means I decided to not own one and I didn't research all the rules)