Provision of robotic knee system for dispensing medicine for outpatients