An apparatus for selectively opening and closing a body lumen within a patients body is provided. The apparatus includes an elongate member and a shape memory element. The elongate member is configured to at least partially surround the body lumen and defines a lumen. The shape memory element is disposed of adjacent to the lumen defined by the elongate member. Further, the shape memory element is adapted to change its configuration based on a change in temperature. These changes in the configuration of the shape memory element causes selective the apparatus to move between a first configuration and a second configuration.