(CNN)-- The FDA approved its first digital drug.
The pill has a built-in tracking device that lets your doctor know when you've swallowed it.
Each pill has an embedded ingestible sensor that records when the medication is taken.
The sensor is activated when it comes into contact with fluids in your stomach.
When it activates, it sends a message to a patch worn on your skin.
The patch then records the date and time the tablet was detected in the stomach.
The sensor is digested and eliminated from the body.