@consumer.device_id was not working while searchmedication on add_medication page