The invention relates to a novel medical apparatus for treatment of obesity, diabetes, and/or other obesity-associated health problems. The apparatus is used to impede absorption of nutrients within the gastrointestinal tract, i.e., substantially isolating nutrients from a portion of the gastrointestinal tract. The apparatus can be implanted using minimally invasive techniques, such a transesophageal approach under visualization. More specifically, the apparatus is used to impede absorption of nutrients within the gastrointestinal tract, i.e., substantially isolating nutrients from a portion of the gastrointestinal tract. The apparatus may include a sleeve and at least one anchoring component attached to the sleeve with a releasable component. The sleeve may have different properties along its length or there may be multiple sleeves having different properties.