A flexible drug delivery chip for the magnetically-controlled release of anti-epileptic drugs.