A drug delivery device comprises a reservoir holding a given type of drug, a drug outlet, and a coding structure. A cap is adapted to be releasably secured to the drug delivery device to cover the drug outlet, the cap comprising a feedback structure adapted to engage the coding structure when the cap is removed from the drug delivery device. The cap comprises a housing with a wall opening and a clip portion having a free end with a protrusion protruding through the opening. The protrusion is configured to engage the coding structure of the drug delivery device to thereby generate a tactile and/or audible feedback pattern when the cap is removed from and/or secured to the drug delivery device.Un distributeur de médicament comprend un réservoir, une sortie de médicaments et une structure de codage. Un capuchon est fixé au distributeur pour recouvrir la sortie de médicaments. Le capuchon comprend une structure de rétroaction conçue pour sattacher à la structure de codage lorsque le capuchon est retiré du distributeur. Le capuchon comprend un boîtier avec une ouverture et une pince ayant une extrémité libre faisant saillie à travers louverture. La saillie est configurée pour venir entrer en contacte avec la structure de codage du distributeur de médicaments, afin de générer un motif de rétroaction tactile, et/ou audible, lorsque le capuchon est retiré, et/ou fixé, au distributeur de médicaments.