SmartCover is an electronic monitoring system to be used with a pill container (bottle, flask) that compiles the dosing histories of patients prescribed with oral medications. It is the best solution to increase the success in monitoring medication adherence by the patients. The addition of an electronic validation, and the integrated visual alerts, facilitates the monitoring and helps patients to remember to take their medicine. The SmartCover can measure the time at which the package was open, registering the information online for easy access and processing of the information. It can then be reported to the caregiver or company conducting medical studies for further analysis.