Pharmaceutical calculation and pricing