A medical device and a method for controlling flow through a bodily lumen are provided. The medical device includes a valve device positioned within the bodily lumen. The valve device includes a movable member movable within the bodily lumen and a magnetic portion operably connected to the movable member to facilitate positioning the movable member in a first configuration. The magnetic portion has a magnetic attraction to another magnetic portion or a portion of the valve device having a charge opposite a charge of the magnetic portion. The valve device is movable from the first configuration substantially closing the bodily lumen in the presence of a first pressure within the bodily lumen to a second configuration in response to a second pressure that is greater than the first pressure. The valve device is open in the second configuration and the movable member is normally positioned in the first configuration.