An intelligent medication dispenser provides automated dispensing of medication for personal use by a patient. The intelligent medication dispenser automatically detects and sorts refill medication and checks the accuracy of dispensed medication doses. The intelligent medication dispenser further enables direct communication between the patient and other stakeholders in the medical care process.