Added code for Arduino to be called and fixed the logic for medicine requested when it isn't available
merged in run on arduino method