Electronic medical prescription and dispensation system