Provision of robotic knee system for dispensing medicine for inpatients