Eine Vorrichtung zur nicht-invasiven Erfassung der Länge einer implantierbaren medizinischen Vorrichtung umfasst eine implantierbare medizinische Vorrichtung mit einem ersten und zweiten Abschnitt, die relativ zueinander bewegbar sind, und eine Schicht aus widerstandsfähigem Material, das auf einem der ersten und zweiten Abschnitte angeordnet ist. Auf dem anderen der ersten und zweiten Abschnitte ist ein Kontakt angeordnet, der mit der Schicht des widerstandsfähigen Materials bei einer relativen Bewegung zwischen dem ersten und zweiten Abschnitt in einem gleitenden Kontakt angeordnet ist. Eine Schaltung ist aufgebaut, um den elektrischen Widerstand entlang eines Weges einschließlich des variablen Längenbereichs der Schicht aus widerstandsfähigem Material und dem Kontakt messen. Der elektrische Widerstand kann dann in eine Länge umgewandelt wird.An apparatus for non-invasively detecting the length of an implantable medical device comprises an implantable medical device having first and second portions movable relative to one another and a layer of resilient material disposed on one of the first and second portions. Disposed on the other of the first and second portions is a contact disposed in sliding contact with the layer of resistive material in relative movement between the first and second portions. A circuit is constructed to measure the electrical resistance along a path including the variable length region of the layer of resistive material and the contact. The electrical resistance can then be converted into a length.