pharmacy function for supplies added