Add function to track drug consumption.