set up medication retrieval method