Recommending the duration of prescribed drugs when the duration selected and the current stock do not match