The principle of the MEMS® technology consists in the incorporation of a micro-circuitry into pharmaceutical packages of various designs (pharmacy bottle, blister, inhaler, eye drops dispenser, etc.) such that the maneuvers needed to remove a dose of drug is detected in real time and time stamped, resulting in dosing history data.