added validation on consumer_medication