An integrated metal detector-portable medical device adapted to identify metals in a human body, where the metal detector is in connection with the portable medical device. The metal detector includes: at least one transmitting means adapted to generate a second magnetic field so as to induce a magnetic field generated by a metal at least one sensor adapted to detect a magnetic field generated by the metals to be detected and at least one signaling means adapted, upon detection of a magnetic field, to alert the identification of metals, if the intensity of a magnetic field is above a predetermined value.