Activity based costing of medication to the individual in the public