Making drug stock management configurable