Handpiece assembly for medical device, comprising a handpiece for medical device, comprising a handpiece distal portion adapted to receive by insertion an insert assembly comprising a radiofrequency identifier, an insert antenna and an insert adapted to interact with a part of a patient's body, wherein said handpiece assembly for medical device further comprises a handpiece antenna, arranged in the handpiece distal portion, and radiofrequency signal supply means, configured to provide the handpiece antenna with a radiofrequency signal adapted to be transmitted by the handpiece antenna, said handpiece antenna being configured to wirelessly communicate with the insert antenna, when said insert assembly is inserted into the handpiece in an insertion region comprised in the handpiece distal portion, said handpiece antenna being a loop antenna or segmented ring antenna comprising: - at least two handpiece antenna segments (S1, S2), electrically arranged in series, wherein a first end of a first segment of said at least two handpiece antenna segments is operatively connected to a first terminal of said radiofrequency signal supply means, and a second end of a last segment of said at least two handpiece antenna segments is operatively connected to a second terminal of said radiofrequency signal supply means, so as to form, around said insertion region, a coil radiating structure configured to generate in said insertion region an electromagnetic field with a radiofrequency dependent on said radiofrequency signal, each of said at least two handpiece antenna segments comprising a radiant metal element (S11, S21), characterized in that the radiant metal element (S11, S21) has a respective inductance, electrically connected in series to a capacitive element (S12, S22), having a capacitance such as to compensate for effects due to the inductance of the radiant metal element on currents circulating in the coil of the handpiece antenna. wherein said handpiece assembly for medical device further comprises a handpiece antenna, arranged in the handpiece distal portion, and radiofrequency signal supply means, configured to provide the handpiece antenna with a radiofrequency signal adapted to be transmitted by the handpiece antenna, said handpiece antenna being configured to wirelessly communicate with the insert antenna, when said insert assembly is inserted into the handpiece in an insertion region comprised in the handpiece distal portion, said handpiece antenna being a loop antenna or segmented ring antenna comprising: - at least two handpiece antenna segments (S1, S2), electrically arranged in series, wherein a first end of a first segment of said at least two handpiece antenna segments is operatively connected to a first terminal of said radiofrequency signal supply means, and a second end of a last segment of said at least two handpiece antenna segments is operatively connected to a second terminal of said radiofrequency signal supply means, so as to form, around said insertion region, a coil radiating structure configured to generate in said insertion region an electromagnetic field with a radiofrequency dependent on said radiofrequency signal, - at least two handpiece antenna segments (S1, S2), electrically arranged in series, wherein a first end of a first segment of said at least two handpiece antenna segments is operatively connected to a first terminal of said radiofrequency signal supply means, and a second end of a last segment of said at least two handpiece antenna segments is operatively connected to a second terminal of said radiofrequency signal supply means, so as to form, around said insertion region, a coil radiating structure configured to generate in said insertion region an electromagnetic field with a radiofrequency dependent on said radiofrequency signal, each of said at least two handpiece antenna segments comprising a radiant metal element (S11, S21), characterized in that the radiant metal element (S11, S21) has a respective inductance, electrically connected in series to a capacitive element (S12, S22), having a capacitance such as to compensate for effects due to the inductance of the radiant metal element on currents circulating in the coil of the handpiece antenna.