MediCube is a smart locker system enabling patients to collect their repeat chronic medication in under 2 minutes instead of waiting hours in queues. Pre-packed medication for a particular patient is loaded, the system then sends an SMS with a one-time-pin (OTP) to the patient. Authentication using the OTP and cellphone number opens the MediCube. The system allows record tracking and can be integrated into a patient records management system.