A new type of “smart pill” designed to confirm when medications are actually swallowed could one day help doctors better ...