Patent attributes
The medication container includes a receptacle that has an inner space for holding medications. The cap assembly is coupled with the receptacle for retaining the medications in the inner space. The cap assembly includes at least one passage that can be selectively opened and closed and includes at least one medication sensor that is configured to detect any medications travelling through the passage and out of the receptacle in a contactless manner. A microprocessor is in electrical communication with the at least one medication sensor and with a memory. The microprocessor is configured to record data to the memory in response to the at least one medication sensor detecting a medication travelling through the passage. A wireless module is in electrical communication with the microprocessor for uploading the data to an external device.