A diabetes management system comprising: a data management unit (300) that includes: a memory (340); a processor (338) coupled to memory; a screen (314) coupled to the processor; a transceiver (346) to receive and transmit data; and a radiofrequency identification reader (157); and a drug delivery pen (100) comprising: a pen housing extending from a first end (112) to a second end (113) along a longitudinal axis (LI), the housing being coupled to a drug cartridge (150) disposed near one of the first and second ends, the pen housing having a dosage indicator window and a dosage selector (104) coupled to the piston rod (154), the cartridge drug comprising insulin; a memory (168); a processor (170) coupled to memory; an inertial sensor (170) disposed in the pen housing and in communication with the processor; a radiofrequency identification tag (155) attached to the drug cartridge and configured to store data selected from a group that includes a type of insulin in the cartridge, volume of drug in the cartridge, expiration date, lot date, number of lot, manufacturer identification or combinations thereof; and where the radiofrequency identification reader is configured to consult the RFID tag to determine the type of insulin in the drug cartridge, and the inertial sensor is configured to determine if the user is performing the appropriate mixing technique for the type of determined insulin before injecting insulin.Un sistema de gestión de la diabetes que comprende: una unidad de gestión de datos (300) que incluye: una memoria (340); un procesador (338) acoplado a la memoria; una pantalla (314) acoplada al procesador; un transceptor (346) para recibir y transmitir datos; y un lector de identificación por radiofrecuencia (157); y una pluma de administración de fármacos (100) que comprende: un carcasa de la pluma que se extiende desde un primer extremo (112) hasta un segundo extremo (113) a lo largo de un eje longitudinal (LI), la carcasa estando acoplada a un cartucho de